Remote MCP Server on Cloudflare
@hamishll
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-hamishll": {
"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 to run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to expose MCP tools over HTTP and connect them to clients like Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run npx nx dev remote-mcp-server to start locally. Deploy with npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, and run npm run deploy. Connect clients (e.g., MCP Inspector or Claude Desktop) using the /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Remote MCP server deployed on Cloudflare Workers.
- OAuth-based authentication for login.
- Supports SSE (Server-Sent Events) transport.
- Local development with MCP Inspector.
- Easy integration with Claude Desktop.
- Debugging via command-line proxy (
mcp-remote).
Use cases of Remote MCP Server on Cloudflare
- Hosting MCP tools accessible from any remote MCP client.
- Connecting Claude Desktop to a cloud-based MCP server.
- Testing MCP server functionality locally before deployment.
- Building custom MCP tools with Cloudflare Workers.
FAQ from Remote MCP Server on Cloudflare
How do I connect Claude Desktop to a remote MCP server?
Edit Claude Desktop’s config file (Settings > Developer > Edit Config) and add an entry with command: "npx", args: ["mcp-remote", "<workers.dev URL>/sse"].
What transport does Remote MCP Server on Cloudflare use?
The server uses SSE (Server-Sent Events) transport, accessed via the /sse endpoint on the Worker’s URL.
What dependencies or runtime are required?
Local development requires Node.js and npm. The server runs on Cloudflare Workers, which is a serverless environment; a KV namespace (OAUTH_KV) must be created for OAuth state.
How can I debug connection issues?
Restart Claude or test connectivity directly with npx mcp-remote http://localhost:8787/sse. Clearing ~/.mcp-auth may help in rare cases.
Does the server require authentication?
Yes, the server includes OAuth login. During local development with the MCP Inspector, a mock login screen is shown; in production, OAuth is handled by Cloudflare Workers.
Frequently asked questions
How do I connect Claude Desktop to a remote MCP server?
Edit Claude Desktop’s config file (Settings > Developer > Edit Config) and add an entry with `command: "npx"`, `args: ["mcp-remote", "<workers.dev URL>/sse"]`.
What transport does Remote MCP Server on Cloudflare use?
The server uses SSE (Server-Sent Events) transport, accessed via the `/sse` endpoint on the Worker’s URL.
What dependencies or runtime are required?
Local development requires Node.js and npm. The server runs on Cloudflare Workers, which is a serverless environment; a KV namespace (`OAUTH_KV`) must be created for OAuth state.
How can I debug connection issues?
Restart Claude or test connectivity directly with `npx mcp-remote http://localhost:8787/sse`. Clearing `~/.mcp-auth` may help in rare cases.
Does the server require authentication?
Yes, the server includes OAuth login. During local development with the MCP Inspector, a mock login screen is shown; in production, OAuth is handled by Cloudflare Workers.
Basic information
More Cloud & Infrastructure MCP servers
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
GCP MCP
eniayomiA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your Google Cloud Platform environment. This allows for natural language querying and management of your GCP resources during conversations.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
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.
Comments