远程无认证MCP服务器

该服务是一个部署在Cloudflare Workers上的远程MCP服务器,无需认证即可使用。它允许用户通过Cloudflare AI Playground或本地MCP客户端(如Claude Desktop)连接和使用自定义工具。

  • by pancakesniperbot
  • 更新于
在 GitHub 查看 pancakesniperbot/remote-mcp-server-authless

使用说明

基本能力

产品定位

远程无认证MCP服务器,部署在Cloudflare Workers上,提供无需认证的MCP服务。

核心功能

  • 无需认证即可部署和使用MCP服务器。
  • 支持通过Cloudflare AI Playground连接和使用工具。
  • 支持通过本地MCP客户端(如Claude Desktop)连接和使用工具。
  • 允许用户自定义工具并添加到MCP服务器中。

适用场景

  • 快速部署和测试MCP工具。
  • 在Cloudflare Workers上运行MCP服务。
  • 通过远程客户端访问和使用MCP工具。

工具列表

  • 用户可以通过src/index.ts中的init()方法自定义工具。

使用教程

使用依赖

  • 需要安装Node.js和npm。

安装教程

  1. 使用以下命令创建MCP服务器:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
  1. 部署到Cloudflare Workers后,可以通过URL访问:remote-mcp-server-authless.<your-account>.workers.dev/sse

调试方式

  1. 连接到Cloudflare AI Playground:

    • 访问 https://playground.ai.cloudflare.com/
    • 输入部署的MCP服务器URL。
  2. 连接到Claude Desktop:

    • 更新Claude Desktop的配置文件,添加MCP服务器URL。
    • 重启Claude Desktop以使用工具。