Remote MCP Server On Cloudflare Nwp
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, connection testing through MCP Inspector, and integration into the Claude desktop application for using mathematical tools.
rating : 2 points
downloads : 8
What is the Model Context Protocol (MCP) Server?
The MCP server is a tool invocation platform based on the Model Context Protocol, allowing you to easily connect and manage multiple model tools. It runs on Cloudflare Workers, featuring high performance and low latency.How to Use the MCP Server?
You can directly test the MCP server in your local development environment or deploy it to Cloudflare Workers for remote access. By configuring clients (such as MCP Inspector or Claude Desktop), you can quickly invoke registered tools.Applicable Scenarios
The MCP server is suitable for developers who need to integrate various AI tools, such as natural language processing and mathematical calculation tasks. It can help you simplify the tool management and invocation process.Main Features
OAuth LoginSupports the OAuth authentication mechanism to ensure user identity security.
SSE Transport ProtocolAchieves efficient data stream transmission through Server - Sent Events.
Tool ManagementConveniently register, manage, and invoke various tools.
Cloudflare Workers DeploymentSupports rapid deployment and scaling on the Cloudflare platform.
Advantages and Limitations
Advantages
High performance: Based on Cloudflare Workers, with fast response speed.
Ease of use: Supports OAuth authentication and a visual interface.
Flexibility: Supports the integration of various tools and services.
Low cost: Can run without additional hardware investment.
Security: Adopts modern encryption technology and permission control.
Limitations
Dependence on network environment: Requires a stable Internet connection.
Tool compatibility: Not all tools are fully compatible with the MCP protocol.
Debugging complexity: Some advanced features may require additional configuration.
Capacity limitation: The free version may have request frequency limitations.
How to Use
Clone the Project Repository
First, please clone the official GitHub repository and install the dependencies.
Start the Local Server
Run in development mode to verify if the server is working properly.
Connect to MCP Inspector
Use the MCP Inspector tool to connect to your local MCP server.
Configure Claude Desktop
Edit the Claude Desktop settings to point to your MCP server.
Usage Examples
Mathematical Calculation ExampleUse the MCP server to complete mathematical operation tasks.
Natural Language Processing ExampleUse the MCP server to invoke NLP tools to generate summaries.
Frequently Asked Questions
How to solve the connection failure problem?
Does it support the addition of custom tools?
What conditions are required for deployment to Cloudflare Workers?
Related Resources
MCP Official Website
Understand the core concepts and technical details of the MCP protocol.
GitHub Repository
Get the source code and the latest updates.
MCP Inspector Tutorial
Learn how to use the MCP Inspector tool.
Featured MCP Services

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

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
831
4.3 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

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#
568
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