docs: pin mcp.json vs .mcp.json for dual Cursor + Claude Code plugins - #312
Draft
Dahhrk wants to merge 2 commits into
Draft
docs: pin mcp.json vs .mcp.json for dual Cursor + Claude Code plugins#312Dahhrk wants to merge 2 commits into
Dahhrk wants to merge 2 commits into
Conversation
- review-plugin-submission: add MCP filename precedence section documenting that mcp.json wins for Cursor, .mcp.json is Claude Code's default, and mcpServers pin overrides both. Add checklist item for dual-file repos. - create-plugin-scaffold: add step 6 with MCP filename guidance — create mcp.json (not .mcp.json) for Cursor, pin mcpServers if the repo also ships .mcp.json for Claude Code. - README: annotate mcp.json in the repo structure as Cursor default. Fixes cursor#252 Co-authored-by: Dark <Dahhrk@users.noreply.github.com>
Review feedback: do not assert which file Cursor loads when both mcp.json and .mcp.json exist — issue cursor#252 shows the clone started .mcp.json, so the runtime behavior is not documented. - Rewrite 'MCP filename precedence' → 'MCP filename handling' - Remove 'Cursor loads mcp.json', 'not auto-discovered', 'never falls back', 'never loads the wrong one' - Keep: mcpServers pin in plugin.json, dual-file trap warning, single-shared-file alternative, checklist item Co-authored-by: Dark <Dahhrk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Warn dual Cursor + Claude Code authors: shipping both
mcp.jsonand.mcp.jsonwith different payloads can make a Marketplace clone start the wrong server. PinmcpServersinplugin.jsonto the intended file.Does not claim Cursor auto-picks
mcp.jsonwhen both exist. Issue #252 observed the clone starting.mcp.json.Fixes #252
Changes
create-plugin/skills/review-plugin-submission/SKILL.md— dual-file trap, pinmcpServersto control which file is used, checklist itemcreate-plugin/skills/create-plugin-scaffold/SKILL.md— scaffoldmcp.json; if.mcp.jsonalso ships, pinmcpServersREADME.md— annotatemcp.jsonas the documented Cursor default filenameNo runtime loader, schema, or validator changes.