MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mohdsuhail007

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

mohdsuhail007

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This server lets you deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to expose MCP tools over SSE (Server-Sent Events) to remote clients such as Cloudflare’s AI Playground or Claude Desktop.

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

Deploy by clicking the Deploy to Workers button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal. After deployment, connect clients by pointing them to your server’s SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). To add custom tools, edit the init() method in src/index.ts using this.server.tool(...).

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

  • Deploy a remote MCP server without authentication.
  • Hosted on Cloudflare Workers for global, low-latency access.
  • Includes a one-click Deploy to Workers button.
  • Supports custom tool definitions via the init() method.
  • Compatible with Cloudflare AI Playground and Claude Desktop.
  • Uses SSE transport for real-time communication.

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

  • Connect custom MCP tools to Cloudflare’s AI Playground from any location.
  • Use MCP tools inside Claude Desktop via a remote proxy.
  • Prototype and test MCP servers without setting up authentication.
  • Quickly share MCP tool access with teammates or public users.

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

How do I deploy the 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 connect it to Cloudflare AI Playground?

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

How do I connect Claude Desktop to this server?

Install the mcp-remote proxy (npx mcp-remote) and add a configuration entry in Claude Desktop’s settings (Developer > Edit Config) with the remote SSE URL.

How do I add custom tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...). Refer to Cloudflare’s MCP tools documentation for the full API.

Does this server require authentication?

No, this example is deliberately built without authentication. The server is public and accessible to anyone with the SSE URL.

评论

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