Remote MCP Server on Cloudflare
@drillan
About Remote MCP Server on Cloudflare
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cloudflare-mcp-server-test": {
"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 guide and starter repository for deploying a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login, allowing AI assistants like Claude to call tools remotely.
How to use Remote MCP Server on Cloudflare?
Clone the repository, install dependencies, run locally with npx nx dev remote-mcp-server, then configure the MCP Inspector or Claude Desktop to connect via SSE. Deploy using npm run deploy after setting up a KV namespace.
Key features of Remote MCP Server on Cloudflare
- Runs MCP server on Cloudflare Workers
- Includes OAuth login flow
- Supports SSE transport for remote connections
- Works with MCP Inspector for testing
- Integrates with Claude Desktop via a local proxy
Use cases of Remote MCP Server on Cloudflare
- Deploy a remote math tool for Claude to call
- Test MCP endpoints locally with the inspector
- Enable cloud-hosted tools for AI assistants
FAQ from Remote MCP Server on Cloudflare
How do I test the server locally?
Run npx nx dev remote-mcp-server and open http://localhost:8787/ in a browser, then connect the MCP Inspector with SSE transport to http://localhost:8787/sse.
How do I deploy to Cloudflare?
Use npx wrangler kv namespace create OAUTH_KV, add the KV namespace ID to wrangler.jsonc, then run npm run deploy.
How do I connect Claude Desktop to a remote server?
Update the Claude configuration file with npx mcp-remote and the https://worker-name.account-name.workers.dev/sse URL, then restart Claude.
What if something goes wrong?
Try restarting Claude, or test the connection directly with npx mcp-remote http://localhost:8787/sse. Clearing ~/.mcp-auth may help.
Frequently asked questions
How do I test the server locally?
Run `npx nx dev remote-mcp-server` and open `http://localhost:8787/` in a browser, then connect the MCP Inspector with SSE transport to `http://localhost:8787/sse`.
How do I deploy to Cloudflare?
Use `npx wrangler kv namespace create OAUTH_KV`, add the KV namespace ID to `wrangler.jsonc`, then run `npm run deploy`.
How do I connect Claude Desktop to a remote server?
Update the Claude configuration file with `npx mcp-remote` and the `https://worker-name.account-name.workers.dev/sse` URL, then restart Claude.
What if something goes wrong?
Try restarting Claude, or test the connection directly with `npx mcp-remote http://localhost:8787/sse`. Clearing `~/.mcp-auth` may help.
Basic information
More Cloud & Infrastructure MCP servers
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
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.
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
Muumuu Domain MCP Server
pepaboThe official MCP server for Muumuu Domain by GMO Pepabo, Inc — the first remote MCP server in the Japanese domain registrar industry. Search and register domains, manage owned domains and contracts, and configure DNS rec
Comments