Remote MCP Server on Cloudflare
@ctbedford
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-ctbedford": {
"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?
This project provides a template to deploy a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It allows developers to quickly set up a server that can expose tools to MCP-compatible clients such as Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Connect clients (MCP Inspector or Claude Desktop) by pointing them to the SSE endpoint (e.g., http://localhost:8787/sse). Deploy to Cloudflare Workers with wrangler kv namespace create OAUTH_KV and npm run deploy, then use the resulting workers.dev URL.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for global edge deployment.
- Includes OAuth login flow for authentication.
- Supports SSE transport for MCP communication.
- Works with the MCP Inspector for testing.
- Integrates with Claude Desktop via
mcp-remoteproxy. - Provides local development environment with hot reload.
Use cases of Remote MCP Server on Cloudflare
- Deploy a remote MCP server to expose custom tools to AI clients.
- Develop and test MCP tools locally before deploying to the edge.
- Connect Claude Desktop to a remote server with OAuth authentication.
- Use as a reference implementation for Cloudflare-based MCP servers.
FAQ from Remote MCP Server on Cloudflare
How do I authenticate when connecting via the MCP Inspector?
The inspector shows a mock login screen; input any email and password to proceed.
What transport type does the server use?
It uses SSE (Server-Sent Events); set the transport type to SSE in the MCP Inspector.
How do I connect Claude Desktop to the remote server?
Update Claude's config file (~/.claude/config.json or via Settings) to use mcp-remote with the server's SSE URL, e.g., https://worker-name.account-name.workers.dev/sse.
What if I encounter connection issues?
Restart Claude, or test the connection directly with npx mcp-remote <URL>. In rare cases, clear the auth cache at ~/.mcp-auth by removing the folder.
What environment variables or services are required for deployment?
You need a Cloudflare Workers account and a KV namespace (OAUTH_KV) created via wrangler kv namespace create.
More Cloud & Infrastructure MCP servers
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
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.
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.
🐋 Docker MCP server
ckreilingMCP server for Docker
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Comments