What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a template to deploy a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It enables AI clients like Claude Desktop to securely call tools over the internet via SSE transport.
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. For remote use, deploy with npm run deploy after creating a KV namespace (npx wrangler kv namespace create OAUTH_KV). Connect clients using the MCP Inspector with SSE transport or via Claude Desktop using the mcp-remote proxy pointing to the server URL.
Key features of Remote MCP Server on Cloudflare
- Runs MCP server on Cloudflare Workers with OAuth login
- Uses SSE (Server-Sent Events) transport for real-time communication
- Supports local development with live reload
- Enables remote tool calling from any MCP client
- Includes built-in OAuth authentication flow
- Integrates with Claude Desktop via
mcp-remote proxy
- Offers MCP Inspector support for testing and debugging
Use cases of Remote MCP Server on Cloudflare
- Expose an MCP server publicly so AI assistants can call tools from anywhere
- Add OAuth-secured remote tool access to Claude Desktop
- Deploy an MCP server on Cloudflare’s global edge network
- Develop and test MCP tools locally before deploying to production
コメント