Remote MCP Server
by Baarilliant-ai
This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers, complete with OAuth login. It allows you to connect to the server using the MCP Inspector or Claude Desktop.
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 enables you to expose your tools and functionalities to clients like Claude, using the MCP standard.
How to use Remote MCP Server?
To use this server, you first need to clone the repository and install the dependencies. Then, you can run it locally or deploy it to Cloudflare. The README provides detailed instructions on how to connect the MCP Inspector or Claude Desktop to your server, both locally and remotely.
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 custom tools to LLMs like Claude
Creating a remote API for AI models
Developing and testing MCP integrations
Enabling secure access to AI functionalities
Building AI-powered applications on Cloudflare
FAQ from Remote MCP Server
How do I connect the MCP Inspector to the server?
How do I connect the MCP Inspector to the server?
Start the MCP Inspector, switch the Transport Type to SSE, and enter the server's URL (e.g., http://localhost:8787/sse or your Cloudflare Workers URL) in the inspector.
How do I connect Claude Desktop to the server?
How do I connect Claude Desktop to the server?
Update the Claude configuration file to point to the server's URL and restart Claude.
What if something goes wrong?
What if something goes wrong?
Try restarting Claude or connecting directly to your MCP server on the command line using npx mcp-remote http://localhost:8787/sse
. You can also try clearing the files added to ~/.mcp-auth
.
How do I deploy the server to Cloudflare?
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
.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a standard for connecting tools and services to AI models, allowing them to access external information and perform actions.