Remote MCP Server on Cloudflare
@lemonhall
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-server01": {
"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?
Remote MCP Server on Cloudflare is a reference implementation that runs a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows developers to deploy MCP tools remotely and connect clients like Claude Desktop over HTTP/SSE.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. Connect the MCP Inspector by switching transport to SSE and entering http://localhost:8787/sse. For Claude Desktop, configure it with the mcp-remote proxy pointing to the same SSE URL. Deploy to Cloudflare Workers by creating a KV namespace, adding its ID to wrangler.jsonc, and running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- OAuth login for authentication
- SSE transport for MCP communication
- Deployable to Cloudflare Workers
- Local development with hot reload
- Compatible with MCP Inspector
- Integrates with Claude Desktop via mcp-remote proxy
Use cases of Remote MCP Server on Cloudflare
- Running MCP tools on a remote server accessible over the internet
- Testing MCP tools locally with MCP Inspector
- Connecting Claude Desktop to remote MCP tools
- Deploying custom MCP servers with minimal infrastructure
FAQ from Remote MCP Server on Cloudflare
What transport type does the server use?
The server uses SSE (Server-Sent Events) transport. In the MCP Inspector, set Transport Type to SSE and enter the URL ending in /sse.
How do I connect Claude Desktop to the server?
Add a configuration entry in Claude Desktop’s config file using npx mcp-remote with the server’s SSE URL (e.g., http://localhost:8787/sse for local, or the workers.dev URL for remote).
How do I deploy the server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How can I debug connection issues?
Restart Claude, try connecting directly with npx mcp-remote http://localhost:8787/sse, or clear the files in ~/.mcp-auth with rm -rf ~/.mcp-auth.
What dependencies are required?
Node.js, npm, Cloudflare Workers CLI (wrangler), and a Cloudflare account for deployment. The project uses the nx build system.
Frequently asked questions
What transport type does the server use?
The server uses SSE (Server-Sent Events) transport. In the MCP Inspector, set Transport Type to `SSE` and enter the URL ending in `/sse`.
How do I connect Claude Desktop to the server?
Add a configuration entry in Claude Desktop’s config file using `npx mcp-remote` with the server’s SSE URL (e.g., `http://localhost:8787/sse` for local, or the `workers.dev` URL for remote).
How do I deploy the server to Cloudflare?
Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
How can I debug connection issues?
Restart Claude, try connecting directly with `npx mcp-remote http://localhost:8787/sse`, or clear the files in `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.
What dependencies are required?
Node.js, npm, Cloudflare Workers CLI (`wrangler`), and a Cloudflare account for deployment. The project uses the `nx` build system.
Basic information
More Cloud & Infrastructure MCP servers
Query | MCP server for Supabase
alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
GCP MCP
eniayomiA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your Google Cloud Platform environment. This allows for natural language querying and management of your GCP resources during conversations.

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Comments