MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@Kepsondiaz

基本信息

分类

开发工具

传输方式

stdio

作者

Kepsondiaz

关于 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 allows you to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to quickly create and host MCP tools accessible from remote clients.

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

Deploy the server by clicking the Deploy to Workers button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to it from Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop by configuring the mcp-remote proxy with the same URL.

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

  • Deploys to Cloudflare Workers with a single click or command.
  • No authentication required for client connections.
  • Easily add custom tools via this.server.tool(...).
  • Works with Cloudflare AI Playground as a remote MCP client.
  • Compatible with Claude Desktop via the mcp-remote proxy.

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

  • Hosting AI agent tools accessible over the internet without auth.
  • Experimenting with remote MCP clients like Cloudflare AI Playground.
  • Integrating custom server-side logic into Claude Desktop workflows.
  • Rapid prototyping of MCP-based tool servers on a global edge network.

常见问题

1

How do I deploy the server?

Use the Deploy to Workers button or run the `npm create cloudflare` command with the provided template. This will create a new project and deploy it to a URL like `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

2

How do I add my own tools?

Inside the `init()` method of `src/index.ts`, define each tool using `this.server.tool(...)`. Refer to the Cloudflare documentation on MCP tools for details.

3

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and the tools will be available directly in the playground.

4

How do I connect to Claude Desktop?

Install the `mcp-remote` proxy via npm, then add a configuration entry in Claude Desktop pointing to your server's SSE URL. Restart Claude to see the tools.

5

Does this server require authentication?

No, the server is built without authentication, making it suitable for testing and development.

评论

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