Remote MCP Server
by irvinebroque
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.
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 and interact with tools defined using the Model Context Protocol, making them accessible to clients like the MCP Inspector and Claude Desktop.
How to use Remote MCP Server?
To use this server, you first need to develop it locally using the provided instructions, which involve cloning the repository, installing dependencies, and running the server. Then, you can deploy it to Cloudflare using Wrangler. 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 access to MCP tools
Cloudflare Workers deployment
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
Use cases of Remote MCP Server
Exposing custom tools to LLMs
Developing and testing MCP tools remotely
Integrating external services with LLMs
Creating a secure and scalable MCP server
Enabling LLMs to interact with real-world data and systems
FAQ from Remote MCP Server
How do I connect to the server locally?
How do I connect to the server locally?
Use the MCP Inspector and set the Transport Type to SSE and the URL to http://localhost:8787/sse.
How do I deploy the server to Cloudflare?
How do I deploy the server to Cloudflare?
Create a KV namespace, add the namespace ID to wrangler.jsonc, and run npm run deploy.
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 (either local or deployed) 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 with the command npx mcp-remote http://localhost:8787/sse
. You can also try clearing the files added to ~/.mcp-auth
Where can I find more information about MCP?
Where can I find more information about MCP?
Visit modelcontextprotocol.io for documentation and resources.