fix: move mcp_servers to metadata.json to prevent silent plugin.json rejection #431
Reference in New Issue
Block a user
Delete Branch "fix/mcp-servers-metadata-json"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
metadata.jsonfiles for 8 plugins that need MCP server dependenciesmetadata.jsoninstead ofplugin.jsonswitch-profile.shafter profile switchesProblem
Claude Code's strict schema validation silently rejects plugins with unknown root-level fields in
plugin.json(anthropics/claude-code#20409). This was causing skills to not register with zero error output.Solution
Moved
mcp_serversfield to separatemetadata.jsonfiles that Claude Code's schema validator ignores.Test plan
plugin.jsonfiles havemcp_serversfieldmetadata.jsonfiles createdvalidate-marketplace.sh- passedverify-hooks.sh- passed🤖 Generated with Claude Code