接入搜索 MCP Server

支持 MCP 协议的客户端(如:Cursor、Claude、Cline)可方便使用搜索 MCP server。目前仅支持 Node.js I/O 接入方式,如下以 Cursor 平台为例介绍接入流程。

Node.js I/O 模式接入 MCP 服务

1. 前往官网开通 apikey

2. 进入 Cursor 设置界面配置 MCP Server

image

{
  "mcpServers": {
    "tongxiao-common-search": {
      "command": "npx",
      "args": ["-y", "@tongxiao/common-search-mcp-server"],
      "env": {
        "TONGXIAO_API_KEY": "通晓 apikey"
      }
    }
  }
}

3. 返回 Cursor 设置界面查看 MCP 服务工具状态

image

4. Cursor Agent 使用 MCP tool

image