MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@AtlanticBiz

基本信息

分类

开发工具

传输方式

stdio

作者

AtlanticBiz

关于 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 Remote MCP Server on Cloudflare (Without Auth)?

This server allows you to deploy a remote MCP (Model Context Protocol) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to expose MCP tools remotely without auth overhead.

How to use 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. Customize tools in the init() method of src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the SSE URL, or from Claude Desktop using the mcp-remote proxy with a configuration like "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"].

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

  • Deployed on Cloudflare Workers with no authentication required.
  • Supports adding custom tools via the MCP server’s tool() method.
  • Connects seamlessly to Cloudflare AI Playground as a remote MCP client.
  • Compatible with Claude Desktop via the mcp-remote proxy.
  • One-click deployment from the GitHub button or npm create command.

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

  • Expose a public MCP server for testing or development without auth barriers.
  • Integrate custom tools into Cloudflare’s AI Playground for interactive experimentation.
  • Connect local MCP clients (e.g., Claude Desktop) to a cloud‑hosted tool server.

常见问题

1

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 the command line.

2

How do I add my own tools?

Inside the `init()` method of `src/index.ts`, define each tool using `this.server.tool(name, schema, handler)`.

3

Can I connect to it from Claude Desktop?

Yes, install the `mcp-remote` proxy and configure Claude Desktop’s MCP servers with a JSON entry pointing to the deployed SSE URL.

4

What runtime/requirements does it need?

It runs on Cloudflare Workers; no local runtime is required after deployment. The `mcp-remote` proxy (for local clients) needs Node.js and npx.

5

Does the server require authentication?

No, this example is specifically built without authentication.

评论

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