MCP

MCP servers can be installed with Cursor deeplinks. It builds on the same format as mcp.json with a name and transport configuration.

Install links look like this:

cursor://anysphere.cursor-deeplink/mcp/install?name=$NAME&config=$BASE64_ENCODED_CONFIG
ComponentDescription
cursor://Protocol scheme
anysphere.cursor-deeplinkDeeplink handler
/mcp/installPath
nameQuery parameter for the server name
configQuery parameter for base64 encoded JSON configuration
  1. Get name and JSON configuration of server
  2. JSON.stringify the configuration and then base64 encode it
  3. Replace $NAME and $BASE64_ENCODED_CONFIG with the name and base64 encoded config

Here’s a helper for generating the link:

Example

Try copying and pasting this JSON into the MCP install link generator:

Single MCP server config
{
  "postgres": {
    "command": "npx",
    "args": [
      "-y",
      "@modelcontextprotocol/server-postgres",
      "postgresql://localhost/mydb"
    ]
  }
}

Which becomes:

FormatExample
Text linkcursor://anysphere.curs…
Dark buttonAdd postgres MCP server to Cursor
Light buttonAdd postgres MCP server to Cursor

Install server

  1. Click the link or paste into a browser
  2. Cursor will prompt you to install the server
  3. Once installed, you can use the server in Cursor

BugBot

Fix in Cursor links in BugBot comments will open Cursor with a the file and issue description pre-filled. These types of links are only available in BugBot comments.