Remote MCP Server on Cloudflare
@zheroz00
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cf-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 guide and starter to set up a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling AI clients to interact with tools over HTTP.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy by creating a KV namespace for OAuth with npx wrangler kv namespace create OAUTH_KV, adding the namespace ID to wrangler.jsonc, and running npm run deploy. Connect MCP clients (e.g., the MCP Inspector or Claude Desktop) by pointing them to the server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with OAuth login
- Uses SSE (Server-Sent Events) transport
- Supports local development and remote deployment
- Integrates with MCP Inspector for testing
- Connects to Claude Desktop via a remote proxy
Use cases of Remote MCP Server on Cloudflare
- Develop and test an MCP server locally before deploying
- Deploy a remotely accessible MCP server on Cloudflare Workers
- Connect Claude Desktop to a remote MCP server with OAuth
- Explore and debug MCP tools using the MCP Inspector
FAQ from Remote MCP Server on Cloudflare
How do I develop the server locally?
Clone the repository, run npm install, and then npx nx dev remote-mcp-server. Open http://localhost:8787/ in a browser.
How do I deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the returned namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to the remote server?
Add an mcpServers entry in Claude Desktop’s config with the command npx mcp-remote and the server’s https://<worker-name>.<account-name>.workers.dev/sse URL.
What transport does the server use?
The server communicates via SSE (Server-Sent Events) over HTTP.
How can I debug connection issues?
Restart Claude, try connecting directly with npx mcp-remote http://localhost:8787/sse, or clear the auth files with rm -rf ~/.mcp-auth.
Frequently asked questions
How do I develop the server locally?
Clone the repository, run `npm install`, and then `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in a browser.
How do I deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV`, add the returned namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
How do I connect Claude Desktop to the remote server?
Add an `mcpServers` entry in Claude Desktop’s config with the command `npx mcp-remote` and the server’s `https://<worker-name>.<account-name>.workers.dev/sse` URL.
What transport does the server use?
The server communicates via SSE (Server-Sent Events) over HTTP.
How can I debug connection issues?
Restart Claude, try connecting directly with `npx mcp-remote http://localhost:8787/sse`, or clear the auth files with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
🐋 Docker MCP server
ckreilingMCP server for Docker
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.
Cloudflare MCP Server
cloudflareAzure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Comments