Remote MCP Server on Cloudflare
@BilalAltundag
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-bilalaltundag": {
"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?
This guide walks through setting up a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to run an MCP server accessible over the internet and connect it to clients such as Claude Desktop.
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. To connect clients, use the MCP Inspector with SSE transport (http://localhost:8787/sse) or configure Claude Desktop with the mcp-remote proxy pointing to the same URL. For production, deploy by setting up an OAuth KV namespace and running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Full OAuth login flow built in.
- Deploys to Cloudflare Workers for global reach.
- Uses SSE (Server-Sent Events) transport.
- Works with MCP Inspector for testing.
- Connects directly to Claude Desktop.
- Supports both local and remote operation.
Use cases of Remote MCP Server on Cloudflare
- Running a private MCP server accessible from anywhere.
- Integrating custom MCP tools with Claude Desktop.
- Testing and debugging MCP implementations with the Inspector.
- Deploying a production-ready remote MCP server on Cloudflare’s edge network.
FAQ from Remote MCP Server on Cloudflare
What transport does the server use?
Server-Sent Events (SSE) at the /sse endpoint.
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 URL (e.g., http://localhost:8787/sse or the deployed workers.dev URL).
How do I deploy the server to production?
Create a KV namespace for OAuth (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy.
How can I debug connection issues?
Restart Claude, test directly with npx mcp-remote <URL>, or clear cached auth files in ~/.mcp-auth.
What is the OAuth login flow?
The server presents a mock login screen (email/password) during local development; after deployment it uses a Cloudflare Workers OAuth integration.
Frequently asked questions
What transport does the server use?
Server-Sent Events (SSE) at the `/sse` endpoint.
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 URL (e.g., `http://localhost:8787/sse` or the deployed `workers.dev` URL).
How do I deploy the server to production?
Create a KV namespace for OAuth (`npx wrangler kv namespace create OAUTH_KV`), add its ID to `wrangler.jsonc`, then run `npm run deploy`.
How can I debug connection issues?
Restart Claude, test directly with `npx mcp-remote <URL>`, or clear cached auth files in `~/.mcp-auth`.
What is the OAuth login flow?
The server presents a mock login screen (email/password) during local development; after deployment it uses a Cloudflare Workers OAuth integration.
Basic information
More Cloud & Infrastructure MCP servers
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
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.
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Comments