Remote MCP Server on Cloudflare
@PredictabilityAtScale
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-predictabilityatscale": {
"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 reference implementation that runs a Model Context Protocol server on Cloudflare Workers with built-in OAuth login. It allows developers to quickly deploy a remote MCP server and connect it to clients like Claude Desktop or the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies with npm install, and run locally with npx nx dev remote-mcp-server. For deployment, create a KV namespace with npx wrangler kv namespace create OAUTH_KV, add its ID to wrangler.jsonc, then run npm run deploy. Connect clients using the /sse endpoint of your local or deployed URL.
Key features of Remote MCP Server on Cloudflare
- Runs on Cloudflare Workers for serverless deployment.
- Includes OAuth login for secure access.
- Supports SSE (Server-Sent Events) transport.
- Works with MCP Inspector for local testing.
- Connects to Claude Desktop via a local proxy (
mcp-remote). - Fully documented with local development and debugging steps.
Use cases of Remote MCP Server on Cloudflare
- Deploy a remote MCP server with OAuth to expose tools to AI assistants.
- Test MCP tools locally using the MCP Inspector.
- Integrate custom tools into Claude Desktop through a remote endpoint.
- Prototype and iterate quickly with a scalable, serverless architecture.
FAQ from Remote MCP Server on Cloudflare
How do I connect the MCP Inspector?
Open the MCP Inspector, switch Transport Type to SSE, enter http://localhost:8787/sse (or your deployed URL with /sse), and click "Connect". You will be redirected to a (mock) login screen; input any email and password to log in.
How do I connect Claude Desktop to my server?
Add a configuration entry in Claude Desktop’s settings file. Use npx mcp-remote as the command and your server’s URL with /sse as an argument (e.g., "args": ["mcp-remote", "http://localhost:8787/sse"]). Restart Claude Desktop; a browser window will open for OAuth login.
How do I deploy the server to Cloudflare?
Create a KV namespace with npx wrangler kv namespace create OAUTH_KV, copy the returned ID into wrangler.jsonc, then run npm run deploy. The server will be available at your workers.dev URL.
What debugging tips are available?
Restart Claude Desktop if connections fail. Test directly from the command line using npx mcp-remote http://localhost:8787/sse. In rare cases, clear authentication files with rm -rf ~/.mcp-auth.
Does the server support OAuth authentication?
Yes, the server includes OAuth login. On first connection, clients (Inspector or Claude Desktop) are redirected to a login screen. For local development, a mock login accepts any email and password.
Frequently asked questions
How do I connect the MCP Inspector?
Open the MCP Inspector, switch Transport Type to `SSE`, enter `http://localhost:8787/sse` (or your deployed URL with `/sse`), and click "Connect". You will be redirected to a (mock) login screen; input any email and password to log in.
How do I connect Claude Desktop to my server?
Add a configuration entry in Claude Desktop’s settings file. Use `npx mcp-remote` as the command and your server’s URL with `/sse` as an argument (e.g., `"args": ["mcp-remote", "http://localhost:8787/sse"]`). Restart Claude Desktop; a browser window will open for OAuth login.
How do I deploy the server to Cloudflare?
Create a KV namespace with `npx wrangler kv namespace create OAUTH_KV`, copy the returned ID into `wrangler.jsonc`, then run `npm run deploy`. The server will be available at your workers.dev URL.
What debugging tips are available?
Restart Claude Desktop if connections fail. Test directly from the command line using `npx mcp-remote http://localhost:8787/sse`. In rare cases, clear authentication files with `rm -rf ~/.mcp-auth`.
Does the server support OAuth authentication?
Yes, the server includes OAuth login. On first connection, clients (Inspector or Claude Desktop) are redirected to a login screen. For local development, a mock login accepts any email and password.
Basic information
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.
AWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
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.
Comments