MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mlaurel

基本信息

分类

开发工具

传输方式

stdio

作者

mlaurel

关于 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 deployable MCP (Model Context Protocol) server that runs on Cloudflare Workers and requires no authentication. It enables remote access to MCP tools over SSE, intended for developers who want a simple, serverless MCP endpoint.

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

Deploy instantly via the “Deploy to Workers” button or locally with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, connect to it from the Cloudflare AI Playground (enter the /sse URL) or from Claude Desktop using the mcp-remote proxy and the same SSE endpoint.

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

  • Deploy with zero authentication required
  • Runs serverlessly on Cloudflare Workers
  • Custom tools defined in src/index.ts using this.server.tool(...)
  • Supports SSE transport for remote MCP clients
  • One‑click deployment via Cloudflare button

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

  • Expose MCP tools to the Cloudflare AI Playground without local setup
  • Connect Claude Desktop to a remote MCP server using the mcp‑remote proxy
  • Host a lightweight, auth‑free MCP endpoint for testing or internal tooling

常见问题

1

What does “Without Auth” mean?

The deployed MCP server does not enforce any authentication. Anyone with the SSE URL can access the tools.

2

How do I deploy this MCP server?

Click the “Deploy to Workers” button in the README, or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

3

How do I add custom tools?

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

4

Can I connect from Claude Desktop?

Yes. Use the `mcp-remote` npm package as a proxy, then add the SSE URL to Claude Desktop’s MCP server configuration (Settings > Developer > Edit Config).

5

What transport does the server use?

The server communicates over SSE (Server‑Sent Events), as indicated by the `/sse` path in the deployment URL.

评论

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