How do I make an Add to Cursor button for my MCP server?+
Cursor's link is cursor://anysphere.cursor-deeplink/mcp/install with two parameters: name, the server's name, and config, the server's entry from mcp.json (command, args and env, or url and headers) as JSON, base64 encoded, with no mcpServers around it. Paste the server's settings into the generator and it writes the link, the https form for a README and the button that carries it.
How do I make an Add to VS Code button for an MCP server?+
VS Code opens vscode:mcp/install followed by the server's entry as URL-encoded JSON, with its name and, for each secret, an input that VS Code asks for once and keeps. On a web page or a README, use the https form, vscode.dev/redirect/mcp/install, which passes name, inputs and config on to the app. VS Code refuses a link whose settings run a command variable.
Why doesn't my cursor:// link work in a GitHub README?+
GitHub removes links to cursor: and vscode: from a README, so a button pointing at them does nothing there. The generator's README buttons use cursor.com/install-mcp and vscode.dev/redirect/mcp/install instead, which open the same links in the app.
How do I keep an API key out of an install link?+
Write it as a variable, such as $GITHUB_PAT. Cursor then reads ${env:NAME} from the environment it was started in, and VS Code asks for the value once and stores it, so no key sits in the link. A key you paste as it is ends up inside the link for anyone who opens it.
Does an install link add a server without asking?+
No. Both apps show the server's settings and ask before they add it, and nothing runs until you agree. Read the command before you do: an install link can start any program on your machine.
Can an install link put approval in front of the server?+
Tick the proxy box. Each link then starts the server through the VariantGate MCP proxy, which holds every tool call until a person approves it in the inbox, on their phone or in Slack. Whoever installs it runs the login command once to save a key. A remote server has no command to start, so its links stay as they were.