MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@shaokun

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

shaokun

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

An example MCP server that can be deployed to Cloudflare Workers without requiring authentication. It provides an SSE endpoint and allows developers to add custom tools. It is intended for anyone who wants a remote MCP server that is easy to deploy and connect to from clients such as 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 via the command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to the server from Cloudflare AI Playground by entering the deployed URL (remote-mcp-server-authless.<your-account>.workers.dev/sse) or from Claude Desktop using the mcp-remote proxy in the mcpServers configuration.

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

  • Deployable on Cloudflare Workers with one click or via CLI.
  • No authentication required.
  • SSE endpoint at /sse.
  • Customizable tools defined in src/index.ts.
  • Connectable from Cloudflare AI Playground and Claude Desktop.

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

  • Deploy a remote MCP server for prototyping or testing without auth complexity.
  • Integrate custom tools with Cloudflare AI Playground as a remote MCP client.
  • Connect Claude Desktop to a remote MCP server using the mcp-remote proxy.

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

Does this MCP server require authentication?

No, the server is intentionally built without authentication.

How do I deploy the server?

Use 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 can I add my own tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...).

How do I connect from Claude Desktop?

Use the mcp-remote npm package as a proxy and configure the mcpServers in Claude Desktop's settings with the appropriate command and URL.

Where is the SSE endpoint located?

The SSE endpoint is at /sse on the deployed worker URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse).

评论

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