MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@lightshareteam

基本信息

分类

开发工具

传输方式

stdio

作者

lightshareteam

关于 Building a Remote MCP Server on Cloudflare

暂无概览

Building a Remote MCP Server on Cloudflare 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Building a Remote MCP Server on Cloudflare 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

This example allows you to deploy a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE (Server‑Sent Events) to remote clients, with a simple deployment and no built‑in auth layer.

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

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

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

  • Deploy a remote MCP server without authentication.
  • Uses SSE (Server‑Sent Events) transport.
  • Customize tools via the init() method.
  • Connect to Cloudflare AI Playground directly.
  • Connect to local MCP clients via the mcp-remote proxy.

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

  • Expose MCP tools publicly without needing authentication.
  • Quickly prototype and test custom MCP tools on a remote endpoint.
  • Integrate MCP tools into Cloudflare’s AI Playground for interactive experimentation.
  • Use the server from desktop MCP clients like Claude Desktop via a local proxy.

常见问题

1

What does “without auth” mean?

It means the deployed MCP server does not require any authentication to connect—anyone with the SSE URL can interact with its tools.

2

How do I deploy the server?

Use the “Deploy to Workers” button in the README, or run `npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless` in your terminal.

3

How do I add custom tools?

Inside `src/index.ts`, define each tool in the `init()` method using `this.server.tool(name, schema, handler)`. See the Cloudflare tools documentation for details.

4

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., `remote-mcp-server-authless.<your-account>.workers.dev/sse`), and start using your tools directly.

5

How do I connect Claude Desktop to this server?

Use the `mcp-remote` npm package as a proxy. In Claude Desktop’s MCP configuration, set `command` to `npx`, `args` to `["mcp-remote", "<your-sse-url>"]`, restart Claude, and the tools will appear.

评论

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