Remote MCP Server On Cloudflare Iy7
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 integration into the Claude desktop application to call math tools. Finally, it guides you on how to deploy to Cloudflare and access it remotely.
rating : 2 points
downloads : 14
What is Model Context Protocol (MCP)?
MCP is an open protocol used to transfer context information and execute tasks between different AI models. It allows users to call complex model functions, such as mathematical calculations and language generation, through a simple interface.How to use the MCP server?
You can quickly set up the MCP server through a local development environment or cloud deployment and connect it to MCP - supported applications, such as Claude Desktop.Applicable scenarios
The MCP server is very suitable for scenarios that require cross - model collaboration, such as enterprise - level AI tool integration, developer toolchain optimization, and personalized service development.Main features
OAuth LoginSupports secure authentication via OAuth.
SSE Protocol SupportReal - time two - way communication capability to ensure efficient data transmission.
Remote AccessYou can easily connect to and use your MCP server no matter where you are.
Advantages and limitations
Advantages
Powerful cross - model integration capabilities
Easy to deploy and manage
Secure and reliable authentication mechanism
Limitations
Requires certain network conditions support
May require additional configuration for complex models
How to use
Clone the project repository
Run the following command to clone the official GitHub repository: `git clone git@github.com:cloudflare/ai.git`
Install dependencies
After entering the project directory, run `npm install` to install the required dependencies.
Start the local server
Use the `npx nx dev remote - mcp - server` command to start the local server.
Usage examples
Mathematical calculation exampleSend a mathematical calculation request to the MCP server.
Text generation exampleUse the MCP server to generate a random text.
Frequently Asked Questions
How to solve the connection failure problem?
Does it support custom tools?
Related resources
MCP official documentation
Comprehensively understand the MCP protocol and its applications.
GitHub repository
Get the latest code and examples.
Claude Desktop official website
Learn how to configure Claude Desktop to use MCP.
Featured MCP Services

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

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
865
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.8K
5 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
176
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#
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

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

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
313
4.5 points