Remote MCP Server logo

Remote MCP Server

by ilamanov

This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers with OAuth login. It allows you to connect to the server using the MCP Inspector or Claude Desktop.

View on GitHub

Last updated: N/A

What is Remote MCP Server?

A remote MCP server that runs on Cloudflare Workers, allowing you to expose AI tools and functionalities over the Model Context Protocol.

How to use Remote MCP Server?

  1. Develop locally using the provided instructions (clone, install dependencies, run). 2. Deploy to Cloudflare using Wrangler. 3. Connect to the server using the MCP Inspector or Claude Desktop by configuring the appropriate URLs.

Key features of Remote MCP Server

  • Remote MCP server

  • Cloudflare Workers deployment

  • OAuth login

  • SSE (Server-Sent Events) transport

  • Integration with MCP Inspector

  • Integration with Claude Desktop

Use cases of Remote MCP Server

  • Exposing AI tools to Claude

  • Providing a remote interface for AI models

  • Building custom AI workflows

  • Experimenting with the Model Context Protocol

  • Connecting AI tools to various applications

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 with 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 MCP server using npx mcp-remote.

Where are the auth files stored?

Auth files are stored in ~/.mcp-auth. You can try deleting them if you encounter issues.