universal-mcp-orchestration
Version:
š UNIVERSAL AI DEVELOPMENT SYSTEM: 100% OPTIMIZED! Complete plug-and-play MCP orchestration with 20/20 agents operational, 101MB optimization, zero-error operations, and enterprise-grade reliability. Works with ANY project type at ANY scale.
288 lines (228 loc) ⢠9.11 kB
Markdown
# š UNIVERSAL MCP ORCHESTRATION - COMPLETE USAGE GUIDE
## š¦ Installation & Setup
### Step 1: Global Installation
```bash
npm install -g universal-mcp-orchestration@latest
```
### Step 2: Verify Installation
```bash
npm list -g universal-mcp-orchestration
claude mcp list
# Should show 20/20 agents connected
```
### Step 3: Project Setup
```bash
cd your-project
mcp-orchestrator # Auto-configures Claude Code for your project
```
## šÆ TWO DIFFERENT AGENT SYSTEMS - CRITICAL UNDERSTANDING
### š· **System 1: Claude Code Task Tool Agents**
**When to use**: General tasks, file operations, code analysis, documentation
**Access method**: Through Claude Code's built-in Task tool
### š¶ **System 2: Universal MCP Orchestration Agents**
**When to use**: Specialized domain functions, workflow coordination
**Access method**: Direct MCP function calls
## ā
CORRECT USAGE PATTERNS
### š· Using Claude Code Task Tool Agents
**Available Agents:**
```
general-purpose, statusline-setup, output-style-setup, accuracy-agent,
dashboard-agent, vertex-ai-agent, gcp-agent, api-agent, architecture-agent,
beecom-agent, hebrew-agent, database-agent, deploy-agent, bible-agent,
context-agent, shifts-agent, api-master-agent, knowledge-master-agent,
documentation-agent
```
**Correct Syntax:**
```bash
# ā
CORRECT - In Claude Code conversation
Task(subagent_type="architecture-agent",
description="Design system architecture",
prompt="Create a scalable microservices architecture for an e-commerce platform with user auth, product catalog, and payment processing")
Task(subagent_type="documentation-agent",
description="Create API documentation",
prompt="Generate comprehensive REST API documentation for the user authentication endpoints")
Task(subagent_type="general-purpose",
description="Code review",
prompt="Review this React component for performance issues and best practices: [code]")
```
### š¶ Using Universal MCP Orchestration Agents
**Available MCP Functions:**
```bash
# Orchestration Manager
mcp__orchestration-manager__start_workflow
mcp__orchestration-manager__coordinate_agents
mcp__orchestration-manager__analyze_feature_request
mcp__orchestration-manager__optimize_agent_selection
mcp__orchestration-manager__create_agent_team
# DevOps Agent
mcp__devops__setup_ci_pipeline
mcp__devops__containerize_application
mcp__devops__deploy_to_kubernetes
mcp__devops__configure_monitoring
mcp__devops__implement_disaster_recovery
# Architecture Agent
mcp__architecture__get_agent_info
```
**Correct Syntax:**
```bash
# ā
CORRECT - In Claude Code conversation
mcp__orchestration-manager__start_workflow(
request="Build a React dashboard with user authentication",
workflow_type="sequential"
)
mcp__devops__setup_ci_pipeline(
platform="github_actions",
project_type="node",
stages=["build", "test", "security", "deploy"],
deployment_environments=["dev", "staging", "prod"]
)
mcp__orchestration-manager__create_agent_team(
project_type="web_app",
team_size=5,
specializations=["frontend", "backend", "devops", "security"]
)
```
## ā COMMON MISTAKES TO AVOID
### ā Wrong: Mixing System Syntaxes
```bash
# DON'T DO THIS - Will fail
Task(subagent_type="mcp__orchestration-manager") # ā WRONG
orchestration-manager__start_workflow() # ā WRONG
```
### ā Wrong: Using Non-existent Agents
```bash
# DON'T DO THIS - Agents don't exist in Task tool
Task(subagent_type="frontend-developer") # ā WRONG
Task(subagent_type="backend-engineer") # ā WRONG
Task(subagent_type="qa-engineer") # ā WRONG
```
## šÆ PRACTICAL USE CASES
### š **Scenario 1: Building a Full-Stack Web App**
```bash
# Step 1: Plan the architecture
Task(subagent_type="architecture-agent",
description="Plan web app architecture",
prompt="Design architecture for a social media platform with React frontend, Node.js backend, PostgreSQL database, and Redis caching")
# Step 2: Create development team
mcp__orchestration-manager__create_agent_team(
project_type="web_app",
team_size=6,
specializations=["frontend", "backend", "database", "security", "testing"]
)
# Step 3: Set up CI/CD
mcp__devops__setup_ci_pipeline(
platform="github_actions",
project_type="node",
stages=["build", "test", "security", "deploy"]
)
# Step 4: Create documentation
Task(subagent_type="documentation-agent",
description="Create project documentation",
prompt="Generate comprehensive documentation including README, API docs, and deployment guide")
```
### š§ **Scenario 2: DevOps & Infrastructure Setup**
```bash
# Step 1: Containerize application
mcp__devops__containerize_application(
app_type="node",
multi_stage=true,
optimization_level="production"
)
# Step 2: Deploy to Kubernetes
mcp__devops__deploy_to_kubernetes(
app_name="my-social-app",
replicas=3,
autoscaling=true,
ingress_enabled=true
)
# Step 3: Set up monitoring
mcp__devops__configure_monitoring(
monitoring_stack=["prometheus", "grafana", "elk"],
metrics_retention=30,
alerting_enabled=true
)
```
### š **Scenario 3: Documentation & Knowledge Management**
```bash
# Step 1: Analyze documentation needs
Task(subagent_type="knowledge-master-agent",
description="Audit existing documentation",
prompt="Analyze our codebase and identify documentation gaps, outdated content, and missing API documentation")
# Step 2: Create comprehensive documentation
Task(subagent_type="documentation-agent",
description="Create documentation system",
prompt="Build a comprehensive documentation system including developer guides, API references, deployment instructions, and troubleshooting guides")
# Step 3: Set up knowledge management
Task(subagent_type="bible-agent",
description="Create knowledge base",
prompt="Organize all project knowledge into searchable Bible files for future reference and onboarding")
```
## š DEBUGGING & TROUBLESHOOTING
### Check Available Agents
```bash
# List all MCP agents
claude mcp list
# Check MCP server health
claude --debug
```
### Common Error Messages & Solutions
**Error**: `Agent type 'mcp__orchestration-manager' not found`
**Solution**: Use MCP function syntax instead:
```bash
# ā Wrong
Task(subagent_type="mcp__orchestration-manager")
# ā
Correct
mcp__orchestration-manager__start_workflow(request="...", workflow_type="sequential")
```
**Error**: `'RealAgentImplementation' object has no attribute 'create_output_file'`
**Solution**: Update to latest version:
```bash
npm update -g universal-mcp-orchestration
```
**Error**: `python3: can't open file 'mcp_server.py'`
**Solution**: The postinstall script will auto-heal this. If not:
```bash
npm uninstall -g universal-mcp-orchestration
npm install -g universal-mcp-orchestration
```
## š AGENT REFERENCE QUICK GUIDE
### š· Task Tool Agents (Use with Task tool)
| Agent | Best For |
|-------|----------|
| `general-purpose` | Any coding task, file operations |
| `architecture-agent` | System design, technical planning |
| `documentation-agent` | Creating docs, guides, README files |
| `knowledge-master-agent` | Knowledge management, information organization |
| `bible-agent` | Project knowledge, patterns, best practices |
| `context-agent` | Understanding existing codebases |
### š¶ MCP Direct Functions (Call directly)
| Function | Purpose |
|----------|---------|
| `mcp__orchestration-manager__*` | Workflow coordination, team management |
| `mcp__devops__*` | Infrastructure, deployment, monitoring |
| `mcp__architecture__*` | System architecture information |
## šÆ SUCCESS PATTERNS
### ā
**Pattern 1: Start with Task Tools**
Use Task tool agents for initial exploration, analysis, and implementation.
### ā
**Pattern 2: Coordinate with MCP Functions**
Use MCP direct calls for specialized domain operations and workflow coordination.
### ā
**Pattern 3: Always Verify**
Check `claude mcp list` to confirm what's available in your environment.
### ā
**Pattern 4: Combine Systems**
Use both systems together - Task tools for implementation, MCP functions for coordination.
## š GETTING STARTED CHECKLIST
- [ ] Install: `npm install -g universal-mcp-orchestration@latest`
- [ ] Verify: `claude mcp list` shows 20/20 agents
- [ ] Configure: Run `mcp-orchestrator` in your project
- [ ] Test Task tool: Try `Task(subagent_type="general-purpose", ...)`
- [ ] Test MCP: Try `mcp__orchestration-manager__start_workflow(...)`
- [ ] Read this guide when you get errors
- [ ] Update regularly: `npm update -g universal-mcp-orchestration`
## š SUPPORT & UPDATES
- **NPM Package**: `universal-mcp-orchestration`
- **GitHub**: Check repository for updates and issues
- **Version**: Always use `@latest` for newest features
- **Documentation**: This guide covers v3.4.6+ features
---
š **You're now ready to use the Universal MCP Orchestration system!**
Start with simple Task tool operations, then move to MCP direct functions for advanced coordination. Remember: Task tools for implementation, MCP functions for specialization!