MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@AtlanticBiz

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

AtlanticBiz

配置

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

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

工具

未检测到工具

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

概览

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.

FAQ from Remote MCP Server on Cloudflare (Without Auth)

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.

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).

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.

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.

Does the server require authentication?

No, this example is specifically built without authentication.

评论

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