Remote MCP Server on Cloudflare logo

Remote MCP Server on Cloudflare

by pomelo-neko

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 on Cloudflare?

This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables you to expose tools and functionalities to AI models like Claude through the Model Context Protocol.

How to use Remote MCP Server on Cloudflare?

To use this server, you first need to deploy it to Cloudflare Workers following the provided instructions. Then, you can connect to it using the MCP Inspector or configure Claude Desktop to use the server's URL. The README provides detailed steps for local development, deployment, and connection.

Key features of Remote MCP Server on Cloudflare

  • Remote MCP server

  • Cloudflare Workers deployment

  • OAuth login

  • MCP Inspector compatibility

  • Claude Desktop integration

Use cases of Remote MCP Server on Cloudflare

  • Exposing custom tools to AI models

  • Integrating AI models with external services

  • Developing and testing MCP-based applications

  • Providing a secure and scalable MCP server

  • Connecting Claude to custom tools

FAQ from Remote MCP Server on Cloudflare

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 with the server's URL (either local or deployed) and restart Claude.

What if something goes wrong?

Try restarting Claude or connecting directly to the MCP server using npx mcp-remote http://localhost:8787/sse.

Where do I find my Cloudflare Workers URL?

It will be in the format worker-name.account-name.workers.dev/sse after you deploy.

How do I handle authentication?

The server uses OAuth. You'll be presented with a login screen when connecting through the MCP Inspector or Claude Desktop.