MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@amahara-dev

基本信息

分类

开发工具

传输方式

stdio

作者

amahara-dev

关于 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 is a demo/template that lets you deploy a remote MCP server on Cloudflare Workers without requiring authentication. It provides a starting point for developers who want to expose MCP tools over SSE without managing user auth.

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

Deploy using the "Deploy to Workers" button (gets a public URL like remote-mcp-server-authless.<your-account>.workers.dev/sse) or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Customize tools by editing src/index.ts and adding tool definitions inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground by entering your SSE URL, or from Claude Desktop using the mcp-remote proxy tool and the provided JSON configuration.

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

  • Deploys a remote MCP server to Cloudflare Workers
  • Requires no authentication for MCP connections
  • Customizable tools defined in TypeScript code
  • Connects to Cloudflare AI Playground as a remote MCP client
  • Connects to Claude Desktop via the mcp-remote proxy
  • Uses SSE (Server-Sent Events) transport

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

  • Quickly prototyping MCP-based tools without setting up authentication
  • Experimenting with remote MCP servers on Cloudflare’s edge network
  • Integrating custom tools with Cloudflare AI Playground for testing
  • Exposing MCP tools to Claude Desktop or other MCP clients via a proxy

常见问题

1

Does the server require authentication?

No, this MCP server is intentionally built without authentication.

2

How do I deploy the server?

Click the "Deploy to Workers" button or use the `npm create cloudflare` command with the provided template.

3

How do I add my own tools?

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

4

How do I connect from Cloudflare AI Playground?

Go to the AI Playground, enter your deployed MCP server’s SSE URL, and start using the tools directly.

5

How do I connect from Claude Desktop?

Install the `mcp-remote` npm package, then add a configuration entry with `command: "npx"`, args including the remote SSE URL, and restart Claude Desktop.

评论

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