MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@gotalab

基本信息

分类

开发工具

传输方式

stdio

作者

gotalab

关于 Building a Remote MCP Server on Cloudflare

暂无概览

Building a Remote MCP Server on Cloudflare 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

This example deploys a remote MCP server that does not require authentication on Cloudflare Workers. It is intended for developers who want a quick, publicly accessible MCP server for testing or integration.

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

Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, connect MCP clients (e.g., Cloudflare AI Playground or Claude Desktop via the mcp-remote proxy) to the SSE endpoint at remote-mcp-server-authless.<your-account>.workers.dev/sse.

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

  • Deploy a remote MCP server without authentication
  • Uses SSE transport at the /sse endpoint
  • Easily customizable tools via this.server.tool() in src/index.ts
  • Connects directly to Cloudflare AI Playground
  • Works with Claude Desktop via the mcp-remote proxy

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

  • Quickly deploying a public MCP server for prototyping
  • Testing MCP tools without setting up authentication
  • Integrating with Cloudflare AI Playground for remote MCP client usage
  • Connecting local MCP clients like Claude Desktop to a serverless backend

常见问题

1

Does this MCP server require authentication?

No, it is specifically designed to be deployed without authentication for ease of use and testing.

2

How do I deploy the server?

You can deploy it using the "Deploy to Workers" button on GitHub or by running `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless`.

3

What transport does the server use?

It uses SSE (Server-Sent Events) at the `/sse` endpoint.

4

Can I use this server with Claude Desktop?

Yes, by using the `mcp-remote` proxy and configuring Claude Desktop's `mcpServers` to point to the server’s URL.

5

Where can I customize the server’s tools?

Tools are defined inside the `init()` method of `src/index.ts` using `this.server.tool(...)`.

评论

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