Remote MCP Server
by mehmet-arikan
This project provides a remote MCP (Model Context Protocol) server that can be deployed on Cloudflare Workers. It enables OAuth login and allows you to connect to the server using the MCP Inspector or Claude Desktop.
Last updated: N/A
What is Remote MCP Server?
A remote Model Context Protocol (MCP) server built to run on Cloudflare Workers, providing a way to expose tools to AI models like Claude.
How to use Remote MCP Server?
The server can be deployed to Cloudflare using Wrangler. Locally, it can be run using npx nx dev remote-mcp-server
. To connect, use the MCP Inspector or configure Claude Desktop to point to the server's URL (either localhost or the Cloudflare Workers URL).
Key features of Remote MCP Server
Remote MCP server
Cloudflare Workers deployment
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
Use cases of Remote MCP Server
Exposing custom tools to AI models
Enabling AI models to perform tasks using external services
Creating a scalable and reliable MCP server
Developing and testing MCP integrations locally
Connecting Claude to custom tools
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, then enter http://localhost:8787/sse
as the URL.
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 and restart Claude.
What if something goes wrong?
What if something goes wrong?
Try restarting Claude or connecting directly to the MCP server on the command line with npx mcp-remote http://localhost:8787/sse
. You can also try clearing the files added to ~/.mcp-auth
.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a standard for connecting AI models to external tools and services.