Remote MCP Server on Cloudflare
@rabbah
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"remote-mcp-server-rabbah": {
"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 template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login via browser. It is intended for developers who want to run MCP tools remotely and connect them to clients like Claude Desktop or the MCP Inspector.
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. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. Connect clients by pointing them to the /sse endpoint of the server (e.g., http://localhost:8787/sse locally or the workers.dev URL after deployment). For Claude Desktop, add an mcp-remote proxy entry in the config file pointing to the SSE URL.
Key features of Remote MCP Server on Cloudflare
- Serverless deployment on Cloudflare Workers
- OAuth login flow via browser
- SSE (Server‑Sent Events) transport for MCP
- Local development with hot‑reload
- Works with MCP Inspector and Claude Desktop
- CLI proxy (
mcp-remote) for client connections
Use cases of Remote MCP Server on Cloudflare
- Quickly prototype and deploy custom MCP tools
- Connect Claude Desktop to remote tools behind OAuth
- Demo an MCP server to collaborators without local setup
- Run computation (e.g., math tools) via a cloud worker
FAQ from Remote MCP Server on Cloudflare
What transport does the server use?
It uses SSE (Server‑Sent Events) as the MCP transport layer.
How do I connect Claude Desktop to the server?
Add an entry in Claude’s configuration file with command: "npx" and args: ["mcp-remote", "<sse-url>"] (e.g., http://localhost:8787/sse locally or the remote workers.dev/sse URL).
What dependencies are required to run the server?
You need Node.js, the repository cloned, and npm install. For deployment you also need the Cloudflare Wrangler CLI and a Cloudflare account.
How do I deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the returned KV namespace ID to wrangler.jsonc, then execute npm run deploy.
What can I do if the server doesn’t connect?
Try connecting directly with npx mcp-remote http://localhost:8787/sse on the command line. In rare cases, clear the auth cache with rm -rf ~/.mcp-auth.
Frequently asked questions
What transport does the server use?
It uses SSE (Server‑Sent Events) as the MCP transport layer.
How do I connect Claude Desktop to the server?
Add an entry in Claude’s configuration file with `command: "npx"` and `args: ["mcp-remote", "<sse-url>"]` (e.g., `http://localhost:8787/sse` locally or the remote `workers.dev/sse` URL).
What dependencies are required to run the server?
You need Node.js, the repository cloned, and npm install. For deployment you also need the Cloudflare Wrangler CLI and a Cloudflare account.
How do I deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV`, add the returned KV namespace ID to `wrangler.jsonc`, then execute `npm run deploy`.
What can I do if the server doesn’t connect?
Try connecting directly with `npx mcp-remote http://localhost:8787/sse` on the command line. In rare cases, clear the auth cache with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Muumuu Domain MCP Server
pepaboThe official MCP server for Muumuu Domain by GMO Pepabo, Inc — the first remote MCP server in the Japanese domain registrar industry. Search and register domains, manage owned domains and contracts, and configure DNS rec
Comments