MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@yamanoku-playground

基本信息

分类

生产力

传输方式

stdio

作者

yamanoku-playground

关于 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)?

A template that deploys a remote MCP (Model Context Protocol) server to Cloudflare Workers with no authentication required. It is intended for developers who want to quickly run MCP tools in the cloud and connect them to MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy via the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop using the mcp-remote proxy with a JSON configuration.

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

  • Deploy a remote MCP server on Cloudflare Workers with one click.
  • No authentication required for the deployed server.
  • Add custom MCP tools inside the init() method.
  • Connect to Cloudflare AI Playground as a remote MCP client.
  • Connect to Claude Desktop via the mcp-remote proxy.
  • Uses SSE (Server-Sent Events) transport at the /sse endpoint.

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

  • Quickly prototype and test MCP tools without setting up authentication.
  • Expose MCP tools publicly in a development or demo environment.
  • Integrate MCP capabilities into Cloudflare AI Playground workflows.
  • Use the same MCP server from multiple local clients, such as Claude Desktop.

常见问题

1

Do I need a Cloudflare account to deploy?

Yes. Deploying the server requires a Cloudflare account to host the worker.

2

What transport protocol does the server use?

It uses SSE (Server-Sent Events) at the `/sse` endpoint.

3

How do I add my own tools?

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

4

How can I connect Claude Desktop to this server?

Use the `mcp-remote` NPM package as a proxy and configure the server URL in Claude Desktop’s MCP settings JSON.

5

Does this server support authentication?

No. This template is specifically designed to be deployed without authentication.

评论

生产力 分类下的更多 MCP 服务器