Remote MCP Server logo

Remote MCP Server

by Cam10001110101

This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It includes OAuth login and allows connection with tools like the MCP Inspector and 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. 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?

To use this server, you first need to clone the repository and install the dependencies. You can then run the server locally for development and testing. To deploy to Cloudflare, you need to create a KV namespace and configure wrangler.jsonc. Finally, you can connect to the deployed server using the MCP Inspector or Claude Desktop by providing the appropriate URL.

Key features of Remote MCP Server

  • Remote MCP server deployment

  • Cloudflare Workers compatibility

  • OAuth login

  • 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

  • Creating a scalable MCP server infrastructure

FAQ from Remote MCP Server

How do I connect to the server locally?

Use the MCP Inspector and set the Transport Type to SSE, then enter http://localhost:8787/sse as the URL.

How do I connect Claude Desktop to the server?

Update the Claude configuration file to point to the server's URL (either local or deployed) and restart Claude.

How do I deploy the server 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 http://localhost:8787/sse. You can also try clearing the files in ~/.mcp-auth.

How do I call the deployed remote MCP server from a remote MCP client?

Run the MCP inspector and enter the workers.dev URL of your Worker in the inspector as the URL of the MCP server to connect to.