Remote MCP Server on Cloudflare
@whoesli
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-whoesli": {
"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?
Remote MCP Server on Cloudflare is a template for deploying a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It allows AI clients like Claude Desktop to call tools hosted on Cloudflare’s edge network via SSE transport.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect via the MCP Inspector by selecting SSE transport and entering http://localhost:8787/sse. For Claude Desktop, configure mcpServers in the Claude config file using npx mcp-remote http://localhost:8787/sse. Deploy to Cloudflare with npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, and run npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global edge deployment.
- Includes OAuth login flow.
- Uses SSE transport for MCP communication.
- Provides a math tool (add) as an example.
- Integrates with MCP Inspector for testing.
- Works with Claude Desktop via a local proxy.
Use cases of Remote MCP Server on Cloudflare
- Hosting custom MCP tools for AI assistants on a serverless platform.
- Testing MCP tool development locally before deploying globally.
- Connecting Claude Desktop to remote tools for extended functionality.
FAQ from Remote MCP Server on Cloudflare
How do I run the MCP server locally?
Clone the repo, install dependencies, and run npx nx dev remote-mcp-server. Access the server at http://localhost:8787/.
How do I connect Claude Desktop to the remote server?
Add a configuration entry in Claude Desktop’s config file with command npx mcp-remote and args ["https://worker-name.account-name.workers.dev/sse"].
How do I deploy the server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy.
What transport does the server use?
It uses SSE (Server-Sent Events) as the transport protocol.
How do I debug connection issues?
Restart Claude, try connecting directly via npx mcp-remote http://localhost:8787/sse, or clear cached auth files by removing the ~/.mcp-auth directory.
Frequently asked questions
How do I run the MCP server locally?
Clone the repo, install dependencies, and run `npx nx dev remote-mcp-server`. Access the server at `http://localhost:8787/`.
How do I connect Claude Desktop to the remote server?
Add a configuration entry in Claude Desktop’s config file with command `npx mcp-remote` and args `["https://worker-name.account-name.workers.dev/sse"]`.
How do I deploy the server to Cloudflare?
Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`.
What transport does the server use?
It uses SSE (Server-Sent Events) as the transport protocol.
How do I debug connection issues?
Restart Claude, try connecting directly via `npx mcp-remote http://localhost:8787/sse`, or clear cached auth files by removing the `~/.mcp-auth` directory.
Basic information
More Cloud & Infrastructure MCP servers
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
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
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.
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Comments