Remote MCP Server on Cloudflare
@sagirodin
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"remote-mcp-server-sagirodin": {
"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?
Remote MCP Server on Cloudflare is a project that helps you run a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It is for developers who want to deploy and connect MCP servers remotely.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, and run locally with npx nx dev remote-mcp-server. Deploy using npm run deploy after creating an OAuth KV namespace. Connect the MCP Inspector or Claude Desktop by pointing to the server's /sse endpoint using the mcp-remote proxy.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers with built-in OAuth login
- Develop locally with hot reload at
localhost:8787 - Deploy to production with a single command
- Connects to MCP Inspector and Claude Desktop via SSE
- Uses KV namespace (OAUTH_KV) for session persistence
- Provides a math tool example for testing
Use cases of Remote MCP Server on Cloudflare
- Hosting MCP tools on a globally distributed edge network
- Integrating custom MCP tools with Claude Desktop remotely
- Developing and testing MCP servers locally before deployment
- Creating secure, authenticated MCP endpoints for clients
FAQ from Remote MCP Server on Cloudflare
What does this project provide?
It provides a starter MCP server deployed on Cloudflare Workers with OAuth authentication, ready for local development and remote use.
How do I connect the MCP Inspector?
Open the MCP Inspector, switch Transport Type to SSE, enter http://localhost:8787/sse (or your deployed /sse URL), click Connect, and log in.
What dependencies are required?
Node.js, npm, and a Cloudflare account with Wrangler CLI for deployment. The mcp-remote npm package is used as a proxy to connect Claude Desktop.
Where is authentication data stored?
OAuth session data is stored in a Cloudflare KV namespace called OAUTH_KV, which you must create before deploying with npx wrangler kv namespace create OAUTH_KV.
What transport protocol does it use?
The server uses Server-Sent Events (SSE) for communication, accessed via the /sse endpoint on the deployed Worker URL.
Frequently asked questions
What does this project provide?
It provides a starter MCP server deployed on Cloudflare Workers with OAuth authentication, ready for local development and remote use.
How do I connect the MCP Inspector?
Open the MCP Inspector, switch Transport Type to SSE, enter `http://localhost:8787/sse` (or your deployed `/sse` URL), click Connect, and log in.
What dependencies are required?
Node.js, npm, and a Cloudflare account with Wrangler CLI for deployment. The `mcp-remote` npm package is used as a proxy to connect Claude Desktop.
Where is authentication data stored?
OAuth session data is stored in a Cloudflare KV namespace called `OAUTH_KV`, which you must create before deploying with `npx wrangler kv namespace create OAUTH_KV`.
What transport protocol does it use?
The server uses Server-Sent Events (SSE) for communication, accessed via the `/sse` endpoint on the deployed Worker URL.
Basic information
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.
Cloudflare MCP Server
cloudflareSample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
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.
Lambda MCP Server Demo (Streamable HTTP)
mikegc-awsCreates a simple MCP tool server with "streaming" HTTP.
Comments