MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@rosedael

基本信息

分类

开发工具

传输方式

stdio

作者

rosedael

关于 Building a Remote MCP Server on Cloudflare

暂无概览

Building a Remote MCP Server on Cloudflare 配置

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

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

Building a Remote MCP Server on Cloudflare 工具

工具列表暂未提供

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

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

概览

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

This example lets you deploy a remote MCP server that requires no authentication on Cloudflare Workers. It is intended for developers who want a quick, serverless MCP endpoint.

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

Deploy using the “Deploy to Workers” button or with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect to Cloudflare AI Playground or Claude Desktop (via the mcp-remote proxy) using the generated SSE URL.

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

  • Deploy a remote MCP server with one click
  • Add custom tools via this.server.tool()
  • No authentication required out of the box
  • Integrates with Cloudflare AI Playground
  • Connect from local clients using mcp-remote proxy
  • Runs on Cloudflare Workers serverless platform

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

  • Quickly prototype a remote MCP server for testing
  • Serve MCP tools to the Cloudflare AI Playground
  • Connect Claude Desktop to a remote MCP server via proxy
  • Build cloud‑hosted MCP tools without managing infrastructure

常见问题

1

How do I deploy a Remote MCP Server on Cloudflare (Without Auth)?

Use the “Deploy to Workers” button on the README or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

2

How do I add custom tools to my MCP server?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. For details see the Cloudflare MCP tools documentation.

3

How can I connect to Cloudflare AI Playground?

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

4

How do I connect Claude Desktop to this MCP server?

Install the `mcp-remote` proxy package, then in Claude Desktop’s config add a server with `command: "npx", args: ["mcp-remote", "your-URL/sse"]`. Restart Claude to see the tools.

5

What URL format does the deployed server use?

The server is accessible at `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

评论

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