MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@BiteBase-Intelligence

基本信息

分类

开发工具

传输方式

stdio

作者

BiteBase-Intelligence

关于 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)?

The Building a Remote MCP Server on Cloudflare (Without Auth) template lets you deploy a remote MCP server on Cloudflare Workers that has no authentication requirements. It is intended for developers who want to expose custom MCP tools over a remote endpoint using Cloudflare’s edge platform.

How to use Building a 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. After deployment, customize tools inside the src/index.ts file using this.server.tool(...). Connect by entering your server’s SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse) into compatible MCP clients.

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

  • Deploys a remote MCP server on Cloudflare Workers.
  • No authentication required for access.
  • Server-sent events (SSE) endpoint automatically configured.
  • Easy customization of MCP tools via code.
  • One-click deployment with Cloudflare button.

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

  • Connect MCP tools to the Cloudflare AI Playground.
  • Use MCP tools from Claude Desktop via the mcp-remote proxy.
  • Expose custom MCP tools without managing authentication.

常见问题

1

How do I deploy the server?

Click the “Deploy to Workers” button or run the `npm create cloudflare` command provided in the README.

2

How do I add custom tools?

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

3

How do I connect to the Cloudflare AI Playground?

Go to [https://playground.ai.cloudflare.com/](https://playground.ai.cloudflare.com/), enter your server’s SSE URL, and use the tools directly in the playground.

4

How do I connect to Claude Desktop?

Install the `mcp-remote` package and add a configuration entry in Claude Desktop’s MCP settings, pointing to your server’s SSE URL.

5

What are the dependencies for local clients?

The server itself has no extra runtime dependencies beyond Cloudflare Workers. To connect from local clients like Claude Desktop, the `mcp-remote` proxy package is required.

评论

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