MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@mcc

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

mcc

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want a quick, public MCP server that can be used with remote MCP clients like Cloudflare AI Playground or local clients via a proxy.

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

Deploy by clicking the "Deploy to Workers" button or running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing the init() method in src/index.ts using this.server.tool(...). Connect via the Cloudflare AI Playground by entering the deployed SSE URL, or via Claude Desktop using the mcp-remote proxy and a JSON configuration.

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

  • Deploy an MCP server on Cloudflare Workers with one click.
  • No authentication required for client connections.
  • Uses Server-Sent Events (SSE) as transport.
  • Easily add custom tools by editing a single file.
  • Works with remote MCP clients like Cloudflare AI Playground.
  • Can be used with local clients via the mcp-remote proxy.

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

  • Quickly expose MCP tools to the internet without setting up authentication.
  • Connect MCP tools to Cloudflare AI Playground for testing and experimentation.
  • Use remote MCP tools from Claude Desktop by proxying through a local mcp-remote instance.

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

What dependencies do I need to run this?

You need Node.js and npm (or a Cloudflare account for the one-click deploy). The template includes Cloudflare Workers dependencies.

How do I add my own tools?

Define each tool inside the init() method of src/index.ts using this.server.tool(...). See the Cloudflare MCP tools documentation for details.

How do I connect Claude Desktop to this remote server?

Use the mcp-remote npm package. Add an entry to Claude Desktop's MCP configuration with the command npx mcp-remote <your SSE URL>.

Where does the server data live?

The MCP server runs on Cloudflare Workers (edge network). No data persistence is described in the README; tools handle their own state.

What transport and authentication does it use?

It uses SSE transport and explicitly does not require authentication. The server is publicly accessible via its Workers URL.

评论

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