Remote MCP Server logo

Remote MCP Server

by Laity624

This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It allows you to connect MCP clients, such as the MCP Inspector and Claude Desktop, to a server running remotely.

View on GitHub

Last updated: N/A

What is Remote MCP Server?

This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables interaction with tools and services using the Model Context Protocol, facilitating communication between AI models and external resources.

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, update the wrangler.jsonc file, and run the deploy command. Finally, configure your MCP client (e.g., MCP Inspector or Claude Desktop) to connect to the server's URL.

Key features of Remote MCP Server

  • Remote MCP server

  • Cloudflare Workers deployment

  • OAuth login

  • MCP Inspector compatibility

  • Claude Desktop integration

Use cases of Remote MCP Server

  • Connecting Claude to remote tools

  • Exposing tools to AI models via MCP

  • Building AI-powered applications with external resource access

  • Testing and developing MCP-based integrations

  • Creating scalable and cost-effective MCP servers

FAQ from Remote MCP Server

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) to connect.

How do I connect Claude Desktop?

Update the Claude configuration file to point to the server's URL (e.g., https://worker-name.account-name.workers.dev/sse).

What if something goes wrong?

Try restarting Claude or connecting directly to the server using npx mcp-remote http://localhost:8787/sse.

How do I deploy to Cloudflare?

Create a KV namespace, update the wrangler.jsonc file with the namespace ID, and run npm run deploy.

Where can I find my worker URL?

After deploying to Cloudflare, the URL will be in the format worker-name.account-name.workers.dev/sse.