MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@lightshareteam

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

lightshareteam

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

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

概览

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

This example allows you to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE (Server‑Sent Events) to remote clients, with a simple deployment and no built‑in auth layer.

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

Deploy using the “Deploy to Workers” button or the CLI command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by defining each tool inside the init() method of src/index.ts using this.server.tool(...). Connect to the server from the Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop by using the mcp-remote proxy with the same URL in the MCP configuration.

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

  • Deploy a remote MCP server without authentication.
  • Uses SSE (Server‑Sent Events) transport.
  • Customize tools via the init() method.
  • Connect to Cloudflare AI Playground directly.
  • Connect to local MCP clients via the mcp-remote proxy.

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

  • Expose MCP tools publicly without needing authentication.
  • Quickly prototype and test custom MCP tools on a remote endpoint.
  • Integrate MCP tools into Cloudflare’s AI Playground for interactive experimentation.
  • Use the server from desktop MCP clients like Claude Desktop via a local proxy.

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

What does “without auth” mean?

It means the deployed MCP server does not require any authentication to connect—anyone with the SSE URL can interact with its tools.

How do I deploy the server?

Use 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?

Inside src/index.ts, define each tool in the init() method using this.server.tool(name, schema, handler). See the Cloudflare tools documentation for details.

How do I connect to Cloudflare AI Playground?

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

How do I connect Claude Desktop to this server?

Use the mcp-remote npm package as a proxy. In Claude Desktop’s MCP configuration, set command to npx, args to ["mcp-remote", "<your-sse-url>"], restart Claude, and the tools will appear.

评论

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