Remote MCP Server on Cloudflare logo

Remote MCP Server on Cloudflare

by everbove

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

This is a remote MCP (Model Context Protocol) server implementation designed to run on Cloudflare Workers. It enables communication between MCP clients (like MCP Inspector or Claude Desktop) and a serverless environment, facilitating the use of tools and functionalities within AI models.

How to use Remote MCP Server on Cloudflare?

  1. Deploy the server to Cloudflare Workers using the provided instructions (clone repo, install dependencies, create KV namespace, deploy). 2. Configure your MCP client (MCP Inspector or Claude Desktop) to connect to the deployed server's URL. 3. Authenticate using the OAuth login. 4. Interact with the server's tools through the client.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server deployment

  • Cloudflare Workers compatibility

  • OAuth login

  • Integration with MCP Inspector

  • Integration with Claude Desktop

Use cases of Remote MCP Server on Cloudflare

  • Connecting Claude to custom tools

  • Providing a serverless MCP endpoint

  • Testing and developing MCP tools remotely

  • Integrating AI models with external services

  • Enabling collaborative AI workflows

FAQ from Remote MCP Server on Cloudflare

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 or your Cloudflare workers.dev URL).

How do I connect Claude Desktop?

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

What if something goes wrong?

Try restarting Claude, or connecting directly to the MCP server on the command line using npx mcp-remote.

Where is the configuration file for Claude?

Within Claude Desktop go to Settings > Developer > Edit Config to find your configuration file.

What if I have authentication issues?

In some rare cases it may help to clear the files added to ~/.mcp-auth using rm -rf ~/.mcp-auth.