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., "@AI Collaboration MCP Serverinitialize project with Gemini as CTO and start the autonomous loop"
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.
AI Collaboration MCP Server
š§ Work in Progress - Active Development š§
A Model Context Protocol (MCP) server designed to facilitate direct AI-to-AI collaboration between Claude and Gemini, eliminating the need for human intermediation in development workflows.
Note: This project is under active development. While core features are functional, some aspects are still being refined. Contributions and feedback are welcome!
šÆ Project Goal
Enable truly autonomous AI-to-AI collaboration where:
AI agents work continuously on complex projects
Human intervention is minimal (ideally just starting the process)
Agents create comprehensive project plans and execute 100+ phases autonomously
Work continues until project completion or critical blocker
š Quick Start
Both AIs just run:
That's it! The init command:
Loads existing project context and state
Creates or resumes a comprehensive project plan
Automatically detects and continues pending work
Shows critical tickets and blockers
Starts autonomous execution loops
š Recent Enhancements
Workflow Optimization (v2.0) š
Task Dependencies: Define
dependsOnrelationships between tasksBatch Task Creation: CTO can create multiple tasks in one command
Priority-Based Work: Tasks are automatically prioritized (high/medium/low)
Continuous Developer Mode: No waiting between tasks - automatic progression
Smart Task Status:
available,blocked,in_progress,in_review,completedDependency Resolution: Tasks automatically unblock when dependencies complete
Autonomous Loop System
120-second check intervals for more natural workflow pacing
500 iteration maximum for extended autonomous operation
Continuous work mode - agents keep working until project completion
Manual loop execution - requires human to run check commands (automation WIP)
Project Plan Management
Auto-generated 6-phase plans from PROJECT_REQUIREMENTS.md
Smart phase progression - automatically moves to next phase when complete
Duplicate task detection - prevents recreating completed features
Ad-hoc mission support - pause main plan for urgent tasks
Enhanced Validation
Ticket vs Task distinction - prevents confusion between bug reports and work items
Role-based instructions - clearer guidance for CTO vs Developer roles
Workflow enforcement - ensures proper task creation and submission flow
ā ļø Current Limitations
Automation Challenges
Manual loop execution required - AI agents can't schedule their own checks
PATH configuration needed - Claude/Gemini commands must be accessible
API quota limits - Gemini has daily request limits that may be exceeded
Addressed Issues ā
Single task queuingā Now supports batch task creationDeveloper idle timeā Continuous work mode implementedNo task dependenciesā Full dependency system addedRandom task orderā Priority-based scheduling active
Remaining Challenges
Agents occasionally create duplicate tasks (improved but not eliminated)
Edit button functionality may need manual verification
Loop execution still requires human intervention
Workarounds Available
Automation scripts provided (
mcp-automator.js) but require setupManual loop execution instructions included
Simulation mode for tracking when automation fails
Features
Core Capabilities
Comprehensive Project Plans: 100+ phase autonomous execution capability
One-Command Startup: Just
initwith autonomous flagRole-Based System: CTO, Developer, PM, QA, Architect roles
Smart Task Management: Duplicate detection and phase progression
Ticketing System: Track bugs, enhancements, tech debt
Context Retention: Maintains state across sessions
Mission Management: High-level objectives with auto-decomposition
Code Review Workflow: Submit, review, and revision cycles
Question & Answer System: Asynchronous clarifications
Comprehensive Logging: Full audit trail
š Enhanced Workflow Features (v2.0)
Task Dependencies: Tasks can depend on other tasks with automatic blocking/unblocking
Priority-Based Scheduling: High/medium/low priority with smart task selection
Batch Task Creation: CTO can queue multiple tasks at once for efficiency
Continuous Work Mode: Developer automatically moves to next available task
Smart Status System:
available,blocked,in_progress,in_review,completedDependency Visualization: Clear indication of task dependencies and blockers
Installation
Clone this repository:
Install dependencies:
Make the server executable:
Configuration
For Claude Code
Create a .mcp.json file in your project root:
For Gemini
Configure in ~/.gemini/settings.json:
Note: Gemini may require explicit instructions to execute MCP commands.
Usage
šÆ Autonomous Mode (Recommended)
Start with autonomous flag for continuous operation:
Automation Helpers (Experimental)
For reduced manual intervention:
See AUTOMATION.md for setup details.
Traditional Commands
CTO Tools
send_directive- Create development tasks (now with dependencies & priority)send_batch_directives- Create multiple tasks at oncereview_work- Review submissionscreate_project_plan- Start comprehensive planupdate_plan_progress- Move to next phase
Developer Tools
get_all_tasks- View assigned work (sorted by priority)submit_work- Submit completed tasksask_question- Request clarification
š Enhanced Workflow Examples
Creating Tasks with Dependencies
Continuous Work Mode (Developer)
When the developer runs get_loop_status, they will:
See prioritized available tasks
Automatically start on the highest priority task
After submitting, immediately move to next task
Continue until all available tasks are complete
No more waiting between tasks! The developer keeps working continuously.
Project Plan Workflow
Automatic Plan Creation: On first init, generates 6-phase plan from requirements
Phase Progression: Automatically advances when all phase tasks complete
Duplicate Prevention: Skips tasks that match completed work
Ad-hoc Missions: Can pause main plan for urgent work
Example phases:
Foundation & Basic Structure
Core Interactive Features
UI/UX Enhancement
Data Persistence
Advanced Features
Polish & Quality Assurance
Data Storage
Troubleshooting
Gemini Not Executing Commands
Prefix with: "Execute the following MCP command:"
Or: "Use the ai-collab tool to run:"
Duplicate Task Creation
System now detects similar task names
Manually clean duplicates from
data/tasks.jsonif needed
Loop Not Continuing
Ensure 120-second intervals between checks
Verify agent hasn't exceeded maxIterations (500)
Check API quotas haven't been exceeded
Contributing
This project needs help with:
True automation (removing manual loop execution)
Better Gemini CLI integration
Improved duplicate detection algorithms
Cross-platform automation scripts
Fork the repository
Create feature branch (
git checkout -b feature/improvement)Commit changes (
git commit -m 'Add improvement')Push branch (
git push origin feature/improvement)Open Pull Request
Roadmap
Native scheduling in MCP server
WebSocket/SSE for real-time updates
Improved role switching
Better error recovery
Multi-project support
Visual progress dashboard
License
MIT License - see LICENSE file for details.
Support
For issues, questions, or contributions, please open an issue on GitHub.
Remember: This is an experimental project pushing the boundaries of AI collaboration. Expect rough edges but exciting possibilities!