Remote MCP Server on Cloudflare
@swyxio
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pls-ignore-remote-mcp-server": {
"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?
This server enables developers to run a remote Model Context Protocol (MCP) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who need to deploy MCP tools remotely and connect them to clients like Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repo, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy to Cloudflare with npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s SSE endpoint (e.g., http://localhost:8787/sse locally or a workers.dev URL). For Claude Desktop, configure mcpServers with the mcp-remote command pointing to the SSE URL.
Key features of Remote MCP Server on Cloudflare
- Runs as a remote MCP server on Cloudflare Workers.
- Includes OAuth login flow for authentication.
- Uses SSE transport for client-server communication.
- Works with MCP Inspector and Claude Desktop out of the box.
- Provides local development and deployment workflows.
Use cases of Remote MCP Server on Cloudflare
- Running MCP tools remotely and accessing them from any client.
- Connecting Claude Desktop to a secure, cloud-hosted MCP server.
- Deploying scalable MCP infrastructure using Cloudflare Workers.
FAQ from Remote MCP Server on Cloudflare
What transport type does the server use?
The server uses SSE (Server-Sent Events) as the transport protocol.
How do I connect Claude Desktop to the server?
Add an entry to your Claude Desktop configuration file with "command": "npx" and "args": ["mcp-remote", "<SSE-URL>"]. Restart Claude and log in via the browser window that opens.
How do I deploy the server to Cloudflare?
First create a KV namespace with npx wrangler kv namespace create OAUTH_KV and add its ID to wrangler.jsonc. Then run npm run deploy.
How can I debug connection issues?
Restart Claude, or test connectivity directly with npx mcp-remote http://localhost:8787/sse. In rare cases, clear ~/.mcp-auth with rm -rf ~/.mcp-auth.
Frequently asked questions
What transport type does the server use?
The server uses SSE (Server-Sent Events) as the transport protocol.
How do I connect Claude Desktop to the server?
Add an entry to your Claude Desktop configuration file with `"command": "npx"` and `"args": ["mcp-remote", "<SSE-URL>"]`. Restart Claude and log in via the browser window that opens.
How do I deploy the server to Cloudflare?
First create a KV namespace with `npx wrangler kv namespace create OAUTH_KV` and add its ID to `wrangler.jsonc`. Then run `npm run deploy`.
How can I debug connection issues?
Restart Claude, or test connectivity directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
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.
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
Comments