Remote MCP Server
by cmsparks
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 MCP clients like the MCP Inspector and Claude Desktop to your server.
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 tools and functionalities to AI models like Claude through the MCP standard.
How to use Remote MCP Server?
First, clone the repository and install dependencies. Then, you can develop locally using npx nx dev remote-mcp-server
. To deploy to Cloudflare, create a KV namespace, add the namespace ID to wrangler.jsonc
, and run npm run deploy
. You can connect to the 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 AI models
Integrating AI models with external services
Building serverless AI applications
Developing and testing MCP integrations locally
Deploying MCP servers to a scalable cloud environment
FAQ from Remote MCP Server
How do I connect the MCP Inspector?
How do I connect the MCP Inspector?
Start the inspector, switch the Transport Type to SSE, and enter the server URL (e.g., http://localhost:8787/sse) to connect.
How do I connect Claude Desktop?
How do I connect Claude Desktop?
Update the Claude configuration file with the server 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
.
How do I deploy to Cloudflare?
How do I deploy to Cloudflare?
Create a KV namespace, add the namespace ID to wrangler.jsonc
, and run npm run deploy
.
Where can I find the Anthropic's Quickstart guide?
Where can I find the Anthropic's Quickstart guide?
You can find it at https://modelcontextprotocol.io/quickstart/user