Skip to content

fix(manifest): make commands/mcpServers paths plugin-root-relative - #25

Open
Bryan Thompson (bryan-anthropic) wants to merge 2 commits into
confluentinc:mainfrom
bryan-anthropic:fix/plugin-manifest-paths
Open

fix(manifest): make commands/mcpServers paths plugin-root-relative#25
Bryan Thompson (bryan-anthropic) wants to merge 2 commits into
confluentinc:mainfrom
bryan-anthropic:fix/plugin-manifest-paths

Conversation

@bryan-anthropic

Copy link
Copy Markdown

Hi — while preparing this plugin for Claude marketplace listing, we observed that claude plugin validate rejects the current manifest: commands: "../.claude/commands" and mcpServers: "../.mcp.json" are interpreted relative to the plugin root (the repository root), not the .claude-plugin/ directory, and the leading ../ trips the CLI's path-traversal guard.

This PR makes both paths plugin-root-relative (./.claude/commands, ./.mcp.json); claude plugin validate passes after the change.

One additional observation, not addressed in this PR: .mcp.json launches node dist/index.js, but dist/ is gitignored, so a fresh plugin install has no built server to run. Committing the built output or pointing the server entry at a published package (e.g. via npx) would let the MCP server start on install.

🤖 Generated with Claude Code

@confluent-cla-assistant

confluent-cla-assistant Bot commented Aug 6, 2026

Copy link
Copy Markdown

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ bryan-anthropic
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

claude plugin validate rejects the leading ../ forms (path-traversal
guard); manifest paths resolve from the plugin root, not .claude-plugin/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant