What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare lets you deploy a Model Context Protocol server on Cloudflare Workers with OAuth login. It provides a way to run and expose MCP tools remotely, connectable via SSE transport from clients like the MCP Inspector or Claude Desktop.
How to use Remote MCP Server on Cloudflare?
To set it up locally, clone the repository, install dependencies with pnpm install, and run npx nx dev remote-mcp-server. Connect using the MCP Inspector with SSE transport at http://localhost:8787/sse, or configure Claude Desktop with the mcp-remote proxy pointing to the local SSE URL. For production, deploy with npm run deploy after creating a KV namespace for OAuth storage.
Key features of Remote MCP Server on Cloudflare
- Runs MCP server on Cloudflare Workers with OAuth authentication
- Supports SSE transport for remote MCP clients
- Works with MCP Inspector and Claude Desktop
- Deployable from local development to production
Use cases of Remote MCP Server on Cloudflare
- Expose MCP tools to Claude Desktop via a remote server
- Test MCP server endpoints locally before deploying
- Create a shareable, authenticated MCP tool API on Cloudflare’s edge
评论