Remote MCP Server on Cloudflare
@bright-spark
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cloudflare-mcp-server": {
"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 starter repository that gets a remote MCP (Model Context Protocol) server running on Cloudflare Workers with OAuth login. It is intended for developers who want to deploy and connect MCP tools to 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. To connect MCP clients, use the SSE endpoint (e.g., http://localhost:8787/sse locally) with tools like the MCP Inspector or mcp-remote proxy. Deploy to Cloudflare with npm run deploy after creating an OAUTH_KV namespace with Wrangler.
Key features of Remote MCP Server on Cloudflare
- Remote MCP server hosted on Cloudflare Workers
- OAuth login built in
- Local development with hot reload via Nx
- SSE transport for MCP communication
- Works with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Deploy an MCP server with authentication to a global edge network
- Connect Claude Desktop to custom MCP tools over the internet
- Prototype and test MCP servers locally before deploying
- Use OAuth-protected MCP tools in remote client applications
FAQ from Remote MCP Server on Cloudflare
How do I run the MCP server locally?
Clone the repository, run npm install, then execute npx nx dev remote-mcp-server and open http://localhost:8787/ in your browser.
How do I connect the MCP Inspector to the server?
Start the inspector with npx @modelcontextprotocol/inspector, switch Transport Type to SSE, enter http://localhost:8787/sse (or your deployed URL) as the URL, and click Connect. You will be prompted to log in.
How do I connect Claude Desktop to the server?
Add an mcpServers entry to Claude Desktop’s config file using npx mcp-remote as the command and your server’s SSE URL (e.g., http://localhost:8787/sse locally or your workers.dev URL) as an argument, then restart Claude.
How do I deploy the server to Cloudflare?
Create an OAUTH_KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy.
How do I debug connection issues?
Restart Claude, or test directly from the command line with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the files in ~/.mcp-auth with rm -rf ~/.mcp-auth.
Frequently asked questions
How do I run the MCP server locally?
Clone the repository, run `npm install`, then execute `npx nx dev remote-mcp-server` and open `http://localhost:8787/` in your browser.
How do I connect the MCP Inspector to the server?
Start the inspector with `npx @modelcontextprotocol/inspector`, switch Transport Type to SSE, enter `http://localhost:8787/sse` (or your deployed URL) as the URL, and click Connect. You will be prompted to log in.
How do I connect Claude Desktop to the server?
Add an `mcpServers` entry to Claude Desktop’s config file using `npx mcp-remote` as the command and your server’s SSE URL (e.g., `http://localhost:8787/sse` locally or your `workers.dev` URL) as an argument, then restart Claude.
How do I deploy the server to Cloudflare?
Create an `OAUTH_KV` namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`.
How do I debug connection issues?
Restart Claude, or test directly from the command line with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the files in `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati

Nippy
NippyNippy is drag-and-drop hosting (nippy.host) with an MCP server: connect it and your assistant can publish HTML, folders of photos, or file downloads to a live *.nippy.site URL — and keep editing the site in place at the
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
Comments