Remote MCP Server on Cloudflare
@cahmetcan
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-cahmetcan": {
"command": "npx",
"args": [
"nx",
"dev",
"remote-mcp-server"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Remote MCP Server on Cloudflare?
A starter template for deploying a remote Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It provides a math tool example and supports SSE transport for connecting MCP 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. Connect via MCP Inspector or Claude Desktop using SSE URL. Deploy with npm run deploy after creating an OAUTH_KV namespace.
Key features of Remote MCP Server on Cloudflare
- Deploy remote MCP servers on Cloudflare Workers
- Built‑in OAuth login flow
- Supports SSE transport for MCP clients
- Local development with mock authentication
- Example math tool (add) included
Use cases of Remote MCP Server on Cloudflare
- Running MCP tools accessible over the internet
- Building a remote AI tool server for Claude Desktop
- Experimenting with OAuth‑secured MCP endpoints
- Prototyping and deploying custom MCP tools on Cloudflare
FAQ from Remote MCP Server on Cloudflare
What is this server for?
It demonstrates how to run an MCP server remotely on Cloudflare Workers, complete with OAuth login, and connect clients like Claude Desktop.
What dependencies are required?
Local development needs Node.js and npm. Deployment requires a Cloudflare account, wrangler CLI, and a created OAUTH_KV namespace.
How does authentication work?
Locally it uses a mock user/password screen. Deployed, it uses OAuth login via Cloudflare Workers endpoints.
What transport does it use?
The server uses Server‑Sent Events (SSE) transport at the /sse endpoint.
Where can I find the source code?
The server is part of the cloudflare/ai repository on GitHub under remote-mcp-server.
Frequently asked questions
What is this server for?
It demonstrates how to run an MCP server remotely on Cloudflare Workers, complete with OAuth login, and connect clients like Claude Desktop.
What dependencies are required?
Local development needs Node.js and npm. Deployment requires a Cloudflare account, `wrangler` CLI, and a created `OAUTH_KV` namespace.
How does authentication work?
Locally it uses a mock user/password screen. Deployed, it uses OAuth login via Cloudflare Workers endpoints.
What transport does it use?
The server uses Server‑Sent Events (SSE) transport at the `/sse` endpoint.
Where can I find the source code?
The server is part of the `cloudflare/ai` repository on GitHub under `remote-mcp-server`.
Basic information
More Cloud & Infrastructure MCP servers
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
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.
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
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.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Comments