MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@klei30

基本信息

分类

开发工具

传输方式

stdio

作者

klei30

关于 Building a Remote MCP Server on Cloudflare

暂无概览

Building a Remote MCP Server on Cloudflare 配置

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

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

Building a Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

What transport does the server use?

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

2

Does the server require authentication?

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

3

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.

4

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.

5

Where is the server deployed?

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

评论

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