Customize
MCP install links
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
| Component | Description |
|---|---|
cursor:// | Protocol scheme |
anysphere.cursor-deeplink | Deeplink handler |
/mcp/install | Path |
name | Query parameter for server name |
config | Query parameter for base64 encoded JSON configuration |
Generate install link
- Get name and JSON configuration of server
JSON.stringifythe configuration then base64 encode it- Replace
$NAMEand$BASE64_ENCODED_CONFIGwith 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:
| Format | Example |
|---|---|
| Text link | cursor://anysphere.curs... |
Install server
- Click the link or paste into browser
- Grok Build prompts to install the server
- Use the server in Grok Build
Last updated: November 23, 2026