Remote MCP Server on Cloudflare
@RomanTCC
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-romantcc": {
"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 reference implementation to get a remote MCP server running on Cloudflare Workers, complete with OAuth login. It is intended for developers who want to host Model Context Protocol servers remotely and connect them to clients like 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. Deploy to Cloudflare by creating a KV namespace, updating wrangler.jsonc, and running npm run deploy. Connect clients (e.g., MCP Inspector or Claude Desktop) using the SSE endpoint (e.g., /sse) of the local or deployed server.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with OAuth login.
- Supports local development with hot-reload via
npx nx dev. - Integrates with MCP Inspector for testing tools.
- Connects to Claude Desktop via SSE and a local proxy.
- Deployable to a
workers.devURL with KV namespace for OAuth state. - Provides a mock login screen for local testing.
Use cases of Remote MCP Server on Cloudflare
- Hosting a secure, remote MCP server with OAuth authentication.
- Developing and testing MCP tools locally before deploying to production.
- Connecting Claude Desktop to a remote MCP server for tool invocation.
- Experimenting with MCP’s SSE transport and OAuth flow in a serverless environment.
FAQ from Remote MCP Server on Cloudflare
How do I deploy my MCP server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to my remote MCP server?
Edit your Claude Desktop configuration file to set the MCP server command to npx mcp-remote with the workers.dev/sse URL (e.g., https://worker-name.account-name.workers.dev/sse).
How can I test my MCP server locally?
Run npx nx dev remote-mcp-server, open http://localhost:8787/ in a browser, then use the MCP Inspector with SSE transport pointing to http://localhost:8787/sse. Log in with any email and password.
What transport does the MCP server use?
It uses Server-Sent Events (SSE). Clients connect to the /sse endpoint of the server.
How can I debug connection issues?
Restart Claude, or try connecting from the command line with npx mcp-remote http://localhost:8787/sse. In rare cases, clear the ~/.mcp-auth directory.
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.
AWS MCP Servers
awslabsOpen source MCP Servers for AWS
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
Comments