MCP "Add to Cursor" deeplink always uses name=server instead of the .mcp.json key
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- developer-experience
Research direction
Read apps/cursor/src/lib/github-plugin/parse.ts and apps/cursor/src/components/plugins/detail/mcp-section.tsx, especially resolveMcpConfig and the call that supplies the component name. Use the provided .mcp.json shape to check how the server key reaches the Cursor deeplink. Done means each server's install link uses its own .mcp.json key, including when a plugin has multiple servers.
Written by the indexing model from the issue text.
Description
What happens: on a plugin detail page, the "Add to Cursor" button for an MCP server installs it under the name server instead of the key from the repo's .mcp.json. If a plugin has two servers, both buttons use name=server, so installing both collides.
Example: https://cursor.directory/plugins/financialfilings-mcp. Our .mcp.json is the standard shape:
{ "mcpServers": { "financialfilings": { "type": "http", "url": "https://mcp.financialfilings.com/mcp" } } }
The button links to cursor://anysphere.cursor-deeplink/mcp/install?name=server&config=....
Cause:
apps/cursor/src/lib/github-plugin/parse.ts: the scanner unwrapsmcpServers, stores each server's inner config ascontent, and keeps the key only in the component'sname.metadatahas noname.apps/cursor/src/components/plugins/detail/mcp-section.tsx, inresolveMcpConfig:contenttherefore has nomcpServerswrapper, so it falls through toreturn { name: (meta?.name as string) ?? "server", config: parsed }, and the name is always"server".
Suggested fix: pass the component's name into resolveMcpConfig and use it before the "server" fallback, e.g. name: (meta?.name as string) ?? mcp.name ?? "server". Or store name in metadata at parse time.
- Dominant language
- TypeScript
- Stars
- 4k
- Forks
- 668
- Avg merge
- 5h 2m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cursor/community-plugins
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
cursor/community-plugins#465 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
cursor/community-plugins#425 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cursor/community-plugins#423 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cursor/community-plugins#421 · 1 comment ·
Maintainers usually reply within 1 day
-
MCP server installation doesn't take name into accountPossibly taken @deanrie claimed this 7 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cursor/community-plugins#416 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in cursor/community-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
db-ux-design-system/core-web#8613 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug:new
Difficulty 1/5 Under an hour Newbie friendliness 78/100
callstackincubator/simlock#934 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gchq/LD-Explorer#286 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
foxglove/mcap#1907 · 1 comment ·
Maintainers usually reply within 1 day