MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@pokle

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

pokle

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example lets you deploy a remote Model Context Protocol (MCP) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to quickly spin up MCP tools and connect them to MCP clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy via the “Deploy to Workers” button or with npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, customize tools in src/index.ts inside the init() method using this.server.tool(...). Connect clients by entering the SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) or by using the mcp-remote proxy for local clients like Claude Desktop.

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

  • Deploy a remote MCP server without authentication.
  • Built on Cloudflare Workers for global edge distribution.
  • Customize tools by editing src/index.ts.
  • Connect directly from Cloudflare AI Playground (remote MCP client).
  • Connect local MCP clients using the mcp-remote proxy.

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

  • Quickly prototyping MCP tools and exposing them via a public URL.
  • Integrating MCP tools with Cloudflare’s AI Playground for testing.
  • Using custom MCP tools in Claude Desktop via the mcp-remote proxy.
  • Building a serverless, auto-scaling MCP endpoint without managing 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 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 my own tools to the server?

Inside src/index.ts, define each tool inside the init() method 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.<your-account>.workers.dev/sse), and use the tools directly.

How do I connect to Claude Desktop?

Install the mcp-remote npm package, then configure Claude Desktop’s MCP settings with npx mcp-remote <your-sse-url>. Restart Claude to see the tools.

Does this server require authentication?

No, this example explicitly deploys a remote MCP server without authentication.

评论

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