支持 MCP 协议的客户端(如:Cursor、Claude、Cline)可方便使用搜索 MCP server。目前仅支持 Node.js I/O 接入方式。本篇文章介绍如何两种接入方式:1. 通过 Cursor 本地接入;2. 通过 FC 部署 MCP server。
Cursor 接入 MCP 服务
1. 前往官网开通 apikey
2. 进入 Cursor 设置界面配置 MCP Server
{
"mcpServers": {
"tongxiao-common-search": {
"command": "npx",
"args": ["-y", "@tongxiao/common-search-mcp-server"],
"env": {
"TONGXIAO_API_KEY": "通晓 apikey"
}
}
}
}
3. 返回 Cursor 设置界面查看 MCP 服务工具状态
4. Cursor Agent 使用 MCP tool
FC 部署 MCP 服务
前往云原生应用开发平台 CAP 一键部署 iqs-mcp-server。
该文章对您有帮助吗?
- 本页导读
- Cursor 接入 MCP 服务
- FC 部署 MCP 服务