Remote MCP Server on Cloudflare
@Eric775430
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"my-mcp-server-eric775430": {
"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 server gets a remote MCP (Model Context Protocol) server up and running on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host an MCP server remotely and connect it to MCP clients like the MCP Inspector or Claude Desktop.
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. Then connect an MCP client (e.g., the MCP Inspector) via SSE at http://localhost:8787/sse. To deploy, use npx wrangler to create a KV namespace, add it to wrangler.jsonc, and run npm run deploy. Connect Claude Desktop by adding an mcpServers entry using mcp-remote pointing to the Workers URL.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with OAuth login
- Supports SSE transport for remote MCP clients
- Works with MCP Inspector and Claude Desktop
- Deployable from a local development environment
Use cases of Remote MCP Server on Cloudflare
- Hosting a remote MCP server for AI assistants like Claude
- Testing MCP tools locally before deploying to production
- Building custom MCP toolchains with Cloudflare’s global edge network
- Integrating OAuth‑protected MCP endpoints into existing applications
FAQ from Remote MCP Server on Cloudflare
What does the Remote MCP Server on Cloudflare provide?
It sets up a remote MCP server on Cloudflare Workers with built‑in OAuth login, enabling secure access to MCP tools from any SSE‑capable client.
How do I deploy the Remote MCP Server on Cloudflare?
First create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy. The server will be available at your Workers subdomain.
How do I connect Claude Desktop to my remote server?
Edit Claude Desktop’s configuration file and add an entry with "command": "npx" and "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]. Restart Claude; a browser window will open for OAuth login.
How can I debug connection issues?
Try restarting Claude, or test the connection directly with npx mcp-remote http://localhost:8787/sse. If authentication files become corrupted, clear them with rm -rf ~/.mcp-auth.
What transport protocol does the server use?
The server uses Server‑Sent Events (SSE) for communication. Clients connect to the /sse endpoint.
Frequently asked questions
What does the Remote MCP Server on Cloudflare provide?
It sets up a remote MCP server on Cloudflare Workers with built‑in OAuth login, enabling secure access to MCP tools from any SSE‑capable client.
How do I deploy the Remote MCP Server on Cloudflare?
First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your Workers subdomain.
How do I connect Claude Desktop to my remote server?
Edit Claude Desktop’s configuration file and add an entry with `"command": "npx"` and `"args": ["mcp-remote", "https://your-worker.workers.dev/sse"]`. Restart Claude; a browser window will open for OAuth login.
How can I debug connection issues?
Try restarting Claude, or test the connection directly with `npx mcp-remote http://localhost:8787/sse`. If authentication files become corrupted, clear them with `rm -rf ~/.mcp-auth`.
What transport protocol does the server use?
The server uses Server‑Sent Events (SSE) for communication. Clients connect to the `/sse` endpoint.
Basic information
More Cloud & Infrastructure MCP servers
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
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.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
🐋 Docker MCP server
ckreilingMCP server for Docker
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.
Comments