Remote MCP Server 2
This project demonstrates how to deploy a remote MCP server on Cloudflare Workers and implement the OAuth login function. It supports local development and debugging, can be connected through the MCP inspector or the Claude desktop application, and is finally deployed to the Cloudflare cloud service.
rating : 2 points
downloads : 22
What is the Remote MCP Server?
This is a remote Model Context Protocol (MCP) server built on Cloudflare Workers, allowing developers to interact with AI tools through the SSE (Server-Sent Events) protocol. It supports OAuth login authentication and can be integrated into AI assistant clients such as Claude.How to use the Remote MCP Server?
You can use this service through the MCP Inspector tool or by directly integrating it into the Claude desktop client. The server supports both local development and cloud deployment modes.Applicable Scenarios
Suitable for scenarios where custom tools need to be integrated into AI assistants, such as specific function extensions like mathematical calculations and data queries.Main Features
SSE Protocol SupportImplement real-time tool invocation and response through the Server-Sent Events protocol
OAuth LoginProvide a secure user authentication mechanism, supporting the OAuth login process
Cloudflare DeploymentOne-click deployment to the Cloudflare Workers platform, enjoying the global edge computing network
Tool IntegrationSupport the definition and invocation of multiple tools, such as an example of a mathematical calculation tool
Advantages and Limitations
Advantages
Rapid deployment: Based on Cloudflare Workers, deployment is simple and fast
Global coverage: Utilize the Cloudflare global network to provide low-latency services
Easy integration: Support the standard MCP protocol and can be integrated with multiple clients
Secure authentication: Built-in OAuth login mechanism ensures security
Limitations
Dependent on the Cloudflare platform: Functions are limited by the Workers runtime environment
Requires configuration: Initial setup requires certain technical knowledge
Limited tools: Only basic tools are provided by default, and self-expansion is required
How to Use
Prepare the local development environment
Clone the repository and install dependencies
Start the local server
Run the development server
Test using the MCP Inspector
Start the MCP Inspector and connect to the local server
Deploy to Cloudflare
Create a KV namespace and deploy
Integrate into the Claude client
Modify the Claude configuration to use the remote server
Usage Examples
Invocation of the mathematical calculation toolInvoke the mathematical calculation tool on the MCP server through the Claude client
Remote tool integrationDeploy custom tools to the remote server for team use
Frequently Asked Questions
How to solve connection problems?
What if the login fails?
How to add custom tools?
Related Resources
MCP Protocol Documentation
Official documentation for the Model Context Protocol
Cloudflare Workers Documentation
Cloudflare Workers development guide
GitHub Repository
Project source code
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
88
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
142
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
285
4.5 points