Remote MCP Server on Cloudflare
@anishone
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-anishone": {
"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 to get a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is for developers who want to deploy and connect MCP tools to clients like Claude Desktop over SSE.
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. Connect via the MCP Inspector by switching transport to SSE and entering http://localhost:8787/sse. Deploy to Cloudflare using npm run deploy after setting up an OAuth KV namespace in wrangler.jsonc. Connect Claude Desktop by configuring the mcpServers JSON with the mcp-remote command and the deployed Workers URL.
Key features of Remote MCP Server on Cloudflare
- Deploy a remote MCP server on Cloudflare Workers.
- Includes OAuth login flow for authentication.
- SSE transport for remote connections.
- Local development with hot reload via Nx.
- Connect to Claude Desktop via a local proxy.
- Debugging support with CLI and credential cleanup.
Use cases of Remote MCP Server on Cloudflare
- Running a serverless math tool MCP server for AI assistants.
- Hosting custom MCP tools and calling them from remote clients.
- Prototyping MCP integrations with OAuth-based user authentication.
- Connecting MCP tools to Claude Desktop in a production-like environment.
FAQ from Remote MCP Server on Cloudflare
How to connect the MCP Inspector to the local server?
Start the inspector with npx @modelcontextprotocol/inspector, switch transport type to SSE, and enter http://localhost:8787/sse as the server URL. A mock login screen will appear; input any email and password to authenticate.
How to connect Claude Desktop to the remote server?
Update Claude Desktop’s configuration file to include an mcpServers entry with the command npx mcp-remote and the args set to your workers.dev URL with the /sse path (e.g., ["https://worker-name.account-name.workers.dev/sse"]).
How to deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV to create a KV namespace, add its ID to wrangler.jsonc, then run npm run deploy to deploy the Worker.
What to do if the connection fails?
Restart Claude, or test the MCP server directly with npx mcp-remote <URL>. If needed, clear cached credentials with rm -rf ~/.mcp-auth.
Frequently asked questions
How to connect the MCP Inspector to the local server?
Start the inspector with `npx @modelcontextprotocol/inspector`, switch transport type to SSE, and enter `http://localhost:8787/sse` as the server URL. A mock login screen will appear; input any email and password to authenticate.
How to connect Claude Desktop to the remote server?
Update Claude Desktop’s configuration file to include an `mcpServers` entry with the command `npx mcp-remote` and the `args` set to your `workers.dev` URL with the `/sse` path (e.g., `["https://worker-name.account-name.workers.dev/sse"]`).
How to deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV` to create a KV namespace, add its ID to `wrangler.jsonc`, then run `npm run deploy` to deploy the Worker.
What to do if the connection fails?
Restart Claude, or test the MCP server directly with `npx mcp-remote <URL>`. If needed, clear cached credentials with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
aws-finops-mcp-server
ravikiranvmAn MCP (Model Context Protocol) server that brings powerful AWS FinOps capabilities directly into your AI assistant. Analyze cloud costs, audit for waste, and get budget insights using natural language, all while keeping your credentials secure on your local machine.
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Cloudflare MCP Server
cloudflareMCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
Comments