Remote MCP Server On Cloudflare Yzc
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 the MCP Inspector, and scenarios such as integrating the Claude desktop application to call mathematical tools. Finally, it can be deployed to the Cloudflare cloud service.
rating : 2 points
downloads : 13
What is an MCP server?
An MCP server is a remote service that supports the Model Context Protocol, allowing users to call various tools, such as mathematical calculations and data analysis, through a simple interface.How to use an MCP server?
By installing a client tool (such as MCP Inspector) or configuring a third - party application (such as Claude Desktop), you can easily connect to the MCP server and call the required tools.Applicable scenarios
Suitable for enterprises, developers who need efficient tool integration, and professionals who want to simplify their workflows.Main Features
Remote tool invocationCall multiple tools directly in the cloud through the MCP protocol without local deployment.
OAuth login supportProvide a secure authentication mechanism to ensure the security of data transmission.
Cross - platform compatibilitySupport integration with multiple client tools and third - party applications.
Advantages and Limitations
Advantages
Quick to get started without complex configuration
A powerful tool ecosystem
High - security guarantee
Limitations
Some dependence on the network environment
Some advanced functions may be limited by third - party services
How to Use
Clone the project repository
Run the following command to clone the MCP server code repository:
```bash
git clone git@github.com:cloudflare/ai.git
```
Install dependencies
After entering the project directory, install the required dependencies:
```bash
cd ai
npm install
```
Start the local server
Run the following command to start the local MCP server:
```bash
npx nx dev remote - mcp - server
```
Connect to MCP Inspector
Open MCP Inspector and enter the local server address to connect.
Usage Examples
Mathematical calculationSend a request to the MCP server to perform a mathematical operation.
Data visualizationGenerate a chart to show sales trends.
Frequently Asked Questions
How to deploy the MCP server to Cloudflare Workers?
Why can't I connect to the remote MCP server?
Related Resources
MCP official documentation
Understand the basic knowledge and best practices of the MCP protocol.
GitHub repository
Get the latest version of the MCP server source code.
MCP Inspector tutorial video
Watch a video guide on how to use MCP Inspector.
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
864
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
175
4.5 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.8K
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
124
4.3 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#
594
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

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
312
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.3K
4.7 points