Remote MCP Server
by satvikchauhan22
This project sets up a remote MCP (Model Context Protocol) server on Cloudflare Workers with OAuth login. It allows you to connect to the server locally for development and then deploy it to Cloudflare for remote access.
Last updated: N/A
What is Remote MCP Server?
This is a remote MCP server designed to run on Cloudflare Workers. It enables you to expose tools and functionalities to AI models like Claude through the Model Context Protocol.
How to use Remote MCP Server?
First, develop the server locally using the provided instructions. Then, deploy it to Cloudflare following the deployment steps. Finally, connect to the deployed server using the MCP Inspector or configure Claude Desktop to use it.
Key features of Remote MCP Server
Remote access via Cloudflare Workers
OAuth login
Integration with MCP Inspector
Integration with Claude Desktop
Local development environment
Use cases of Remote MCP Server
Exposing custom tools to AI models
Providing AI models with access to external data sources
Creating serverless AI applications
Extending the capabilities of AI models like Claude
Developing and testing MCP integrations
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 configure it to connect to http://localhost:8787/sse.
How do I deploy the server to Cloudflare?
How do I deploy the server to Cloudflare?
Follow the steps in the 'Deploy to Cloudflare' section, including creating a KV namespace and running 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 remote) and restart Claude.
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for enabling AI models to interact with tools and external resources.
What should I do if something goes wrong?
What should I do if something goes wrong?
Try restarting Claude, connecting directly to the MCP server using npx mcp-remote
, or clearing the files in ~/.mcp-auth
.