MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@unblockdai

关于 Building a Remote MCP Server on Cloudflare (Without Auth)

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

unblockdai

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

Building a Remote MCP Server on Cloudflare (Without Auth) is an example project that allows you to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools remotely via SSE and connect them to MCP clients such as the Cloudflare AI Playground or Claude Desktop.

How to use Building a Remote MCP Server on Cloudflare (Without Auth)?

Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Customize the server by adding tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the Cloudflare AI Playground by entering the deployed URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). To connect from Claude Desktop, use the mcp-remote proxy in your Claude Desktop configuration.

Key features of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Deploy a remote MCP server without authentication.
  • Hosted on Cloudflare Workers via SSE endpoint.
  • Easily customizable with custom tools in src/index.ts.
  • Connect directly from the Cloudflare AI Playground.
  • Works with local MCP clients via the mcp-remote proxy.

Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Exposing MCP tools to remote clients without setting up authentication.
  • Rapidly prototyping MCP-based integrations using Cloudflare Workers.
  • Connecting custom tools to the Cloudflare AI Playground for testing.
  • Using MCP tools from Claude Desktop through a remote server.

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy this MCP server?

Use the "Deploy to Workers" button on the GitHub page or run the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How can I add my own tools to the server?

Define each tool inside the init() method of src/index.ts using this.server.tool(...).

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and start using your tools directly.

How do I connect Claude Desktop to this remote MCP server?

Use the mcp-remote proxy. In your Claude Desktop configuration (Settings > Developer > Edit Config), add an entry with "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"] (or your deployed URL). Restart Claude to see the tools.

Does this server require any authentication?

No, this example explicitly deploys a remote MCP server without authentication.

评论

开发工具 分类下的更多 MCP 服务器