Remote MCP Server on Cloudflare
@MCP-Mirror
About Remote MCP Server on Cloudflare
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"LiteraturePro_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?
A template for deploying an MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling remote MCP clients to connect over HTTP via SSE (Server-Sent Events).
How to use Remote MCP Server on Cloudflare?
Clone the repository (github.com/cloudflare/ai), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. Then connect the MCP Inspector or Claude Desktop by configuring the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare using npm run deploy after creating an OAuth KV namespace.
Key features of Remote MCP Server on Cloudflare
- Deploy on Cloudflare Workers with OAuth authentication
- Local development with hot‑reload via Nx
- SSE transport for remote MCP client connections
- Compatible with MCP Inspector for testing
- Integrates with Claude Desktop via a local proxy (
mcp-remote) - Includes mock login for local development
Use cases of Remote MCP Server on Cloudflare
- Deploy a secure, remotely accessible MCP server for AI assistants
- Connect Claude Desktop to an MCP tool server hosted on Cloudflare
- Prototype MCP tools locally with full OAuth flow simulation
- Enable multiple remote clients to call server tools over the internet
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repo, run npx nx dev remote-mcp-server, then open http://localhost:8787/ in a browser.
How can I test the MCP server after deploying?
Use npx @modelcontextprotocol/inspector@latest, enter your workers.dev URL with /sse as the SSE endpoint, and connect.
How do I connect Claude Desktop to the server?
Edit Claude’s configuration file to add an mcpServers entry that uses {"command": "npx", "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]}.
What are the deployment requirements?
A Cloudflare account, Node.js, npm, and Wrangler CLI. You must create an OAUTH_KV namespace and add its ID to wrangler.jsonc.
How do I debug connection issues?
Restart Claude or test directly with npx mcp-remote http://localhost:8787/sse. If needed, clear the files in ~/.mcp-auth with rm -rf ~/.mcp-auth.
Frequently asked questions
How do I run the server locally?
Clone the repo, run `npx nx dev remote-mcp-server`, then open `http://localhost:8787/` in a browser.
How can I test the MCP server after deploying?
Use `npx @modelcontextprotocol/inspector@latest`, enter your `workers.dev` URL with `/sse` as the SSE endpoint, and connect.
How do I connect Claude Desktop to the server?
Edit Claude’s configuration file to add an `mcpServers` entry that uses `{"command": "npx", "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]}`.
What are the deployment requirements?
A Cloudflare account, Node.js, npm, and Wrangler CLI. You must create an `OAUTH_KV` namespace and add its ID to `wrangler.jsonc`.
How do I debug connection issues?
Restart Claude or test directly with `npx mcp-remote http://localhost:8787/sse`. If needed, clear the files in `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
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.
Kubernetes MCP Server
reza-gholizadeManage Your Kubernetes Cluster with k8s mcp-server
Query | MCP server for Supabase
alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
Comments