MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mlaurel

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

mlaurel

配置

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

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

What does “Without Auth” mean?

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

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.

How do I add custom tools?

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

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).

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 服务器