mcp__gemini__team_orchestrator
Coordinate multi-developer workflows with shared AI contexts, enabling seamless team collaboration across roles like frontend, backend, and devops for Agile projects on the Gemini MCP server.
Instructions
Multi-developer collaboration with shared AI contexts and workflow coordination
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordination_level | No | Coordination level | high |
| project | Yes | Project name or description | |
| team_members | No | Team member roles | |
| workflow_type | No | Workflow type | agile |
Implementation Reference
- src/tools/business-tools.js:257-371 (handler)The handler function for the mcp__gemini__team_orchestrator tool. It orchestrates team collaboration by generating an AI-powered orchestration plan, role-specific guidelines, stores the configuration, and returns a formatted response.handler: async (args) => { const { project, team_members = ['frontend', 'backend', 'devops'], workflow_type = 'agile', coordination_level = 'high' } = args; validateString(project, 'project'); const timer = performanceMonitor.startTimer('team_orchestrator'); const orchestrationPrompt = `Design team orchestration strategy for multi-developer collaboration: **Project**: ${project} **Team Roles**: ${team_members.join(', ')} **Workflow**: ${workflow_type} **Coordination Level**: ${coordination_level} Create comprehensive collaboration framework: 1. **Team Structure & Responsibilities** ${team_members.map(role => `- **${role}**: Specific responsibilities and deliverables`).join('\n ')} 2. **Workflow Coordination** - Task distribution strategy - Dependency management - Communication protocols - Progress tracking methods 3. **Shared Context Management** - Context sharing between team members - Knowledge transfer protocols - Decision documentation - Conflict resolution procedures 4. **AI-Assisted Coordination** - AI context sharing between developers - Automated workflow suggestions - Cross-team knowledge synthesis - Intelligent task routing 5. **Quality Assurance Integration** - Code review coordination - Testing responsibilities - Quality gates and standards - Performance monitoring 6. **Delivery Pipeline** - Sprint planning and execution - Release coordination - Risk management - Success metrics Provide specific protocols and tools for each aspect.`; const orchestrationPlan = await aiClient.call(orchestrationPrompt, 'main', { complexity: 'complex', maxTokens: 4000 }); // Generate team-specific guidelines const guidelines = {}; for (const role of team_members) { const rolePrompt = `Create specific guidelines for ${role} developer in this team setup: Project: ${project} Team Structure: ${team_members.join(', ')} Provide for ${role}: 1. **Daily Responsibilities** 2. **Collaboration Touchpoints** 3. **AI Context Usage Guidelines** 4. **Quality Standards** 5. **Communication Protocols** Be specific and actionable.`; guidelines[role] = await aiClient.call(rolePrompt, 'main'); } // Save team configuration const teamData = { id: Date.now().toString(), project, team_members, workflow_type, coordination_level, timestamp: new Date().toISOString(), orchestration_plan: orchestrationPlan, role_guidelines: guidelines }; const storageData = await storage.read('team_orchestrations'); if (!storageData.teams) storageData.teams = []; storageData.teams.push(teamData); await storage.write('team_orchestrations', storageData); timer.end(); return `👥 **Team Orchestration Plan** (${workflow_type}) **Project**: ${project} **Team**: ${team_members.join(', ')} **Coordination**: ${coordination_level} --- 🎯 **Orchestration Strategy** ${orchestrationPlan} --- 📋 **Role-Specific Guidelines** ${Object.entries(guidelines).map(([role, guide]) => `### ${role.toUpperCase()} DEVELOPER\n${guide}`).join('\n\n---\n\n')} **Team Configuration ID**: ${teamData.id} (saved for project tracking)`; }
- src/tools/business-tools.js:251-256 (schema)Input schema defining parameters for the team_orchestrator tool including project, team members, workflow type, and coordination level.parameters: { project: { type: 'string', description: 'Project name or description', required: true }, team_members: { type: 'array', description: 'Team member roles', default: ['frontend', 'backend', 'devops'] }, workflow_type: { type: 'string', description: 'Workflow type', default: 'agile' }, coordination_level: { type: 'string', description: 'Coordination level', default: 'high' } },
- src/tools/business-tools.js:249-372 (registration)Registration of the mcp__gemini__team_orchestrator tool within the businessTools object export.'mcp__gemini__team_orchestrator': { description: 'Multi-developer collaboration with shared AI contexts and workflow coordination', parameters: { project: { type: 'string', description: 'Project name or description', required: true }, team_members: { type: 'array', description: 'Team member roles', default: ['frontend', 'backend', 'devops'] }, workflow_type: { type: 'string', description: 'Workflow type', default: 'agile' }, coordination_level: { type: 'string', description: 'Coordination level', default: 'high' } }, handler: async (args) => { const { project, team_members = ['frontend', 'backend', 'devops'], workflow_type = 'agile', coordination_level = 'high' } = args; validateString(project, 'project'); const timer = performanceMonitor.startTimer('team_orchestrator'); const orchestrationPrompt = `Design team orchestration strategy for multi-developer collaboration: **Project**: ${project} **Team Roles**: ${team_members.join(', ')} **Workflow**: ${workflow_type} **Coordination Level**: ${coordination_level} Create comprehensive collaboration framework: 1. **Team Structure & Responsibilities** ${team_members.map(role => `- **${role}**: Specific responsibilities and deliverables`).join('\n ')} 2. **Workflow Coordination** - Task distribution strategy - Dependency management - Communication protocols - Progress tracking methods 3. **Shared Context Management** - Context sharing between team members - Knowledge transfer protocols - Decision documentation - Conflict resolution procedures 4. **AI-Assisted Coordination** - AI context sharing between developers - Automated workflow suggestions - Cross-team knowledge synthesis - Intelligent task routing 5. **Quality Assurance Integration** - Code review coordination - Testing responsibilities - Quality gates and standards - Performance monitoring 6. **Delivery Pipeline** - Sprint planning and execution - Release coordination - Risk management - Success metrics Provide specific protocols and tools for each aspect.`; const orchestrationPlan = await aiClient.call(orchestrationPrompt, 'main', { complexity: 'complex', maxTokens: 4000 }); // Generate team-specific guidelines const guidelines = {}; for (const role of team_members) { const rolePrompt = `Create specific guidelines for ${role} developer in this team setup: Project: ${project} Team Structure: ${team_members.join(', ')} Provide for ${role}: 1. **Daily Responsibilities** 2. **Collaboration Touchpoints** 3. **AI Context Usage Guidelines** 4. **Quality Standards** 5. **Communication Protocols** Be specific and actionable.`; guidelines[role] = await aiClient.call(rolePrompt, 'main'); } // Save team configuration const teamData = { id: Date.now().toString(), project, team_members, workflow_type, coordination_level, timestamp: new Date().toISOString(), orchestration_plan: orchestrationPlan, role_guidelines: guidelines }; const storageData = await storage.read('team_orchestrations'); if (!storageData.teams) storageData.teams = []; storageData.teams.push(teamData); await storage.write('team_orchestrations', storageData); timer.end(); return `👥 **Team Orchestration Plan** (${workflow_type}) **Project**: ${project} **Team**: ${team_members.join(', ')} **Coordination**: ${coordination_level} --- 🎯 **Orchestration Strategy** ${orchestrationPlan} --- 📋 **Role-Specific Guidelines** ${Object.entries(guidelines).map(([role, guide]) => `### ${role.toUpperCase()} DEVELOPER\n${guide}`).join('\n\n---\n\n')} **Team Configuration ID**: ${teamData.id} (saved for project tracking)`; } },