使用说明
基本能力
产品定位
无认证远程MCP服务器是一个部署在Cloudflare Workers上的服务,用于提供远程MCP功能,无需认证即可使用。
核心功能
- 部署在Cloudflare Workers上的远程MCP服务器
- 无需认证即可使用
- 支持自定义工具
- 可通过Cloudflare AI Playground或本地MCP客户端连接
适用场景
- 需要快速部署远程MCP服务器的场景
- 无需认证的MCP服务需求
- 通过Cloudflare AI Playground或本地MCP客户端使用MCP工具的场景
工具列表
- 自定义工具:用户可以在
src/index.ts的init()方法中通过this.server.tool(...)定义自己的工具。
使用教程
使用依赖
无特殊依赖,只需Cloudflare账户和Node.js环境。
安装教程
-
通过Cloudflare Workers一键部署:
或通过命令行在本地创建远程MCP服务器:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
调试方式
-
连接Cloudflare AI Playground:
- 访问 https://playground.ai.cloudflare.com/
- 输入部署的MCP服务器URL(如
remote-mcp-server-authless.<your-account>.workers.dev/sse) - 即可在Playground中使用MCP工具
-
连接Claude Desktop:
- 按照Anthropic's Quickstart操作
- 在Claude Desktop中进入Settings > Developer > Edit Config
- 更新配置为:
{ "mcpServers": { "calculator": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8787/sse" // 或 remote-mcp-server-authless.your-account.workers.dev/sse ] } } } - 重启Claude即可使用工具