Remote MCP Server on Cloudflare
@BenH123
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-benh123": {
"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 that lets you deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host MCP tools accessible over the internet with authentication.
How to use Remote MCP Server on Cloudflare?
Clone the repository, run npm install, then use npx nx dev remote-mcp-server to run locally. Connect via the MCP Inspector over SSE (e.g., http://localhost:8787/sse) or configure Claude Desktop using a local proxy and the mcp-remote command pointing to that URL. For production, deploy with npm run deploy after setting up a KV namespace for OAuth.
Key features of Remote MCP Server on Cloudflare
- Deploy MCP server on Cloudflare Workers globally
- OAuth login for secure remote access
- Local development with mock authentication
- Supports SSE transport for MCP clients
- Works with MCP Inspector for testing
- Integrates with Claude Desktop via proxy
Use cases of Remote MCP Server on Cloudflare
- Host a math tool that Claude Desktop can call remotely
- Test MCP server capabilities with the MCP Inspector
- Build and iterate on custom MCP tools with Cloudflare infrastructure
- Secure tool access with OAuth for remote clients
FAQ from Remote MCP Server on Cloudflare
What is the purpose of this server?
It provides a working template to run a remote MCP server on Cloudflare Workers with OAuth, enabling hosted MCP tools.
How do I connect a remote MCP client?
Use SSE transport to the /sse endpoint of your deployed Worker URL (e.g., https://worker-name.account-name.workers.dev/sse) in tools like the MCP Inspector.
What are the dependencies to run it?
Node.js, npm, and the repository’s dependencies. For deployment you also need the Wrangler CLI and a Cloudflare account.
How do I authenticate with the server?
OAuth login is built in. Locally it shows a mock login screen; after deployment it uses a browser-based OAuth flow that redirects back to the client.
Where is OAuth data stored?
In a Cloudflare KV namespace that you create and configure (named OAUTH_KV in the template).
More Cloud & Infrastructure MCP servers
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
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.
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Comments