Remote MCP Server on Cloudflare
@bhatiarajesh
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-bhatiarajesh": {
"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 reference implementation that gets a remote MCP server running on Cloudflare Workers with OAuth login. It is intended for developers who want to build and deploy MCP servers accessible over the internet.
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. Deploy using npx wrangler kv namespace create OAUTH_KV, update wrangler.jsonc with the KV namespace ID, and run npm run deploy. Connect clients (MCP Inspector, Claude Desktop) via SSE at the server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global deployment
- OAuth login flow integrated into the server
- Communicates via SSE (Server-Sent Events) transport
- Supports local development with hot-reload
- Works with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Deploy an MCP server publicly without managing infrastructure
- Test and debug MCP tools locally before deploying
- Connect Claude Desktop to a remote MCP server for AI tool use
- Build a template for your own cloud‑hosted MCP server
FAQ from Remote MCP Server on Cloudflare
What runtime does this server require?
Node.js and npm are needed for local development; a Cloudflare account is required for deployment.
How is authentication handled?
The server uses an OAuth login flow. During local development a mock login screen appears; after deployment, the real OAuth flow is used.
What transport protocol does the server use?
The server uses SSE (Server‑Sent Events) over HTTP. Clients connect to the server’s /sse endpoint.
How do I connect Claude Desktop to the server?
Update Claude’s configuration file to use npx mcp-remote with the server’s URL (e.g., https://worker-name.account-name.workers.dev/sse). Claude will open a browser window for OAuth login.
Where does authentication data live?
The README mentions that clearing ~/.mcp-auth can help during debugging, indicating OAuth tokens are stored locally in that directory.
Frequently asked questions
What runtime does this server require?
Node.js and npm are needed for local development; a Cloudflare account is required for deployment.
How is authentication handled?
The server uses an OAuth login flow. During local development a mock login screen appears; after deployment, the real OAuth flow is used.
What transport protocol does the server use?
The server uses SSE (Server‑Sent Events) over HTTP. Clients connect to the server’s `/sse` endpoint.
How do I connect Claude Desktop to the server?
Update Claude’s configuration file to use `npx mcp-remote` with the server’s URL (e.g., `https://worker-name.account-name.workers.dev/sse`). Claude will open a browser window for OAuth login.
Where does authentication data live?
The README mentions that clearing `~/.mcp-auth` can help during debugging, indicating OAuth tokens are stored locally in that directory.
Basic information
More Cloud & Infrastructure MCP servers
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
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
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Comments