MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mythonaut

基本信息

分类

开发工具

传输方式

stdio

作者

mythonaut

关于 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 server lets you deploy a remote MCP server on Cloudflare Workers that requires no authentication. It provides a Server-Sent Events (SSE) endpoint for connecting MCP clients and is designed for developers who want a simple, publicly accessible MCP server for tools.

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

Deploy by clicking the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, customize tools by editing src/index.ts and adding them inside the init() method using this.server.tool(...). Connect to it from Cloudflare AI Playground by entering your deployed SSE URL, or from Claude Desktop using the mcp-remote proxy.

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

  • Deploy a remote MCP server without authentication
  • Runs on Cloudflare Workers with a public SSE endpoint
  • Easy to add custom tools via code
  • Connect from Cloudflare AI Playground or Claude Desktop
  • One-click deploy or CLI setup

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

  • Expose MCP tools to the Cloudflare AI Playground
  • Integrate MCP tools with Claude Desktop using a proxy
  • Prototype and test remote MCP servers without auth overhead
  • Deploy a lightweight serverless MCP endpoint

常见问题

1

How do I deploy the MCP server?

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

2

Where can I find my server's URL?

After deployment, your server is available at `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

3

How do I add custom tools?

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

4

Can I connect this to Claude Desktop?

Yes, use the `mcp-remote` proxy and configure Claude Desktop with the SSE URL in the `mcpServers` configuration.

5

Does the server require any authentication?

No, this server is designed to run without authentication, as stated in the title.

评论

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