Remote MCP Server
by micksabox
This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It allows you to connect MCP clients like the MCP Inspector and Claude Desktop to a remotely hosted server.
Last updated: N/A
What is Remote MCP Server?
This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables you to expose MCP tools and functionalities to clients like the MCP Inspector and Claude Desktop through a serverless environment.
How to use Remote MCP Server?
To use this server, you first need to clone the repository and install the dependencies. You can then run the server locally for development and testing. To deploy to Cloudflare, you need to create a KV namespace, configure your wrangler.jsonc
file, and run the deploy command. Finally, configure your MCP client (Inspector or Claude) to point to the deployed Cloudflare Workers URL.
Key features of Remote MCP Server
Remote MCP server
Cloudflare Workers deployment
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
Use cases of Remote MCP Server
Exposing MCP tools to remote clients
Integrating MCP functionality with Claude
Developing and testing MCP integrations in a serverless environment
Creating scalable and cost-effective MCP server deployments
FAQ from Remote MCP Server
How do I connect the MCP Inspector to the server?
How do I connect the MCP Inspector to the server?
Start the MCP Inspector, switch the Transport Type to SSE, and enter the server's URL (e.g., http://localhost:8787/sse or your Cloudflare Workers URL) as the URL of the MCP server to connect to.
How do I connect Claude Desktop to the server?
How do I connect Claude Desktop to the server?
Update the Claude configuration file to point to the server's URL (e.g., http://localhost:8787/sse or your Cloudflare Workers URL) and restart Claude.
How do I deploy the server to Cloudflare?
How do I deploy the server to Cloudflare?
Create a KV namespace, add the namespace ID to wrangler.jsonc
, and run npm run deploy
.
What if something goes wrong?
What if something goes wrong?
Try restarting Claude or connecting directly to your MCP server on the command line using npx mcp-remote http://localhost:8787/sse
. In rare cases, clearing the files in ~/.mcp-auth
may help.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for connecting large language models (LLMs) with external tools and data sources.