Master MCP Orchestrator
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Master MCP OrchestratorWhat model should I use for debugging?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Master MCP Orchestrator
A central MCP server that connects to multiple MCP servers and intelligently routes user queries to the appropriate MCP tools, then aggregates and returns responses.
π Quick Start (Interactive CLI)
The easiest way to get started is with our interactive CLI:
python src/cli.pyThe CLI will guide you through:
API key setup
MCP server discovery
MCP selection
Interactive query interface
See CLI_QUICKSTART.md for detailed instructions.
Related MCP server: MCP Aggregator Server
Features
π Multi-MCP Connection: Connect to multiple MCP servers simultaneously
π€ AI-Powered Routing: Uses LLM to intelligently route queries (default)
π§ Intelligent Routing: Analyzes queries to determine which MCP(s) to call
π Tool Discovery: Automatically discovers available tools from connected MCPs
π Response Aggregation: Combines responses from multiple MCPs when needed
β‘ Async Execution: Parallel execution for faster responses
π― Query Analysis: Understands query intent to route to correct MCPs
π Fallback Support: Automatically falls back to rule-based routing if AI fails
Architecture
User Query
β
βΌ
βββββββββββββββββββββββ
β Master MCP Server β
β βββββββββββββββββ β
β β Query Analyzerβ β
β βββββββββ¬ββββββββ β
β β β
β βΌ β
β βββββββββββββββββ β
β β MCP Router β β
β βββββββββ¬ββββββββ β
β β β
ββββββββββββΌβββββββββββ
β
ββββββββ΄βββββββ
β β
βΌ βΌ
βββββββββββ βββββββββββ
β MCP #1 β β MCP #2 β
β Router β β Coding β
ββββββ¬βββββ ββββββ¬βββββ
β β
βββββββ¬βββββββ
β
βΌ
ββββββββββββ
β Response β
β Aggregatorβ
βββββββ¬βββββ
β
βΌ
User ResponseInstallation
cd master-mcp
pip install -r requirements.txtAI Routing Setup (Optional)
The Master MCP works out-of-the-box without API keys using rule-based routing.
For enhanced AI-powered routing, set an API key:
# Option 1: OpenAI (default)
export OPENAI_API_KEY=your_key_here
# Option 2: Anthropic
export ANTHROPIC_API_KEY=your_key_here
export MASTER_MCP_AI_PROVIDER=anthropic
export MASTER_MCP_AI_MODEL=claude-3-5-haikuRouting Modes:
Mode | API Key Required | Speed | Intelligence |
Rule-based (default) | β No | β‘ Fast | Good |
AI-powered | β Yes | π +200ms | Excellent |
To disable AI routing even if API key is set:
export MASTER_MCP_USE_AI=falseConfiguration
Create a config.json file to register MCP servers:
{
"mcp_servers": {
"mcp-router": {
"command": "python3",
"args": ["/path/to/mcp-router/src/mcp_server.py"],
"env": {}
},
"mcp-coding-agent": {
"command": "python3",
"args": ["/path/to/mcp-coding-agent/src/main.py"],
"env": {}
}
}
}Usage
As MCP Server (Cursor Integration) - Recommended
The Master MCP is now integrated with Cursor! See CURSOR_SETUP.md for detailed instructions.
Quick Start:
The Master MCP has been added to your
~/.cursor/mcp.jsonRestart Cursor
Use it:
@master-mcp query_mcp "What model should I use for debugging?" @master-mcp list_mcps
Benefits:
π― Auto-discovers all your existing MCPs
π€ Intelligent query routing (AI or rule-based)
π Aggregates responses from multiple MCPs
π Works out-of-the-box (no API key required for rule-based routing)
Standalone MCP Server
Add to any MCP client's configuration:
{
"version": "1.0",
"mcpServers": {
"master-mcp": {
"command": "python3",
"args": ["/path/to/master-mcp/src/master_mcp_server.py"],
"env": {
"MASTER_MCP_USE_AI": "true"
}
}
}
}CLI Usage
python src/master_mcp_server.py --query "What model should I use for debugging?"How It Works
Query Analysis: Analyzes user query to determine intent
MCP Selection: Selects appropriate MCP(s) based on query
Tool Selection: Chooses the right tool(s) from selected MCPs
Execution: Calls MCP tools (in parallel when possible)
Aggregation: Combines responses into a unified result
Response: Returns formatted response to user
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceAn MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.Last updated13
- Flicense-quality-maintenanceProvides a unified MCP interface that proxies requests to multiple backend servers including memory/knowledge graph and vector database services. Enables seamless access to distributed MCP tools through a single endpoint with automatic routing, health monitoring, and retry logic.Last updated
- Flicense-qualityDmaintenanceA centralized management platform that aggregates multiple Model Context Protocol (MCP) servers into a single unified endpoint for AI agents. It provides a web interface for hot-swappable tool management, proxying of existing servers, and AI-powered generation of custom MCP plugins.Last updated1
- AlicenseAqualityCmaintenanceAggregates and routes multiple MCP servers with intelligent tool recommendation and batch parallel execution, enabling unified access and efficient tool usage.Last updated2404MIT
Related MCP Connectors
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ashcastelinocs124/master-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server