Building a Remote MCP Server on Cloudflare (Without Auth)
@amahara-dev
关于 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)?
This is a demo/template that lets you deploy a remote MCP server on Cloudflare Workers without requiring authentication. It provides a starting point for developers who want to expose MCP tools over SSE without managing user auth.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy using the "Deploy to Workers" button (gets a public URL like remote-mcp-server-authless.<your-account>.workers.dev/sse) or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Customize tools by editing src/index.ts and adding tool definitions inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground by entering your SSE URL, or from Claude Desktop using the mcp-remote proxy tool and the provided JSON configuration.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploys a remote MCP server to Cloudflare Workers
- Requires no authentication for MCP connections
- Customizable tools defined in TypeScript code
- Connects to Cloudflare AI Playground as a remote MCP client
- Connects to Claude Desktop via the mcp-remote proxy
- Uses SSE (Server-Sent Events) transport
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Quickly prototyping MCP-based tools without setting up authentication
- Experimenting with remote MCP servers on Cloudflare’s edge network
- Integrating custom tools with Cloudflare AI Playground for testing
- Exposing MCP tools to Claude Desktop or other MCP clients via a proxy
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
Does the server require authentication?
No, this MCP server is intentionally built without authentication.
How do I deploy the server?
Click the "Deploy to Workers" button or use the npm create cloudflare command with the provided template.
How do I add my own tools?
Define each tool inside the init() method of src/index.ts by calling this.server.tool(...).
How do I connect from Cloudflare AI Playground?
Go to the AI Playground, enter your deployed MCP server’s SSE URL, and start using the tools directly.
How do I connect from Claude Desktop?
Install the mcp-remote npm package, then add a configuration entry with command: "npx", args including the remote SSE URL, and restart Claude Desktop.
开发工具 分类下的更多 MCP 服务器
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
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
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
评论