Customize

MCP install links

View as Markdown

Looking to share MCP servers, rules, and more? Plugins make it easier to bundle and distribute everything in one package. You can publish to the Grok Build Marketplace or your team's private marketplace.

MCP servers can be installed with Grok Build deeplinks. It uses the same format as mcp.json with a name and transport configuration.

Install links:

Text

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 server name
configQuery parameter for base64 encoded JSON configuration
  1. Get name and JSON configuration of server
  2. JSON.stringify the configuration then base64 encode it
  3. Replace $NAME and $BASE64_ENCODED_CONFIG with the name and encoded config

Base64-encode the configuration with btoa(JSON.stringify(config)) in a browser, or base64 -w0 on the command line, then URL-encode the result before putting it in the config parameter.

Example

Try this JSON in the MCP install link generator:

Single MCP server config

JSON

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

The result is a link you can put in a README or a docs page:

FormatExample
Text linkcursor://anysphere.curs...

Install server

  1. Click the link or paste into browser
  2. Grok Build prompts to install the server
  3. Use the server in Grok Build

Last updated: November 23, 2026