Remote MCP Server logo

Remote MCP Server

by sunnypra

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 for interacting with tools.

View on GitHub

Last updated: N/A

What is Remote MCP Server?

This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables you to expose tools and functionalities via the Model Context Protocol, making them accessible to applications like Claude.

How to use Remote MCP Server?

To use this server, you first need to clone the repository and install dependencies. Then, you can run it locally for development and testing. For deployment, you need to create a Cloudflare KV namespace and deploy the worker using the npm run deploy command. Finally, you can connect to the deployed server using the MCP Inspector or configure Claude Desktop to use it.

Key features of Remote MCP Server

  • Remote MCP server

  • Cloudflare Workers deployment

  • OAuth login

  • MCP Inspector compatibility

  • Claude Desktop integration

Use cases of Remote MCP Server

  • Exposing custom tools to Claude

  • Building serverless AI applications

  • Integrating with the Model Context Protocol ecosystem

  • Developing and testing MCP servers locally

  • Deploying MCP servers to a scalable cloud environment

FAQ from Remote MCP Server

How do I connect to the server locally?

Use the MCP Inspector and set the transport type to SSE, pointing to http://localhost:8787/sse.

How do I deploy the server to Cloudflare?

Create a Cloudflare KV namespace, add the namespace ID to wrangler.jsonc, and run npm run deploy.

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.

What if I encounter issues?

Try restarting Claude or connecting directly to the MCP server on the command line using npx mcp-remote http://localhost:8787/sse. Clearing the files in ~/.mcp-auth may also help.

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows applications like Claude to interact with external tools and services.