Remote MCP Server on Cloudflare
@kamilzafar
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-kamilzafar": {
"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?
Remote MCP Server on Cloudflare is a template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is for developers who want to run MCP tools hosted remotely and connect them to MCP clients like Claude Desktop.
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. Use the MCP Inspector or configure Claude Desktop using npx mcp-remote with the server’s SSE endpoint. Deploy to Cloudflare with npm run deploy after creating a KV namespace with npx wrangler kv namespace create OAUTH_KV.
Key features of Remote MCP Server on Cloudflare
- OAuth login built in with a mock login screen
- SSE (Server-Sent Events) transport for MCP communication
- Deploy to Cloudflare Workers with one command
- Local development with hot reload via Nx
- Works with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Developers prototyping a remote MCP server with authentication
- Connecting Claude Desktop to a cloud-hosted MCP tool
- Testing MCP tools locally before deploying to production
- Running a math or custom tool server accessible from anywhere
FAQ from Remote MCP Server on Cloudflare
What transport type does the server use?
The server uses SSE (Server-Sent Events). In the MCP Inspector, set Transport Type to SSE and use the /sse endpoint.
How do I deploy to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to the remote server?
Add a configuration entry using npx mcp-remote with the server’s full workers.dev URL ending in /sse. Restart Claude Desktop.
How can I debug connection issues?
Restart Claude Desktop, or test the server directly with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the ~/.mcp-auth folder.
What are the dependencies for local development?
Node.js, npm, and the Nx build tool. The repository uses nx for running the server locally (npx nx dev remote-mcp-server).
Frequently asked questions
What transport type does the server use?
The server uses SSE (Server-Sent Events). In the MCP Inspector, set Transport Type to `SSE` and use the `/sse` endpoint.
How do I deploy to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV`, add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
How do I connect Claude Desktop to the remote server?
Add a configuration entry using `npx mcp-remote` with the server’s full `workers.dev` URL ending in `/sse`. Restart Claude Desktop.
How can I debug connection issues?
Restart Claude Desktop, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear the `~/.mcp-auth` folder.
What are the dependencies for local development?
Node.js, npm, and the Nx build tool. The repository uses `nx` for running the server locally (`npx nx dev remote-mcp-server`).
Basic information
More Cloud & Infrastructure MCP servers
Muumuu Domain MCP Server
pepaboThe official MCP server for Muumuu Domain by GMO Pepabo, Inc — the first remote MCP server in the Japanese domain registrar industry. Search and register domains, manage owned domains and contracts, and configure DNS rec
🐋 Docker MCP server
ckreilingMCP server for Docker
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
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
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