Remote MCP Server
by fenoh3ry
This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It allows you to connect to the server using the MCP Inspector or Claude Desktop for interacting with defined tools.
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 and interact with tools defined using the Model Context Protocol (MCP) from remote clients like the MCP Inspector or Claude Desktop.
How to use Remote MCP Server?
- Develop locally using the provided instructions (clone, install dependencies, run locally). 2. Deploy to Cloudflare using Wrangler. 3. Connect to the server using the MCP Inspector by specifying the server's URL. 4. Connect Claude Desktop by updating the configuration file to point to the server's URL. 5. Debug using the provided commands.
Key features of Remote MCP Server
Remote access to MCP tools
Cloudflare Workers deployment
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
SSE transport
Use cases of Remote MCP Server
Exposing AI tools to Claude
Building remote AI applications
Testing and debugging MCP implementations
Integrating custom tools with LLMs
Providing a scalable MCP server solution
FAQ from Remote MCP Server
How do I connect the MCP Inspector?
How do I connect the MCP Inspector?
Start the inspector, switch the Transport Type to SSE
, and enter the server's URL (e.g., http://localhost:8787/sse
or worker-name.account-name.workers.dev/sse
).
How do I connect Claude Desktop?
How do I connect Claude Desktop?
Update the Claude configuration file to point to the server's URL and restart Claude.
What if something goes wrong?
What if something goes wrong?
Restart Claude, try connecting directly to the MCP server on the command line with npx mcp-remote <server_url>
, or clear the files added to ~/.mcp-auth
.
How do I deploy to Cloudflare?
How do I deploy to Cloudflare?
Create a KV namespace, add the namespace ID to wrangler.jsonc
, and run npm run deploy
.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for connecting Large Language Models (LLMs) with tools and services.