Remote MCP Server on Cloudflare
@Cam10001110101
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-cam10001110101": {
"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 to run a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It enables MCP clients to connect to tools over SSE, whether locally during development or remotely after deployment.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run npx nx dev remote-mcp-server to develop locally. For production, deploy using npm run deploy after creating a KV namespace (OAUTH_KV) and adding its ID to wrangler.jsonc. Clients connect via the SSE endpoint (e.g., /sse), and you can use the MCP Inspector or configure Claude Desktop with a local proxy (mcp-remote).
Key features of Remote MCP Server on Cloudflare?
- Remote MCP server on Cloudflare Workers
- OAuth login built in
- SSE transport for client-server communication
- Local development with live reload
- Easy deployment via wrangler
Use cases of Remote MCP Server on Cloudflare?
- Hosting MCP tools accessible from any remote client
- Rapid prototyping of MCP servers with Cloudflare’s edge infrastructure
- Connecting Claude Desktop to a cloud-hosted tool server with authentication
- Testing and debugging MCP tools with the official MCP Inspector
FAQ from Remote MCP Server on Cloudflare
How do I develop the server locally?
Clone the repo, run npm install, then npx nx dev remote-mcp-server to start a local instance at http://localhost:8787/.
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector, set transport to SSE, and enter http://localhost:8787/sse (or your deployed URL) as the server URL. Complete the mock login to browse and invoke tools.
How do I connect Claude Desktop to the server?
Edit Claude Desktop’s configuration (claude_desktop_config.json) to point to the local or remote SSE URL via a local proxy: use the mcp-remote command with the appropriate URL and restart Claude.
How do I deploy the server to Cloudflare?
Create a KV namespace named OAUTH_KV with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. The server will be available at your workers.dev subdomain.
What transport does the server use?
The server uses Server-Sent Events (SSE) for communication. All client connections must specify the /sse endpoint.
Frequently asked questions
How do I develop the server locally?
Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server` to start a local instance at `http://localhost:8787/`.
How do I connect the MCP Inspector?
Start the inspector with `npx @modelcontextprotocol/inspector`, set transport to SSE, and enter `http://localhost:8787/sse` (or your deployed URL) as the server URL. Complete the mock login to browse and invoke tools.
How do I connect Claude Desktop to the server?
Edit Claude Desktop’s configuration (`claude_desktop_config.json`) to point to the local or remote SSE URL via a local proxy: use the `mcp-remote` command with the appropriate URL and restart Claude.
How do I deploy the server to Cloudflare?
Create a KV namespace named `OAUTH_KV` with `npx wrangler kv namespace create OAUTH_KV`, add its ID to `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your `workers.dev` subdomain.
What transport does the server use?
The server uses Server-Sent Events (SSE) for communication. All client connections must specify the `/sse` endpoint.
Basic information
More Cloud & Infrastructure MCP servers
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Cloudflare MCP Server
cloudflarecontainer-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
MCP Gateway
mcp-ecosystem🧩 MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
Comments