Remote MCP Server on Cloudflare
@spontaneous-order
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-spontaneous-order": {
"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?
Remote MCP Server on Cloudflare is a starter template that deploys a Model Context Protocol (MCP) server on Cloudflare Workers with OAuth login. It is designed for developers who need a remotely accessible MCP server that clients can connect to over the internet.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally using npx nx dev remote-mcp-server. For production, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add the namespace ID to wrangler.jsonc, then deploy with npm run deploy. Connect clients (MCP Inspector, Claude Desktop) to the /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- OAuth login via browser for authentication.
- Local development with hot-reload via
npx nx dev. - Deploy to Cloudflare Workers with one command.
- Uses SSE transport for MCP communication.
- Compatible with MCP Inspector and Claude Desktop.
- Includes a local proxy (
mcp-remote) for Claude Desktop.
Use cases of Remote MCP Server on Cloudflare
- Host a custom MCP server accessible from any remote client.
- Integrate MCP tools with Claude Desktop over the internet.
- Test and debug MCP servers locally before deploying to production.
- Provide OAuth‑protected MCP endpoints for team collaboration.
FAQ from Remote MCP Server on Cloudflare
What transport does the server use?
The server uses Server‑Sent Events (SSE) for MCP communication. Clients connect to the /sse endpoint.
What dependencies are required to run this server?
You need Node.js, npm, a Cloudflare account, and the Workers CLI (wrangler). The server also requires a Cloudflare KV namespace (OAUTH_KV).
How is user authentication handled?
Authentication is handled via OAuth login. When connecting from a client, a browser window opens for the user to log in with an email and password (locally, any credentials are accepted).
Where are session data and credentials stored?
OAuth session data is stored in the Cloudflare KV namespace (OAUTH_KV) that you create during deployment. Local auth files may be cached in ~/.mcp-auth.
How can I debug connection issues?
You can test connectivity directly using npx mcp-remote http://localhost:8787/sse (or your deployed URL). If problems persist, restart Claude Desktop or clear the auth cache with rm -rf ~/.mcp-auth.
Frequently asked questions
What transport does the server use?
The server uses Server‑Sent Events (SSE) for MCP communication. Clients connect to the `/sse` endpoint.
What dependencies are required to run this server?
You need Node.js, npm, a Cloudflare account, and the Workers CLI (`wrangler`). The server also requires a Cloudflare KV namespace (`OAUTH_KV`).
How is user authentication handled?
Authentication is handled via OAuth login. When connecting from a client, a browser window opens for the user to log in with an email and password (locally, any credentials are accepted).
Where are session data and credentials stored?
OAuth session data is stored in the Cloudflare KV namespace (`OAUTH_KV`) that you create during deployment. Local auth files may be cached in `~/.mcp-auth`.
How can I debug connection issues?
You can test connectivity directly using `npx mcp-remote http://localhost:8787/sse` (or your deployed URL). If problems persist, restart Claude Desktop or clear the auth cache with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
container-use
daggerDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute

Nippy
NippyNippy is drag-and-drop hosting (nippy.host) with an MCP server: connect it and your assistant can publish HTML, folders of photos, or file downloads to a live *.nippy.site URL — and keep editing the site in place at the
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
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
Comments