MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@rosedael

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

rosedael

配置

使用下面的配置,将此服务器添加到你的 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)?

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

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

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.

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.

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.

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.

What URL format does the deployed server use?

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

评论

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