What is Remote MCP Server on Cloudflare?
A starter that enables you to run an MCP (Model Context Protocol) server on Cloudflare Workers with OAuth-based login, allowing AI clients like Claude Desktop to invoke tools remotely over SSE.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare using npm run deploy after creating an OAuth KV namespace with npx wrangler kv namespace create OAUTH_KV. Connect clients by pointing them to the /sse endpoint of your server.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global edge deployment.
- Includes OAuth login flow out of the box.
- Uses SSE transport for real‑time communication.
- Supports local development with MCP Inspector.
- Compatible with Claude Desktop via the
mcp-remote proxy.
Use cases of Remote MCP Server on Cloudflare
- Deploy an MCP server that AI assistants can call from anywhere.
- Provide authenticated tool access to Claude Desktop over the internet.
- Prototype and test MCP tools locally before production deployment.
评论