サーバー
Building a Remote MCP Server on Cloudflare (Without Auth)
@Aliours
概要
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This example allows you to deploy a remote MCP server on Cloudflare Workers that requires no authentication, using SSE transport for communication. It is intended for developers who want to expose MCP tools over the internet without auth overhead.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy via the "Deploy to Workers" button or use npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. Add custom tools in src/index.ts using this.server.tool(). Connect from Cloudflare AI Playground by entering the SSE URL, or from Claude Desktop using the mcp-remote proxy.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploy to Cloudflare Workers with one click
- No authentication required for access
- Custom tools defined via `this.server