Remote MCP Server on Cloudflare
@yoyooyooo
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cf-mcp-server-yoyooyooo": {
"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?
Remote MCP Server on Cloudflare provides a ready-to-deploy MCP (Model Context Protocol) server running on Cloudflare Workers, complete with OAuth login. It allows developers to host MCP tools remotely and connect them to MCP clients such as Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository (git clone [email protected]:cloudflare/ai.git), install dependencies (npm install), and run locally with npx nx dev remote-mcp-server. To connect a client, use the SSE endpoint (e.g., http://localhost:8787/sse for local, or your deployed Workers URL). Deploy to Cloudflare by creating a KV namespace (npx wrangler kv namespace create OAUTH_KV), adding the ID to wrangler.jsonc, and running npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Deploy an MCP server on Cloudflare Workers
- OAuth-based login for secure access
- SSE transport for client connections
- Local development with hot‑reload support
- Compatible with MCP Inspector and Claude Desktop
Use cases of Remote MCP Server on Cloudflare
- Hosting custom MCP tools for AI assistants like Claude
- Rapid prototyping of MCP servers with Cloudflare’s edge network
- Adding OAuth‑protected tool access to remote AI workflows
- Testing MCP integrations using the official MCP Inspector
FAQ from Remote MCP Server on Cloudflare
How do I run the server locally?
Clone the repo, install dependencies, then run npx nx dev remote-mcp-server. The server will be available at http://localhost:8787/.
How do I connect the MCP Inspector to my server?
Run npx @modelcontextprotocol/inspector, switch the transport type to SSE, and enter http://localhost:8787/sse (or your deployed URL) as the server URL. A mock login screen will appear — use any email and password to log in.
How do I connect Claude Desktop to the server?
Add an entry to Claude Desktop’s configuration file with the mcp-remote command pointing to your server’s SSE endpoint. Example: "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]. Claude will open a browser for OAuth login.
How do I deploy the server to Cloudflare?
Create a KV namespace (npx wrangler kv namespace create OAUTH_KV), add its ID to wrangler.jsonc, then run npm run deploy. Your server will be live at worker-name.account-name.workers.dev/sse.
How can I debug connection issues?
Restart Claude, or test the server directly with npx mcp-remote http://localhost:8787/sse. If needed, clear the auth cache with rm -rf ~/.mcp-auth.
Frequently asked questions
How do I run the server locally?
Clone the repo, install dependencies, then run `npx nx dev remote-mcp-server`. The server will be available at `http://localhost:8787/`.
How do I connect the MCP Inspector to my server?
Run `npx @modelcontextprotocol/inspector`, switch the transport type to `SSE`, and enter `http://localhost:8787/sse` (or your deployed URL) as the server URL. A mock login screen will appear — use any email and password to log in.
How do I connect Claude Desktop to the server?
Add an entry to Claude Desktop’s configuration file with the `mcp-remote` command pointing to your server’s SSE endpoint. Example: `"command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]`. Claude will open a browser for OAuth login.
How do I deploy the server to Cloudflare?
Create a KV namespace (`npx wrangler kv namespace create OAUTH_KV`), add its ID to `wrangler.jsonc`, then run `npm run deploy`. Your server will be live at `worker-name.account-name.workers.dev/sse`.
How can I debug connection issues?
Restart Claude, or test the server directly with `npx mcp-remote http://localhost:8787/sse`. If needed, clear the auth cache with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
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.
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
🐋 Docker MCP server
ckreilingMCP server for Docker
Comments