MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@hachecito

基本信息

分类

开发工具

传输方式

stdio

作者

hachecito

关于 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 template and deployment method for creating a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to quickly stand up a serverless MCP endpoint with custom tools and access it from remote MCP clients.

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. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop via the mcp-remote proxy.

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

  • Deployable to Cloudflare Workers with one click or a CLI command
  • No authentication required for the MCP server endpoint
  • Exposes tools over Server-Sent Events (SSE)
  • Customizable by adding MCP tools in source code
  • Can be connected from both Cloudflare AI Playground and local MCP clients

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

  • Host custom MCP tools on a globally distributed serverless platform
  • Connect tools from Cloudflare AI Playground without local infrastructure
  • Use as a remote tool provider for Claude Desktop via the mcp-remote proxy
  • Quickly prototype and test new MCP tool sets without authentication overhead

常见问题

1

How do I deploy this MCP server?

Click the "Deploy to Workers" button or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` from the command line.

2

How can I add my own tools?

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

3

How do I connect from Cloudflare AI Playground?

Go to the playground URL, enter your deployed MCP server’s SSE URL (e.g., `remote-mcp-server-authless.<your-account>.workers.dev/sse`), and use your tools directly.

4

How do I connect Claude Desktop?

Use the `mcp-remote` npm proxy. In Claude Desktop settings, add a server entry with `command: "npx"`, args including `mcp-remote` and your SSE URL.

5

What runtime / dependencies are required?

The server runs on Cloudflare Workers. Local development requires Node.js and the `npm create cloudflare` CLI. The mcp-remote proxy (for local clients) is an additional npm package.

评论

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