MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@cdtait

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

cdtait

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example lets you deploy a remote MCP server that doesn't require authentication on Cloudflare Workers. It is for developers who want to expose Model Context Protocol tools over the internet without managing 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. After deployment, add custom tools inside src/index.ts using this.server.tool(...). Connect clients like Cloudflare AI Playground (enter the SSE URL) or Claude Desktop (via the mcp-remote proxy and a JSON config).

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

  • Deploy a remote MCP server without authentication
  • Hosted on Cloudflare Workers with SSE transport
  • Add custom tools via the init() method
  • One-click deploy using the Workers button
  • Connect from Cloudflare AI Playground or local clients

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

  • Expose tools to a remote MCP client like Cloudflare AI Playground
  • Connect Claude Desktop to tools running on Cloudflare Workers
  • Prototype MCP-based services without setting up authentication

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

How do I deploy this MCP server?

Click the “Deploy to Workers” button 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?

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 MCP server URL (e.g., remote-mcp-server-authless.<account>.workers.dev/sse), and use the tools.

How do I connect Claude Desktop to this server?

Use the mcp-remote npm package as a proxy. Configure Claude Desktop’s MCP servers with command: "npx" and args: ["mcp-remote", "<your-sse-url>"].

Does this server require authentication?

No. The example explicitly deploys a remote MCP server without authentication.

评论

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