Remote MCP Server on Cloudflare
@MCP-Mirror
About Remote MCP Server on Cloudflare
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Laity624_my-mcp-server": {
"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 to deploy an MCP server on Cloudflare Workers with OAuth login. It is designed for developers who want to run a remote MCP server that can be accessed by MCP clients such as Claude Desktop.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Use the MCP Inspector to test the server by connecting via SSE to http://localhost:8787/sse. Deploy to Cloudflare with npm run deploy after creating a KV namespace. Connect Claude Desktop by editing its config to use npx mcp-remote pointing to your server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Deploy an MCP server on Cloudflare Workers
- Include OAuth login for authentication
- Develop and test locally with MCP Inspector
- Connect directly to Claude Desktop via a proxy
Use cases of Remote MCP Server on Cloudflare
- Run a remote MCP server with an authentication layer
- Test MCP tools locally using the Inspector
- Connect the server to Claude Desktop for AI tool access
- Explore deploying MCP servers on a serverless platform
FAQ from Remote MCP Server on Cloudflare
How do I develop the server locally?
Clone the repository, run npm install, then execute npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How can I test the server with MCP Inspector?
Start the Inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, enter http://localhost:8787/sse as the URL, and connect. A mock login screen appears; enter any email and password to proceed.
How do I deploy the server to Cloudflare?
First run npx wrangler kv namespace create OAUTH_KV and add the namespace ID to wrangler.jsonc. Then run npm run deploy to publish the Worker.
How do I connect Claude Desktop to the server?
In Claude Desktop, go to Settings > Developer > Edit Config and add an entry with the command npx mcp-remote and args pointing to your server’s /sse URL (e.g., https://worker-name.account-name.workers.dev/sse). Restart Claude.
What transport and authentication does the server use?
The server communicates via SSE (Server-Sent Events). Authentication is handled via OAuth, with a mock login screen for local development.
Frequently asked questions
How do I develop the server locally?
Clone the repository, run `npm install`, then execute `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.
How can I test the server with MCP Inspector?
Start the Inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, enter `http://localhost:8787/sse` as the URL, and connect. A mock login screen appears; enter any email and password to proceed.
How do I deploy the server to Cloudflare?
First run `npx wrangler kv namespace create OAUTH_KV` and add the namespace ID to `wrangler.jsonc`. Then run `npm run deploy` to publish the Worker.
How do I connect Claude Desktop to the server?
In Claude Desktop, go to Settings > Developer > Edit Config and add an entry with the command `npx mcp-remote` and args pointing to your server’s `/sse` URL (e.g., `https://worker-name.account-name.workers.dev/sse`). Restart Claude.
What transport and authentication does the server use?
The server communicates via SSE (Server-Sent Events). Authentication is handled via OAuth, with a mock login screen for local development.
Basic information
More Cloud & Infrastructure MCP servers
Mcp K8s Go
strowkMCP server connecting to Kubernetes
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
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
🐋 Docker MCP server
ckreilingMCP server for Docker
Comments