MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@yamanoku-playground

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

暂无概览

基本信息

分类

生产力

运行时

node

传输方式

stdio

发布者

yamanoku-playground

配置

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

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.

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

Do I need a Cloudflare account to deploy?

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

What transport protocol does the server use?

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

How do I add my own tools?

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

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.

Does this server support authentication?

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

评论

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