Remote MCP Server On Cloudflare J4s
This project demonstrates how to set up a remote MCP server on Cloudflare Workers, including the OAuth login function, and supports connection and tool invocation through the MCP Inspector and Claude desktop client.
rating : 2 points
downloads : 5.2K
What is the Model Context Protocol (MCP) Server?
The MCP server is a protocol for connecting models and applications, allowing you to easily invoke model tools through a browser or desktop application. It supports OAuth login to ensure the security of your data.How to use the MCP server?
First, you need to run the MCP server in your local development environment and then deploy it to Cloudflare Workers. After that, you can use the MCP Inspector or Claude Desktop to connect to the server and invoke tools.Applicable Scenarios
The MCP server is suitable for applications that need to invoke model tools, such as data analysis, natural language processing, and mathematical calculations.Main Features
OAuth Login
Supports OAuth authentication to ensure the security of user data.
SSE Protocol Support
Enables real-time communication through Server-Sent Events (SSE).
Remote Access
You can access your MCP server from anywhere via the Internet.
Advantages
Easy to deploy and use
Supports integration of multiple tools
Cross - platform compatibility
Limitations
Initial setup may require certain technical knowledge
Some advanced features may depend on specific environments
How to Use
Clone the repository and install dependencies
Clone the GitHub repository and install the required Node.js dependencies.
Start the local server
Use the nx tool to start the local MCP server.
Connect to the MCP Inspector
Open the MCP Inspector and configure the server URL.
Deploy to Cloudflare Workers
Deploy the MCP server to Cloudflare Workers.
Usage Examples
Using the MCP Inspector
Use the MCP Inspector to connect to the MCP server in the local development environment.
Connecting to Claude Desktop
Configure Claude Desktop to use the remote MCP server.
Frequently Asked Questions
How to solve the problem of deployment failure?
How to clear the OAuth authentication cache?
How to debug the local MCP server?
Related Resources
MCP Inspector
A tool for testing and connecting to the MCP server.
Claude Desktop
A desktop application supporting the MCP protocol.
GitHub Repository
The open - source code of the MCP server.

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
22.5K
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
31.9K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
64.1K
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
19.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#
28.7K
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
58.9K
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
20.6K
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
87.8K
4.7 points

