mcp-edge-search
一个模型上下文协议服务器,为像Claude Desktop这样的MCP客户端提供网络搜索功能。
简介
mcp-edge-search 是一个模型上下文协议服务器,为像 Claude Desktop 这样的 MCP 客户端提供网络搜索功能。
安装
git clone https://github.com/your-username/mcp-edge-search.git
cd mcp-edge-search
npm install
配置
创建一个 .env
文件并设置必要的环境变量:
API_KEY=your_search_api_key
PORT=3000
启动服务器
npm start
连接到 Claude Desktop
- 打开 Claude Desktop
- 进入设置 > 模型上下文协议
- 添加新服务器,输入地址:
http://localhost:3000
- 保存并启用
使用示例
在 Claude Desktop 中,您可以使用如下提示来触发搜索功能:
搜索最新的人工智能新闻
现在您已经成功设置了 mcp-edge-search,可以在 Claude Desktop 中使用网络搜索功能了!