MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@klei30

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

klei30

配置

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

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

工具

未检测到工具

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

概览

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

A pre-configured template that deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to quickly expose MCP tools via Cloudflare’s global edge network.

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

Click the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to create the server locally. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect from the Cloudflare AI Playground by entering your deployed SSE URL, or from local MCP clients (e.g., Claude Desktop) using the mcp-remote proxy.

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

  • Deploys to Cloudflare Workers with one click
  • No authentication required for the MCP server
  • Customizable tools defined in src/index.ts
  • Compatible with Cloudflare AI Playground as a remote MCP client
  • Works with local MCP clients via mcp-remote proxy

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

  • Hosting MCP tools on a globally distributed edge network
  • Rapidly prototyping MCP servers without setting up authentication
  • Connecting MCP tools to Cloudflare AI Playground for remote testing
  • Integrating MCP tools with desktop clients like Claude Desktop via a proxy

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

What transport does the server use?

The server uses SSE (Server-Sent Events) transport, exposed at the /sse endpoint of the deployed Worker URL.

Does the server require authentication?

No, this deployment is deliberately without authentication to simplify setup and testing.

How do I add custom tools?

Edit the init() method in src/index.ts and define each tool with this.server.tool(...) following Cloudflare’s MCP tools documentation.

How can I connect from Claude Desktop?

Use the mcp-remote npm package as a proxy: run npx mcp-remote <your-sse-url> and configure Claude Desktop’s mcpServers to use that command.

Where is the server deployed?

It is deployed to a Cloudflare Workers URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

评论

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