MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@ricable

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

ricable

配置

使用下面的配置,将此服务器添加到你的 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 server that deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE (Server-Sent Events) using Cloudflare's edge infrastructure.

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

Deploy by clicking the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the terminal. After deployment, add custom tools inside the init() method of src/index.ts using this.server.tool(...). Connect clients by providing the SSE endpoint (e.g., remote-mcp-server-authless.<account>.workers.dev/sse).

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

  • Zero‑auth remote MCP server deployment on Cloudflare Workers.
  • SSE‑based transport for remote MCP clients.
  • Custom tools defined via this.server.tool(...).
  • One‑click deploy or CLI scaffolding from official template.
  • Works with Cloudflare AI Playground (remote MCP client).
  • Compatible with local clients via mcp-remote proxy.

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

  • Expose custom MCP tools to remote clients without managing authentication.
  • Rapidly prototype MCP‑based functionalities on Cloudflare’s edge.
  • Connect Cloudflare AI Playground to custom tooling.
  • Integrate tools with Claude Desktop via the mcp-remote proxy.

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

What does this server do?

It deploys a remote MCP server on Cloudflare Workers that uses SSE (Server‑Sent Events) transport and does not require authentication.

How do I deploy it?

Click the "Deploy to Workers" button or use npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How do I add custom tools?

Edit src/index.ts and define each tool inside the init() method using this.server.tool(...).

Where can I connect this MCP server?

Connect from Cloudflare AI Playground (https://playground.ai.cloudflare.com/) or from local clients like Claude Desktop using the mcp-remote proxy.

What are the runtime requirements?

A Cloudflare account and Node.js with npm (for CLI deployment). The server runs on Cloudflare Workers with no additional dependencies beyond the template.

评论

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