Remote MCP Server
by sagirodin
This project provides a remote MCP (Model Context Protocol) server implementation 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 defined tools.
Last updated: N/A
What is Remote MCP Server?
This is a remote MCP server that runs on Cloudflare Workers, enabling you to expose and interact with tools using the Model Context Protocol. It includes OAuth login and can be accessed via SSE.
How to use Remote MCP Server?
To use this server, you can either develop it locally using npm run dev remote-mcp-server and connect using the MCP Inspector or Claude Desktop, or deploy it to Cloudflare using npm run deploy and then connect remotely using the same tools by pointing them to your Cloudflare Workers URL.
Key features of Remote MCP Server
Remote MCP server
Cloudflare Workers deployment
OAuth login
SSE transport
Integration with MCP Inspector
Integration with Claude Desktop
Use cases of Remote MCP Server
Exposing AI tools to Claude
Creating a serverless MCP endpoint
Testing and developing MCP tools
Integrating AI models with external services
Building custom AI workflows
FAQ from Remote MCP Server
How do I connect the MCP Inspector to my server?
How do I connect the MCP Inspector to my server?
Start the MCP Inspector, switch the Transport Type to SSE, and enter the URL of your MCP server (e.g., http://localhost:8787/sse or your Cloudflare Workers URL) and click connect.
How do I connect Claude Desktop to my server?
How do I connect Claude Desktop to my server?
Update the Claude configuration file to point to your server's URL and restart Claude. The configuration file is located in Settings > Developer > Edit Config.
What if something goes wrong?
What if something goes wrong?
Restart Claude, try connecting directly to your MCP server on the command line with npx mcp-remote http://localhost:8787/sse, or clear the files added to ~/.mcp-auth.
How do I deploy to Cloudflare?
How do I deploy 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 protocol for connecting AI models and tools.