Remote MCP Server on Cloudflare
@kamilzafar
About Remote MCP Server on Cloudflare
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"remote-mcp-server-kamilzafar": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Remote MCP Server on Cloudflare?
Remote MCP Server on Cloudflare is a template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is for developers who want to run MCP tools hosted remotely and connect them to MCP clients like 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. Use the MCP Inspector or configure Claude Desktop using npx mcp-remote with the server’s SSE endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace with npx wrangler kv namespace create OAUTH_KV.
Key features of Remote MCP Server on Cloudflare
- OAuth login built in with a mock login screen
- SSE (Server-Sent Events) transport for MCP communication
- Deploy to Cloudflare Workers with one command
- Local development with hot reload via Nx
- Works with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Developers prototyping a remote MCP server with authentication
- Connecting Claude Desktop to a cloud-hosted MCP tool
- Testing MCP tools locally before deploying to production
- Running a math or custom tool server accessible from anywhere
FAQ from Remote MCP Server on Cloudflare
What transport type does the server use?
The server uses SSE (Server-Sent Events). In the MCP Inspector, set Transport Type to SSE and use the /sse endpoint.
How do I deploy to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to the remote server?
Add a configuration entry using npx mcp-remote with the server’s full workers.dev URL ending in /sse. Restart Claude Desktop.
How can I debug connection issues?
Restart Claude Desktop, or test the server directly with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the ~/.mcp-auth folder.
What are the dependencies for local development?
Node.js, npm, and the Nx build tool. The repository uses nx for running the server locally (npx nx dev remote-mcp-server).
More Cloud & Infrastructure MCP servers
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
Comments