Set up and connect remote MCP servers on Cloudflare Workers with OAuth integration and Claude Desktop support
The Remote MCP Server, built and hosted on Cloudflare Workers, provides a robust framework for integrating various AI applications with external data sources and tools through the Model Context Protocol (MCP). By leveraging MCP, this server enables users to build powerful, flexible workflows that can be easily accessed by different AI clients. This documentation aims to guide developers in setting up, deploying, and utilizing the Remote MCP Server effectively.
The Remote MCP Server offers several key features that make it a vital component for AI application development:
The architecture of the Remote MCP Server integrates robust MCP capabilities, ensuring seamless communication between the AI application and external resources:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
To set up and run the Remote MCP Server on your local machine:
git clone [email protected]:cloudflare/ai.git
cd ai
npm install
npx nx dev remote-mcp-server
Upon successful setup, you can access the server at http://localhost:8787/
.
By integrating the Remote MCP Server into these workflows, developers can ensure that AI applications are seamlessly connected to necessary data sources, enhancing their functionality and efficiency.
The Remote MCP Server is compatible with multiple popular MCP clients:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
Through these integrations, developers can harness the power of the Remote MCP Server to create dynamic and interactive AI applications.
The performance and compatibility matrix outlines how well different applications can work with the Remote MCP Server:
Client | Claude Desktop | Continue | Cursor |
---|---|---|---|
Resources | ✅ | ✅ | ❌ |
Tools | ✅ | ✅ | ✅ |
Prompts | ✅ | ✅ | ❌ |
This matrix provides a clear understanding of the integration capabilities and supports developers in making informed decisions.
To ensure secure and efficient operation, users can configure the server with necessary settings:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
By customizing these settings, users can enhance the security and performance of their AI applications.
Q: How do I integrate Multiple Tools into the Server?
Q: What are the Security Measures for Data Transmission?
Q: Can I Deploy the Server to Other Cloud Providers?
Q: How Do I Upgrade My Server to Latest Version?
npm install
followed by npm run build
.Q: Are There Any Known Compatibility Issues with Specific MCP Clients?
Contributions are welcome from the developer community. Please follow these guidelines:
For more information about the Remote MCP Server and the broader MCP ecosystem, refer to:
By leveraging these resources, developers can gain a deeper understanding of how to integrate and utilize the Remote MCP Server effectively.
This comprehensive documentation positions the Remote MCP Server as an essential tool for building robust AI applications through seamless integration with various tools and data sources.
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Python MCP client for testing servers avoid message limits and customize with API key
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions
Analyze search intent with MCP API for SEO insights and keyword categorization
Discover easy deployment and management of MCP servers with Glutamate platform for Windows Linux Mac