Remote MCP Server On Cloudflare Bny
This project demonstrates how to build 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, integration with the Claude desktop, and finally deployment to Cloudflare for remote invocation.
rating : 2 points
downloads : 4.4K
What is Model Context Protocol (MCP)?
MCP is a protocol for communication and collaboration between models, allowing developers to call various AI tools and services through a unified interface.How to use the MCP server?
You can use the MCP server through local development, deployment to Cloudflare Workers, and integration with other AI tools.Applicable scenarios
The MCP server is suitable for scenarios that require cross - platform tool integration, real - time collaboration, and secure authentication.Main Features
OAuth Authentication
Supports OAuth login to ensure the security of user authentication.
SSE Transport Protocol
Achieves efficient real - time communication through Server - Sent Events.
Key - Value Storage
Utilizes Cloudflare KV to store sensitive data and configuration information.
Advantages
Simple deployment without complex infrastructure.
Supports multi - platform tool integration.
Strong security and performance guarantee.
Limitations
Initial configuration may require a certain technical background.
Some advanced features may depend on specific environment configurations.
How to Use
Clone the repository and install dependencies
Run the following commands to clone the project and install the necessary dependencies:
```bash
# Clone the repository
git clone git@github.com:cloudflare/ai.git
# Install dependencies
cd ai
npm install
```
Start the server locally
Run the local development server to test MCP functions:
```bash
npx nx dev remote - mcp - server
```
Connect the MCP client
Use the MCP Inspector or Claude Desktop to connect to your MCP server.
Usage Examples
Mathematical calculation example
Use the MCP server for simple mathematical operations.
Random number generation example
Generate a random number and display the result.
Frequently Asked Questions
How to solve the problem of login failure?
Why can't I connect to the remote MCP server?
Related Resources
MCP Official Documentation
Complete documentation for the MCP protocol.
GitHub Repository
The open - source code repository for the MCP server.
Claude Desktop
A desktop application integrated with the MCP server.

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
 15.0K
 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
 24.0K
 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
 17.0K
 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
 46.4K
 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# 
 19.5K
 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
 45.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
 15.1K
 4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
 31.1K
 4.8 points

