Remote MCP Server logo

Remote MCP Server

by zhb0808

This project provides a remote Model Context Protocol (MCP) 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.

View on GitHub

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 interaction with tools and services using the MCP protocol, allowing applications like Claude to leverage external functionalities.

How to use Remote MCP Server?

First, clone the repository and install dependencies. Then, you can run the server locally for development and testing. To deploy to Cloudflare, 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 deployed server's URL.

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

  • Connecting Claude to external tools

  • Developing and testing MCP integrations

  • Deploying MCP servers to the cloud

  • Enabling remote access to MCP functionalities

  • Extending Claude's capabilities with custom tools

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

How do I connect Claude Desktop?

Update the Claude configuration file to point to the server's URL and restart Claude.

How do I deploy to Cloudflare?

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

What if something goes wrong?

Try restarting Claude or connecting directly to the server on the command line using npx mcp-remote http://localhost:8787/sse. You can also try clearing the files added to ~/.mcp-auth.

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows applications like Claude to interact with external tools and services.