MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@crocodile

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

crocodile

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "remote-mcp-server-authless.your-account.workers.dev/sse"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

This template deploys a remote MCP server on Cloudflare Workers that requires no authentication. It is intended for developers who want to expose MCP tools over SSE without auth.

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

Deploy using the "Deploy to Workers" button or run 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 via Cloudflare AI Playground or Claude Desktop using the mcp-remote proxy.

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

  • Deploy a remote MCP server on Cloudflare Workers
  • No authentication required
  • Customize tools in the init() method
  • Exposes an SSE endpoint
  • Connects to Cloudflare AI Playground
  • Connect Claude Desktop via mcp-remote proxy

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

  • Exposing MCP tools publicly without authentication
  • Testing remote MCP clients like Cloudflare AI Playground
  • Connecting Claude Desktop to a remote MCP server via proxy

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

How do I deploy the server?

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

How do I add custom tools?

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

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed server's SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse), and use the tools directly.

How do I connect Claude Desktop to the server?

Use the mcp-remote npm package as a proxy. In Claude Desktop's config, add an entry with command: "npx" and args: ["mcp-remote", "<your-sse-url>"].

What is the server's URL after deployment?

The server is deployed to a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.

评论

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