Remote MCP Server on Cloudflare
@younggeeks
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-younggeeks": {
"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?
A template for running a remote MCP (Model Context Protocol) server on Cloudflare Workers, complete with OAuth login. It provides local development, deployment, and integration with MCP clients like Claude Desktop and 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. Deploy to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy. Connect clients by pointing them to the server’s /sse endpoint.
Key features of Remote MCP Server on Cloudflare
- Run an MCP server with OAuth login
- Develop locally with hot reload
- Deploy to Cloudflare Workers
- Connect via SSE transport
- Integrate with MCP Inspector tool
- Connect Claude Desktop as a remote MCP client
Use cases of Remote MCP Server on Cloudflare
- Building and testing a custom MCP server locally
- Providing a remote MCP endpoint for AI assistants
- Deploying a secure OAuth-protected MCP server in production
- Connecting Claude Desktop to a remote MCP server
FAQ from Remote MCP Server on Cloudflare
How do I develop the server locally?
Clone the repo, run npm install, then npx nx dev remote-mcp-server. Open http://localhost:8787/ in your browser.
How do I connect the MCP Inspector to my server?
Start the inspector with npx @modelcontextprotocol/inspector, set Transport Type to SSE, and enter http://localhost:8787/sse as the URL. You’ll be redirected to a mock login screen.
How do I connect Claude Desktop to my local server?
Edit Claude Desktop’s configuration file and add an entry with "command": "npx", "args": ["mcp-remote", "http://localhost:8787/sse"]. A browser window will open for login.
How do I deploy the server to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV and add the namespace ID to wrangler.jsonc, then run npm run deploy.
What should I do if something goes wrong?
Restart Claude, try connecting via command line with npx mcp-remote http://localhost:8787/sse, or clear ~/.mcp-auth with rm -rf ~/.mcp-auth.
Frequently asked questions
How do I develop the server locally?
Clone the repo, run `npm install`, then `npx nx dev remote-mcp-server`. Open `http://localhost:8787/` in your browser.
How do I connect the MCP Inspector to my server?
Start the inspector with `npx @modelcontextprotocol/inspector`, set Transport Type to SSE, and enter `http://localhost:8787/sse` as the URL. You’ll be redirected to a mock login screen.
How do I connect Claude Desktop to my local server?
Edit Claude Desktop’s configuration file and add an entry with `"command": "npx"`, `"args": ["mcp-remote", "http://localhost:8787/sse"]`. A browser window will open for login.
How do I deploy the server to Cloudflare?
Run `npx wrangler kv namespace create OAUTH_KV` and add the namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
What should I do if something goes wrong?
Restart Claude, try connecting via command line with `npx mcp-remote http://localhost:8787/sse`, or clear `~/.mcp-auth` with `rm -rf ~/.mcp-auth`.
Basic information
More Cloud & Infrastructure MCP servers
🐋 Docker MCP server
ckreilingMCP server for Docker
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
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.
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
Comments