Building a Remote MCP Server on Cloudflare (Without Auth)
@calvinvux
关于 Building a Remote MCP Server on Cloudflare (Without Auth)
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"remote-mcp-server-authless.your-account.workers.dev/sse"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
A template and guide for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools over SSE via a serverless Worker.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy using the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground (enter the deployed SSE URL) or from Claude Desktop using the mcp-remote proxy with the SSE URL in the MCP server configuration.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploys as a Cloudflare Worker (no auth required).
- Uses SSE (Server-Sent Events) transport.
- Tools are defined and customized in
src/index.ts. - Integrates with Cloudflare AI Playground as a remote MCP client.
- Connects to local clients like Claude Desktop via
mcp-remoteproxy.
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Exposing MCP tools on the internet without authentication for testing or internal use.
- Integrating custom MCP tools with the Cloudflare AI Playground.
- Using remote MCP tools from Claude Desktop through a proxy.
- Rapidly prototyping and deploying MCP servers using a serverless platform.
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
What transport does the server use?
The server communicates over Server-Sent Events (SSE), as seen in the URL path /sse.
Does the server require authentication?
No, this example explicitly does not include authentication. It is described as "without auth."
How do I add my own tools?
Edit src/index.ts and define each tool inside the init() method using this.server.tool(...).
How can I connect to this server from Claude Desktop?
Use the mcp-remote proxy (available via npx) and set the command in Claude Desktop's MCP configuration to npx mcp-remote <your-sse-url>.
Can I connect from the Cloudflare AI Playground?
Yes. Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and the tools become available.
开发工具 分类下的更多 MCP 服务器
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
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
评论