MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@nealriley

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

nealriley

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example deploys a remote Model Context Protocol (MCP) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools over SSE without setting up auth.

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

Deploy via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Once deployed, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse. Add custom tools inside the init() method of src/index.ts using this.server.tool(...).

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

  • Deployable with one click or CLI command
  • No authentication required for connections
  • Supports custom tool definition in TypeScript
  • Serves MCP over SSE endpoint
  • Compatible with Cloudflare AI Playground and Claude Desktop

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

  • Expose MCP tools publicly without login walls
  • Prototype MCP integrations before adding auth
  • Enable remote AI assistants to call custom tools
  • Connect local MCP clients like Claude Desktop via a proxy

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

How do I deploy this MCP server?

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

How do I add my own tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...). More details are in the Cloudflare Tools documentation.

How do I connect from 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 use the tools directly.

How do I connect Claude Desktop?

Install the mcp-remote npm proxy package, then add an entry to Claude Desktop’s claude_desktop_config.json with "command": "npx" and args including the SSE URL.

Does this server require any authentication?

No – this specific example is built to run without authentication, as stated in its name and README.

评论

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