Building a Remote MCP Server on Cloudflare (Without Auth)
@ChrisTowles
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
暂无概览
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
Building a Remote MCP Server on Cloudflare (Without Auth) is an example repository for deploying a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to quickly set up a server that exposes tools via the Model Context Protocol (MCP) and connect it to clients like the Cloudflare AI Playground or Claude Desktop.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy the server using the provided "Deploy to Workers" button or by 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(...). The server listens for SSE connections at the deployed URL.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploy without authentication on Cloudflare Workers.
- Add custom tools via the server's
this.server.tool(...). - Connect to Cloudflare AI Playground (remote client).
- Connect to Claude Desktop using mcp-remote proxy.
- Use SSE transport for remote MCP connections.
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Prototype an MCP tool that performs calculations and test it in the Cloudflare AI Playground.
- Provide a remote calculator tool to Claude Desktop for quick access.
- Deploy a server with custom data retrieval tools for use with any MCP client supporting SSE.
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
What dependencies are required?
The server runs on Cloudflare Workers and can be deployed via the provided button or npm create cloudflare. No additional runtime dependencies beyond the Workers platform are needed.
Does this server support authentication?
No, this example is explicitly built without authentication. It is intended for development or internal use where authentication is not required.
Where does the server data live?
The server is stateless and runs on Cloudflare Workers. Tools defined in src/index.ts can access external data, but the server itself does not store data.
What transport protocol does it use?
The server uses SSE (Server-Sent Events) at the /sse endpoint.
How do I connect local MCP clients?
Local clients like Claude Desktop can connect using the mcp-remote proxy, which relays SSE to a local MCP client.
开发工具 分类下的更多 MCP 服务器
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
🔐 ssh-mcp-server
classfang基于 SSH 的 MCP 服务 🧙♀️。已被MCP官方收录 🎉。 SSH MCP Server 🧙♀️. It has been included in the community MCP repository 🎉.
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Minecraft MCP Server
yuniko-softwareA Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction
MCP server to deploy code to Google Cloud Run
GoogleCloudPlatformMCP server to deploy apps to Cloud Run
评论