Remote MCP Server on Cloudflare
by irvinebroque
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 MCP clients like the MCP Inspector and Claude Desktop to your server.
Last updated: N/A
What is Remote MCP Server on Cloudflare?
This is a remote MCP server implementation designed to run on Cloudflare Workers. It enables you to expose MCP tools and functionalities to clients like Claude and the MCP Inspector.
How to use Remote MCP Server on Cloudflare?
To use this server, you can first develop it locally using the provided instructions. Then, you can deploy it to Cloudflare Workers. Finally, you can connect MCP clients to your deployed server by configuring them to point to the server's URL.
Key features of Remote MCP Server on Cloudflare
Remote MCP server
Cloudflare Workers deployment
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
Use cases of Remote MCP Server on Cloudflare
Exposing AI tools to Claude
Testing and debugging MCP tools remotely
Developing and deploying MCP servers quickly
Connecting MCP clients to remote servers
Enabling AI tool usage in various applications
FAQ from Remote MCP Server on Cloudflare
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 your MCP server URL as the URL of the MCP server to connect to, and click 'Connect'.
How do I connect Claude Desktop?
How do I connect Claude Desktop?
Update the Claude configuration file to point to your MCP server URL and restart Claude.
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
.
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 npx mcp-remote <your_url>
.
Where are the auth files stored?
Where are the auth files stored?
The auth files are stored in ~/.mcp-auth
. You can try deleting these files if you are having issues.