Remote MCP Server on Cloudflare
@UXMcCauley
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-uxmccauley": {
"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 guide and template for running a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. The server hosts tools (e.g., a math tool) that can be called by MCP clients like the MCP Inspector or 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. Connect clients using the SSE endpoint (e.g., http://localhost:8787/sse). Deploy with npx wrangler kv namespace create OAUTH_KV, update wrangler.jsonc, then npm run deploy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for remote access
- OAuth login flow integrated
- Example math tool (add) ready to use
- Uses SSE transport for MCP communication
- Supports local development with MCP Inspector
- Can connect to Claude Desktop via
mcp-remoteproxy
Use cases of Remote MCP Server on Cloudflare
- Hosting an MCP server on a global edge network
- Testing MCP tools locally before deployment
- Connecting Claude Desktop to remote MCP tools
- Demonstrating OAuth authentication for MCP servers
- Building and deploying custom MCP tools with Cloudflare Workers
FAQ from Remote MCP Server on Cloudflare
What runtime and dependencies are required?
Node.js and npm are needed for local development. A Cloudflare account and Wrangler CLI are required for deployment.
How does authentication work?
The server uses OAuth login. When connecting via MCP Inspector or Claude Desktop, a browser window opens for user/password login (mock login in local development).
What transport protocol does the server use?
It uses SSE (Server-Sent Events) as the MCP transport, accessed via the /sse endpoint.
How can I debug connection issues?
Run npx mcp-remote http://localhost:8787/sse to test direct CLI connection. Restart Claude or clear ~/.mcp-auth if needed.
Where are OAuth data stored?
OAuth tokens are stored in a Cloudflare KV namespace (OAUTH_KV), created during deployment setup.
More Cloud & Infrastructure MCP servers
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
GCP MCP
eniayomiA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your Google Cloud Platform environment. This allows for natural language querying and management of your GCP resources during conversations.
Kubernetes MCP Server
reza-gholizadeManage Your Kubernetes Cluster with k8s mcp-server
aws-finops-mcp-server
ravikiranvmAn MCP (Model Context Protocol) server that brings powerful AWS FinOps capabilities directly into your AI assistant. Analyze cloud costs, audit for waste, and get budget insights using natural language, all while keeping your credentials secure on your local machine.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Comments