Remote MCP Server logo

Remote MCP Server

by garrettHensley

This project provides a remote Model Context Protocol (MCP) server that can be deployed on Cloudflare Workers. It enables connecting MCP clients, like the MCP Inspector and Claude Desktop, to a server running in the cloud.

View on GitHub

Last updated: N/A

What is Remote MCP Server?

A remote MCP server built to run on Cloudflare Workers, complete with OAuth login. It allows you to expose MCP tools and connect them to clients like the MCP Inspector and Claude Desktop.

How to use Remote MCP Server?

  1. Develop locally using provided commands. 2. Connect the MCP inspector to the server using SSE. 3. Connect Claude Desktop by updating the configuration file. 4. Deploy to Cloudflare using Wrangler. 5. Call the deployed server from a remote MCP client.

Key features of Remote MCP Server

  • Remote MCP server

  • Cloudflare Workers deployment

  • OAuth login

  • SSE transport

  • Integration with MCP Inspector

  • Integration with Claude Desktop

Use cases of Remote MCP Server

  • Exposing MCP tools to remote clients

  • Connecting Claude to custom tools

  • Developing and testing MCP integrations

  • Deploying MCP servers in a serverless environment

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 URL (e.g., http://localhost:8787/sse).

How do I connect Claude Desktop?

Update the Claude configuration file to point to the MCP server URL.

How do I deploy to Cloudflare?

Create a KV namespace, add the namespace ID to wrangler.jsonc, and run npm run deploy.

How do I debug issues?

Restart Claude, connect directly to the MCP server on the command line with npx mcp-remote http://localhost:8787/sse, or clear the files in ~/.mcp-auth.

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for connecting large language models (LLMs) to external tools and information sources.