Remote MCP Server on Cloudflare
@anishone
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-test1": {
"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 for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, enabling secure tool access from any MCP client.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, run locally with npx nx dev remote-mcp-server, then deploy via npm run deploy. Connect clients using the SSE endpoint (e.g., http://localhost:8787/sse). Use the MCP Inspector or configure Claude Desktop with a mcp-remote proxy to the server’s URL.
Key features of Remote MCP Server on Cloudflare
- OAuth login for secure remote access
- Deployable to Cloudflare Workers (edge network)
- Uses SSE (Server-Sent Events) transport
- Local development with MCP Inspector support
- Integration with Claude Desktop via
mcp-remoteproxy - Mock authentication for testing
Use cases of Remote MCP Server on Cloudflare
- Running remote MCP tools accessible from any MCP client
- Providing a secure, authenticated MCP server on the edge
- Testing MCP tool integration with Cloudflare Workers
- Deploying custom MCP servers with OAuth authentication
FAQ from Remote MCP Server on Cloudflare
What transport protocol does the server use?
The server uses SSE (Server-Sent Events) transport, with the endpoint /sse.
How do I deploy to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to the server?
Configure Claude Desktop’s mcpServers with the mcp-remote command and the server’s SSE URL (e.g., http://localhost:8787/sse locally or https://worker-name.account-name.workers.dev/sse when deployed).
How do I debug connection issues?
Restart Claude, or test the connection using npx mcp-remote <url>. If needed, clear cached auth files with rm -rf ~/.mcp-auth.
Does the server require authentication?
Yes, it includes OAuth login. Locally, a mock login screen accepts any email and password; when deployed, real OAuth is used.
Frequently asked questions
What transport protocol does the server use?
The server uses SSE (Server-Sent Events) transport, with the endpoint `/sse`.
How do I deploy to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
How do I connect Claude Desktop to the server?
Configure Claude Desktop’s `mcpServers` with the `mcp-remote` command and the server’s SSE URL (e.g., `http://localhost:8787/sse` locally or `https://worker-name.account-name.workers.dev/sse` when deployed).
How do I debug connection issues?
Restart Claude, or test the connection using `npx mcp-remote <url>`. If needed, clear cached auth files with `rm -rf ~/.mcp-auth`.
Does the server require authentication?
Yes, it includes OAuth login. Locally, a mock login screen accepts any email and password; when deployed, real OAuth is used.
Basic information
More Cloud & Infrastructure MCP servers
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
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.
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
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.
Comments