MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@alasdairnicol

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

alasdairnicol

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example demonstrates how to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that requires no authentication. It is intended for developers who want to quickly set up a remote MCP server and connect it to clients like the Cloudflare AI Playground or Claude Desktop.

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. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize by adding tools inside the init() method of src/index.ts with this.server.tool(...). Connect to clients by entering the SSE endpoint URL.

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

  • Deploys a remote MCP server on Cloudflare Workers with no authentication.
  • Provides a one-click deploy button or CLI setup.
  • Supports custom tool definitions via this.server.tool(...).
  • Connects directly to Cloudflare AI Playground as a remote MCP client.
  • Works with Claude Desktop through the mcp-remote proxy.

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

  • Quickly prototyping an MCP server without setting up authentication.
  • Integrating MCP tools into Cloudflare's AI Playground for testing.
  • Connecting a local MCP client (e.g., Claude Desktop) to a cloud-hosted server.
  • Sharing a simple, public MCP server for demo or development purposes.

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

How do I deploy this MCP server?

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

How can I add my own tools?

Each tool is defined inside the init() method of src/index.ts using this.server.tool(...). Refer to Cloudflare’s MCP tools documentation for details.

How do I connect this server 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 you can use the tools from the playground.

How do I connect Claude Desktop to this remote MCP server?

Install the mcp-remote proxy and configure Claude Desktop’s MCP settings with the mcp-remote command pointing to your server’s SSE URL. A sample configuration is provided in the README.

Does this server require authentication?

No, the title explicitly states "Without Auth". The server is deployed with no authentication mechanism.

评论

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