Remote MCP Server on Cloudflare
@kentcdodds
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cloudflare-remote-mcp-server": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Remote MCP Server on Cloudflare?
A reference implementation that deploys a remote MCP server on Cloudflare Workers with OAuth login, enabling secure, remote tool access over SSE.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run npx nx dev remote-mcp-server for local development. Deploy with npm run deploy after configuring a KV namespace for OAuth storage. Connect MCP clients (e.g., MCP Inspector or Claude Desktop) by pointing them to the server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Deployable to Cloudflare Workers with built-in OAuth login.
- Supports local development and remote client connections via SSE.
- Works with MCP Inspector for testing and debugging tools.
- Integrates with Claude Desktop through a local proxy (
mcp-remote). - Uses Cloudflare KV for OAuth state management.
Use cases of Remote MCP Server on Cloudflare
- Running MCP tools on a serverless edge platform for low-latency access.
- Providing authenticated, remote tool calling to Claude Desktop clients.
- Prototyping and testing MCP servers locally before production deployment.
- Building custom math or utility tools that Claude can invoke remotely.
FAQ from Remote MCP Server on Cloudflare
What dependencies are required to run the server locally?
You need Node.js, npm, and the repository cloned. Run npm install then npx nx dev remote-mcp-server.
How do I deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV to create a KV namespace, add its ID to wrangler.jsonc, then run npm run deploy.
How can I connect Claude Desktop to the server?
Add an entry to Claude Desktop’s config with command: "npx", args: ["mcp-remote", "http://localhost:8787/sse"] for local, or the deployed workers.dev/sse URL for remote.
What transport type does the server use?
It uses SSE (Server-Sent Events) at the /sse endpoint.
How do I debug connection issues?
Restart Claude, or test directly with npx mcp-remote http://localhost:8787/sse. Clearing ~/.mcp-auth may help if OAuth state is stale.
Frequently asked questions
What dependencies are required to run the server locally?
You need Node.js, npm, and the repository cloned. Run `npm install` then `npx nx dev remote-mcp-server`.
How do I deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy`.
How can I connect Claude Desktop to the server?
Add an entry to Claude Desktop’s config with `command: "npx"`, `args: ["mcp-remote", "http://localhost:8787/sse"]` for local, or the deployed `workers.dev/sse` URL for remote.
What transport type does the server use?
It uses SSE (Server-Sent Events) at the `/sse` endpoint.
How do I debug connection issues?
Restart Claude, or test directly with `npx mcp-remote http://localhost:8787/sse`. Clearing `~/.mcp-auth` may help if OAuth state is stale.
Basic information
More Cloud & Infrastructure MCP servers
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
Comments