MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@shaikzhafir

基本信息

分类

开发工具

传输方式

stdio

作者

shaikzhafir

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

A deployable template that lets you create a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools remotely and connect them to clients like Cloudflare AI Playground or Claude Desktop.

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

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

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

  • Deploy a MCP server without authentication on Cloudflare Workers
  • Add custom MCP tools inside src/index.ts
  • Connect to Cloudflare AI Playground as a remote MCP client
  • Connect to local MCP clients via the mcp-remote proxy
  • Uses Server-Sent Events (SSE) transport

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

  • Building and hosting custom MCP tools accessible from anywhere
  • Integrating MCP tools with Cloudflare’s AI Playground for testing or demonstration
  • Connecting remote MCP servers to desktop clients such as Claude Desktop

常见问题

1

What are the prerequisites to deploy this server?

A Cloudflare account and Node.js/npm are required to deploy using the template.

2

How do I add my own tools to the MCP server?

Each tool is defined inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. The server’s tools section in the Cloudflare documentation provides more details.

3

How can I connect this server to Claude Desktop?

Install the `mcp-remote` npm package and configure Claude Desktop’s `mcpServers` to use `npx mcp-remote <your-server-sse-url>`.

4

Where does the MCP server data live?

The server runs on Cloudflare Workers; tool definitions are stored in your code, and any runtime data persists only within the worker’s execution context.

5

What transport does this server use?

This server uses the SSE (Server-Sent Events) transport protocol.

评论

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