Remote MCP Server
by bydymainit2
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 server running in the cloud.
Last updated: N/A
What is Remote MCP Server?
This is a remote Model Context Protocol (MCP) server designed to run on Cloudflare Workers. It enables communication between MCP clients (like the MCP Inspector and Claude Desktop) and a server hosted in the cloud, facilitating the use of tools and models.
How to use Remote MCP Server?
- Develop locally using
npm install
andnpx nx dev remote-mcp-server
. 2. Deploy to Cloudflare usingnpx wrangler kv namespace create OAUTH_KV
, updatingwrangler.jsonc
with the KV namespace ID, and thennpm run deploy
. 3. Connect MCP clients by configuring them to point to the server's URL (eitherlocalhost:8787/sse
for local development or yourworkers.dev
URL after deployment).
Key features of Remote MCP Server
Remote MCP server deployment
Cloudflare Workers compatibility
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
SSE transport
Use cases of Remote MCP Server
Connecting Claude Desktop to remote tools
Testing and developing MCP tools in a cloud environment
Providing a centralized MCP server for multiple clients
Enabling AI model interaction with external tools and services
Facilitating communication between AI models and external systems
FAQ from Remote MCP Server
How do I connect the MCP Inspector?
How do I connect the MCP Inspector?
Start the inspector with npx @modelcontextprotocol/inspector
, switch the Transport Type to SSE
, and enter the server's URL (e.g., http://localhost:8787/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?
Try restarting Claude or connecting directly to the MCP server on the command line with npx mcp-remote http://localhost:8787/sse
.
How do I deploy to Cloudflare?
How do I deploy to Cloudflare?
Run npx wrangler kv namespace create OAUTH_KV
, update wrangler.jsonc
with the KV namespace ID, and then run npm run deploy
.
Where can I find the Claude configuration file?
Where can I find the Claude configuration file?
In Claude Desktop, go to Settings > Developer > Edit Config.