Remote MCP Server logo

Remote MCP Server

by peter-hanzo

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 locally or remotely using tools like the MCP Inspector or Claude Desktop.

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, enabling remote access and integration with applications like Claude.

How to use Remote MCP Server?

The server can be used locally for development and testing, and then deployed to Cloudflare Workers for remote access. Instructions are provided for connecting the server to the MCP Inspector and Claude Desktop, both locally and remotely, by configuring the appropriate URLs and authentication settings.

Key features of Remote MCP Server

  • Remote access via Cloudflare Workers

  • OAuth login

  • Integration with MCP Inspector

  • Integration with Claude Desktop

  • Local development environment

Use cases of Remote MCP Server

  • Connecting Claude to custom tools

  • Providing remote access to MCP tools

  • Developing and testing MCP integrations

  • Extending Claude's capabilities with external tools

  • Building custom AI workflows

FAQ from Remote MCP Server

How do I connect to the server locally?

Use the MCP Inspector or Claude Desktop and configure the URL to http://localhost:8787/sse.

How do I deploy the server to Cloudflare?

Follow the instructions in the README, which involve creating a KV namespace, updating wrangler.jsonc, and running npm run deploy.

How do I connect to the remote server?

Use the MCP Inspector or Claude Desktop and configure the URL to your Cloudflare Workers URL (e.g., worker-name.account-name.workers.dev/sse).

What if I encounter issues?

Try restarting Claude, connecting directly to the server using the command line (npx mcp-remote http://localhost:8787/sse), or clearing the files in ~/.mcp-auth.

What is MCP?

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