Remote MCP Server on Cloudflare
@Codebrahma
About Remote MCP Server on Cloudflare
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"remote-mcp-server-codebrahma": {
"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 guide and starter template for deploying a remote MCP server on Cloudflare Workers, complete with OAuth login. It is for developers who want to host MCP tools externally and connect them to clients like the MCP Inspector or Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, run locally with npx nx dev remote-mcp-server, then connect clients via SSE at http://localhost:8787/sse. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the ID to wrangler.jsonc, and run npm run deploy. Configure Claude Desktop by adding an entry to its config file that uses npx mcp-remote <URL>/sse.
Key features of Remote MCP Server on Cloudflare
- Local development with hot reload via nx.
- OAuth login flow with mock login screen locally.
- SSE transport for MCP communication.
- Deploy to Cloudflare Workers with KV storage.
- Connect MCP Inspector or Claude Desktop remotely.
Use cases of Remote MCP Server on Cloudflare
- Develop and test MCP tools locally before deploying.
- Host a public MCP server that clients can call remotely.
- Integrate MCP-based tools into Claude Desktop via a remote proxy.
- Learn how to set up OAuth for MCP on Cloudflare Workers.
FAQ from Remote MCP Server on Cloudflare
What runtime does this server require?
It runs on Cloudflare Workers using the wrangler CLI. Local development requires Node.js and npm.
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, and enter the server URL (e.g., http://localhost:8787/sse). Complete the OAuth login to see and call tools.
How do I connect Claude Desktop to a remote deployment?
Update the Claude configuration file to use npx mcp-remote https://your-worker.your-account.workers.dev/sse as the MCP server. Claude will open a browser window for OAuth login.
What happens during OAuth login?
Locally, a mock login screen accepts any email and password. On the deployed server, OAuth is handled via Cloudflare Workers using a KV namespace for session storage.
What transport protocol does this server use?
It uses Server-Sent Events (SSE) as the transport for MCP communication, as shown by the /sse endpoint.
More Cloud & Infrastructure MCP servers
Cloudflare MCP Server
cloudflareK8s 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
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Comments