Remote MCP Server on Cloudflare
@su27mig31
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-su27mig31": {
"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?
A template repository to quickly set up a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is intended for developers who want to expose MCP tools to remote clients such as Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with pnpm (pnpm install), and run locally with npx nx dev remote-mcp-server. For deployment, create a KV namespace for OAuth (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy. Connect any MCP client (Inspector or Claude Desktop) via SSE to the server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- OAuth login for secure remote access
- SSE (Server-Sent Events) transport for MCP
- Deploy on Cloudflare Workers (global, low-latency)
- Works with the official MCP Inspector and Claude Desktop
- Local development workflow using Nx and pnpm
Use cases of Remote MCP Server on Cloudflare
- Provide a remote, OAuth-protected MCP server for LLM tools
- Connect Claude Desktop to a custom MCP server running in the cloud
- Build and test MCP tools locally, then deploy them globally
- Share MCP tools across teams via an authenticated endpoint
FAQ from Remote MCP Server on Cloudflare
What dependencies are required?
The project uses pnpm, Node.js, and Nx. For deployment, the Cloudflare Wrangler CLI and a Cloudflare account are needed.
How do I debug connection issues?
Restart Claude, or test the server directly with the command npx mcp-remote <URL>. Clearing the local auth cache (rm -rf ~/.mcp-auth) can also help.
Where are OAuth data stored?
The server uses a Cloudflare KV namespace (OAUTH_KV) to manage OAuth state and tokens.
Does this support HTTPS?
Yes, when deployed on Cloudflare Workers, the server is served over HTTPS using the worker’s workers.dev subdomain.
Which transport does the server use?
The MCP server communicates via SSE (Server-Sent Events) at the /sse endpoint.
Frequently asked questions
What dependencies are required?
The project uses pnpm, Node.js, and Nx. For deployment, the Cloudflare Wrangler CLI and a Cloudflare account are needed.
How do I debug connection issues?
Restart Claude, or test the server directly with the command `npx mcp-remote <URL>`. Clearing the local auth cache (`rm -rf ~/.mcp-auth`) can also help.
Where are OAuth data stored?
The server uses a Cloudflare KV namespace (`OAUTH_KV`) to manage OAuth state and tokens.
Does this support HTTPS?
Yes, when deployed on Cloudflare Workers, the server is served over HTTPS using the worker’s `workers.dev` subdomain.
Which transport does the server use?
The MCP server communicates via SSE (Server-Sent Events) at the `/sse` endpoint.
Basic information
More Cloud & Infrastructure MCP servers
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Mcp K8s Go
strowkMCP server connecting to Kubernetes
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