Servers
Building a Remote MCP Server on Cloudflare (Without Auth)
@cyaraon
Overview
What is Building a Remote MCP Server on Cloudflare (Without Auth)?
It is a template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers that requires no authentication. It is designed for developers who want a quick, publicly accessible MCP endpoint without adding auth.
How to use Building a Remote MCP Server on Cloudflare (Without Auth)?
Deploy by clicking the “Deploy to Workers” button or running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the command line. Customize tools by editing src/index.ts using this.server.tool(...) inside the init() method. Connect from the Cloudflare AI Playground by entering the deployed SSE URL, or from Claude Desktop using the mcp-remote proxy with that URL.
Key features of Building a Remote MCP Server on Cloudflare (Without Auth)
- One-click deploy to Cloudflare Workers
- No authentication required
- Uses SSE (Server-Sent Events) transport
- Customizable tools via TypeScript in
src/index.ts - Connectable from Cloudflare AI Playground and Claude Desktop
Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)
- Deploying a public MCP server quickly without configuring auth
- Testing MCP tools from the Cloudflare AI Playground
- Connecting MCP tools to Claude Desktop via a remote proxy
- Prototyping MCP servers on Cloudflare’s edge
FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)
What transport protocol does it use?
It uses SSE (Server-Sent