Building a Remote MCP Server on Cloudflare (Without Auth)
@kbruck97
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
Building a Remote MCP Server on Cloudflare (Without Auth) is a template for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers that does not require authentication. It is intended for developers who want to expose MCP tools via SSE from a globally distributed, serverless environment.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy 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 by editing the init() method in src/index.ts using this.server.tool(...). Connect to clients like Cloudflare AI Playground (by entering the deployed URL) or Claude Desktop (via the mcp-remote proxy and a JSON configuration).
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploys a remote MCP server on Cloudflare Workers
- No authentication required for incoming connections
- Uses Server-Sent Events (SSE) transport
- One-click deploy via the Workers button
- Customizable by adding tools in the
init()method - Compatible with Cloudflare AI Playground and Claude Desktop (via proxy)
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Exposing custom MCP tools over the public internet without managing authentication
- Integrating with Cloudflare AI Playground for interactive experimentation
- Connecting remote MCP tools to local desktop clients like Claude Desktop
- Prototyping or internal tooling where auth is not yet needed
- Learning how to build and deploy MCP servers on the Workers platform
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
What exactly does this server do?
It provides a remote MCP server that runs on Cloudflare Workers and communicates via SSE. You define tools inside src/index.ts, and they become accessible to any MCP client that reaches the deployed URL.
How do I deploy this server?
Click the “Deploy to Workers” button in the README, or use npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. After deployment, the server is available at a URL like remote-mcp-server-authless.<your-account>.workers.dev/sse.
How can I connect it to Claude Desktop?
Install the mcp-remote npm package, then add a JSON configuration entry in Claude Desktop pointing to your server’s SSE URL: npx mcp-remote <your-url>/sse. Restart Claude to see the tools.
Does this server support authentication?
No, the server intentionally does not require authentication. It is meant for scenarios where auth is not needed, such as local development or deployments behind other authentication layers.
What transport protocol does it use?
The server uses Server-Sent Events (SSE) as the transport protocol, accessible at the /sse endpoint of the deployed Workers URL.
开发工具 分类下的更多 MCP 服务器
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
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
评论