Skip to content

Fix Cursor one-click install link#31

Merged
phoenixy1 merged 1 commit into
mainfrom
ah-fix-cursor-install-link
May 19, 2026
Merged

Fix Cursor one-click install link#31
phoenixy1 merged 1 commit into
mainfrom
ah-fix-cursor-install-link

Conversation

@phoenixy1
Copy link
Copy Markdown
Contributor

@phoenixy1 phoenixy1 commented May 19, 2026

The "Add to Cursor" button in sandbox/README.md was silently failing because the base64-encoded config used the wrong shape.

Decoded before:

{"command":"uvx mcp-server-plaid","env":{"PLAID_CLIENT_ID":"ADD_YOUR_CLIENT_ID","PLAID_SECRET":"ADD_YOUR_API_SECRET"}}

Decoded after:

{"command":"uvx","args":["mcp-server-plaid"],"env":{"PLAID_CLIENT_ID":"ADD_YOUR_CLIENT_ID","PLAID_SECRET":"ADD_YOUR_API_SECRET"}}

Cursor's install-mcp link expects command to be just the executable, with arguments in a separate args array (same shape as mcp.json). Concatenating them into the command string makes Cursor try to spawn "uvx mcp-server-plaid" as a single binary, which fails.

Refs: https://cursor.com/docs/context/mcp/install-links

Test plan

  • Click the badge on the rendered README and confirm Cursor opens the install dialog with the correct command/args populated
  • After install, replace the ADD_YOUR_* placeholders and verify the server starts

🤖 Generated with Claude Code

Claude Session: 80ee54fa-3880-4c3c-b81d-9bf74c3adb2c

The base64-encoded config embedded `mcp-server-plaid` into the `command`
string. Cursor expects `command` to be the executable only, with arguments
in a separate `args` array (per the mcp.json schema), so the install was
silently failing.

Decoded before:  {"command":"uvx mcp-server-plaid","env":{...}}
Decoded after:   {"command":"uvx","args":["mcp-server-plaid"],"env":{...}}

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@phoenixy1 phoenixy1 marked this pull request as ready for review May 19, 2026 05:52
@phoenixy1 phoenixy1 merged commit f31e8ff into main May 19, 2026
1 check passed
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