Remote MCP Server on Cloudflare
@anandkumarpatel
About Remote MCP Server on Cloudflare
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"remote-mcp-server-anandkumarpatel": {
"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?
It is a template for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It allows developers to run MCP tools that can be accessed remotely over HTTP using SSE (Server-Sent Events) and authenticated via a login screen.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, then run locally with npx nx dev remote-mcp-server. To deploy, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, and run npm run deploy. Connect using the MCP Inspector by selecting SSE transport and entering the server’s /sse URL (e.g., http://localhost:8787/sse locally or the workers.dev URL remotely). For Claude Desktop, use the mcp-remote proxy in the configuration file.
Key features of Remote MCP Server on Cloudflare
- Deploy MCP server on Cloudflare Workers with OAuth authentication
- Local development with live reload via
npx nx dev - Connect using MCP Inspector via SSE transport
- Integrate with Claude Desktop using the
mcp-remoteproxy - OAuth login screen for access control
- Debugging support with command-line testing and auth cache clearing
Use cases of Remote MCP Server on Cloudflare
- Run a remote MCP server that can be accessed from anywhere via HTTP/SSE
- Connect Claude Desktop to custom MCP tools hosted on Cloudflare Workers
- Prototype and test MCP tools locally before deploying to production
- Add OAuth-based authentication to protect MCP endpoints
FAQ from Remote MCP Server on Cloudflare
What dependencies are required to run the server?
You need Node.js, npm, and npx. The README uses git clone, npm install, and npx commands throughout.
How do I connect the MCP Inspector to my remote server?
Open the MCP Inspector (npx @modelcontextprotocol/inspector), set Transport Type to SSE, enter the server’s URL followed by /sse (e.g., https://worker-name.account-name.workers.dev/sse), and click “Connect”. You will be redirected to a login screen.
Can I connect this MCP server to Claude Desktop?
Yes. In Claude Desktop’s configuration file, add a “math” entry with "command": "npx" and "args": ["mcp-remote", "https://your-worker.workers.dev/sse"]. Restart Claude to see the available tools.
Where does the OAuth data live?
The README uses a KV namespace named OAUTH_KV to store OAuth-related data. You create it with npx wrangler kv namespace create OAUTH_KV and configure the namespace ID in wrangler.jsonc.
How can I debug connection issues?
Restart Claude, or test directly from the command line with npx mcp-remote http://localhost:8787/sse. If needed, clear the auth cache by deleting ~/.mcp-auth with rm -rf ~/.mcp-auth.
More Cloud & Infrastructure MCP servers
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.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
🐳 docker-mcp
QuantGeekDevA docker MCP Server (modelcontextprotocol)
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