What is Building a Remote MCP Server on Cloudflare (Without Auth)?
This server lets you deploy a remote MCP server with no authentication on Cloudflare Workers. It provides a Server-Sent Events (SSE) endpoint for connecting MCP clients like Cloudflare AI Playground or Claude Desktop, and allows custom tools defined in the worker code.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools in src/index.ts inside the init() method using this.server.tool(...). Connect remote clients by providing the deployed SSE URL (e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse). For Claude Desktop, use the mcp-remote proxy and configure the server in Settings > Developer > Edit Config.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deployed on Cloudflare Workers
- No authentication required
- Customizable tools via
this.server.tool()
- Supports Server-Sent Events (SSE) transport
- Works with Cloudflare AI Playground remotely
- Connects to Claude Desktop via mcp-remote proxy
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Provide MCP tools to Cloudflare AI Playground without a local server
- Connect Claude Desktop to a cloud-hosted MCP server
- Quickly prototype and share MCP tools with a public URL
- Enable MCP functionality without managing authentication
コメント