Building a Remote MCP Server on Cloudflare (Without Auth)
@awpthorp
关于 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 example allows you to deploy a remote MCP server that doesn’t require authentication on Cloudflare Workers. It is for developers who want a quick, serverless MCP endpoint with no auth overhead.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy by clicking 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. Connect from Cloudflare AI Playground (enter your deployed URL) or from Claude Desktop using the mcp-remote proxy.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploys directly to Cloudflare Workers with no authentication.
- Includes a one-click deploy button for fast setup.
- Provides a template for custom MCP tools via
this.server.tool(...). - Connects to Cloudflare AI Playground as a remote client.
- Works with local MCP clients using the
mcp-remoteproxy.
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Hosting a public MCP tool server for demos or internal use without auth complexity.
- Integrating custom MCP tools with Cloudflare AI Playground.
- Connecting remote MCP tools to Claude Desktop via a proxy.
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
What prerequisites are needed?
You need a Cloudflare account and npm to run the npm create cloudflare command. No authentication is required for the MCP server itself.
How do I add my own tools?
Define each tool inside the init() method of src/index.ts using this.server.tool(...). See Cloudflare’s tools documentation for details.
What is the deployed URL format?
The URL will be like remote-mcp-server-authless.<your-account>.workers.dev/sse.
How do I connect from Claude Desktop?
Use the mcp-remote npm package as a proxy. In Claude Desktop’s MCP configuration, set the command to npx mcp-remote with the server’s SSE URL as an argument.
Does this server support authentication?
No, this example explicitly deploys a remote MCP server without authentication.
开发工具 分类下的更多 MCP 服务器
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
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
test
prysmaticlabsGo implementation of Ethereum proof of stake
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
评论