Remote MCP Server logo

Remote MCP Server

by entalpia

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 using the MCP Inspector or Claude Desktop, enabling you to explore and utilize defined tools.

View on GitHub

Last updated: N/A

What is Remote MCP Server?

The Remote MCP Server is a server implementation of the Model Context Protocol designed to run on Cloudflare Workers. It facilitates communication between AI models (like Claude) and external tools or services.

How to use Remote MCP Server?

To use the server, you first develop it locally using npm install and npx nx dev remote-mcp-server. Then, you can connect to it using the MCP Inspector or Claude Desktop. Finally, deploy it to Cloudflare using npx wrangler kv namespace create OAUTH_KV and npm run deploy.

Key features of Remote MCP Server

  • Remote access via Cloudflare Workers

  • OAuth login

  • Integration with MCP Inspector

  • Integration with Claude Desktop

  • SSE transport

Use cases of Remote MCP Server

  • Connecting Claude to external tools

  • Extending the capabilities of AI models

  • Developing and testing MCP integrations

  • Providing a remote MCP server for collaborative use

  • Enabling AI models to interact with real-world data and services

FAQ from Remote MCP Server

How do I connect the MCP inspector?

Start the inspector with npx @modelcontextprotocol/inspector. Switch the Transport Type to SSE and enter the server URL.

How do I connect Claude Desktop?

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

What if something goes wrong?

Restart Claude or try connecting directly to your MCP server on the command line with npx mcp-remote http://localhost:8787/sse.

Where can I find my Claude configuration file?

Within Claude Desktop go to Settings > Developer > Edit Config.

What if I have authentication issues?

In some cases, clearing the files added to ~/.mcp-auth may help. Use the command rm -rf ~/.mcp-auth.