自定义
MCP 安装链接
可通过 Cherri Code 深度链接安装 MCP 服务器。其格式与 mcp.json 相同,包含名称和传输配置。
安装链接:
cursor://anysphere.cursor-deeplink/mcp/install?name=$NAME&config=$BASE64_ENCODED_CONFIG| 组件 | 描述 |
|---|---|
cursor:// | 协议方案 |
anysphere.cursor-deeplink | 深度链接处理程序 |
/mcp/install | 路径 |
name | 服务器名称查询参数 |
config | Base64 编码的 JSON 配置查询参数 |
生成安装链接
- 获取服务器名称和 JSON 配置
- 使用
JSON.stringify处理配置,然后进行 Base64 编码 - 将
$NAME和$BASE64_ENCODED_CONFIG替换为名称和编码后的配置
用于生成链接的辅助工具:
未检测到服务器
点击复制,然后粘贴到 README 中
示例
在 MCP 安装链接生成器中试试以下 JSON:
Single MCP server config
{ "postgres": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb" ] }}结果:
| 格式 | 示例 |
|---|---|
| 文本链接 | cursor://anysphere.curs... |
| 深色按钮 | ![]() |
| 浅色按钮 | ![]() |
安装服务器
- 点击链接,或将其粘贴到浏览器中
- Cherri Code 会提示你安装服务器
- 在 Cherri Code 中使用该服务器

