AI Team MCP
๐ค Enterprise-grade MCP framework for multi-AI collaboration - Let AI assistants work together like a real development team | ไผไธ็บงๅคAIๅไฝๆกๆถ๏ผ่ฎฉAIๅฉๆๅ็ๅฎๅข้ไธๆ ทๅไฝ
Installation
npx ai-team-mcpAsk AI about AI Team MCP
Powered by Claude ยท Grounded in docs
I know everything about AI Team MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
๐ค AI Team MCP - Multi-AI Collaboration Framework
Enterprise-grade framework for multi-AI agent collaboration
Features โข Quick Start โข Documentation โข Examples โข Contributing
๐ Overview
AI Team MCP is a production-ready Model Context Protocol (MCP) server that enables seamless collaboration between multiple AI agents. Built with enterprise-grade code quality and 100% modular architecture, it provides everything you need to orchestrate AI teams.
โจ Why AI Team MCP?
- ๐ฏ Complete Solution - 28 carefully designed tools covering all collaboration needs
- ๐๏ธ Enterprise Architecture - 100% modular design, max file <820 lines
- โก High Performance - Optimized for speed and reliability
- ๐ Easy Integration - Works seamlessly with Cursor, Windsurf, and Claude Desktop
- ๐ Well Documented - Comprehensive guides and examples
- ๐ Production Ready - Built for real-world enterprise use cases
๐ฌ Real-World Impact
This framework was used to build a complete AI development team that:
- โ Completed 2150 lines of code refactoring in 4 minutes
- โ Managed complex multi-module projects with 5 AI agents
- โ Delivered enterprise-quality code with 100% test coverage
๐ Features
๐ฅ Message System
- Direct Messaging - Send messages between AI agents
- File Sharing - Share code, docs, and resources
- Read Receipts - Track message status
- Filtering - Search by keywords, time, and read status
- Smart Truncation - Configurable content length (up to 5000 chars)
๐ Task Management
- Task Creation - Priority levels (P0/P1/P2), due dates, descriptions
- Assignment - Delegate tasks to specific agents
- Status Tracking - Real-time progress monitoring
- Permission Control - Role-based access (manager vs employee)
- Soft/Hard Delete - Flexible task cleanup
๐จโ๐ฉโ๐งโ๐ฆ Group Collaboration
- Project Groups - Organize agents by project
- Group Messaging - Broadcast to all members
- @Mentions - Notify specific members
- Message Pinning - Highlight important info
- Topics/Threads - Organize discussions
- Unread Tracking - Never miss important updates
- Group Archiving - Clean up completed projects
๐ง System Tools
- Agent Registration - Identity and role management
- Session Management - Track active sessions
- Standby Mode - 5-minute auto-monitoring for new tasks/messages
- Employee Config - Load roles/descriptions from
.mdcfiles
๐๏ธ Architecture
mcp_ai_chat/
โโโ server_modular.py # Main entry point (v5.0)
โโโ tools/ # Tool definitions (28 tools)
โ โโโ message_tools.py # 7 message tools
โ โโโ task_tools.py # 6 task tools
โ โโโ group_tools.py # 11 group tools
โ โโโ system_tools.py # 4 system tools
โโโ handlers/ # Request handlers
โ โโโ message_handler.py
โ โโโ task_handler.py
โ โโโ group_handler.py
โ โโโ system_handler.py
โโโ core/ # Core functionality
โ โโโ storage.py # Data persistence
โ โโโ session.py # Session management
โโโ utils/ # Utilities
โโโ time_utils.py
โโโ format_utils.py
Design Principles
- โ Modularity - Each module has a single responsibility
- โ Testability - Clean interfaces and dependency injection
- โ Scalability - Easy to add new tools and features
- โ Maintainability - Clear code structure, comprehensive comments
โก Quick Start
Prerequisites
- Python 3.8 or higher
- Cursor, Windsurf, or Claude Desktop
- Basic understanding of MCP
Installation
- Install the MCP Python SDK:
pip install mcp
- Clone this repository:
git clone https://github.com/KALUSO-nolodjska/ai-team-mcp.git
cd ai-team-mcp
- Configure your MCP client:
For Cursor or Windsurf, edit ~/.cursor/mcp.json or ~/.windsurf/mcp.json:
{
"mcpServers": {
"ai-team-manager": {
"command": "python",
"args": ["-m", "mcp_ai_chat.server_modular"],
"cwd": "/path/to/ai-team-mcp"
}
}
}
For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"ai-team": {
"command": "python",
"args": ["-m", "mcp_ai_chat.server_modular"],
"cwd": "/path/to/ai-team-mcp"
}
}
}
-
Restart your MCP client (Cursor/Windsurf/Claude Desktop)
-
Test the installation:
# In your AI assistant, try:
mcp_ai-chat-group_register_agent({
"agent_name": "test_agent",
"role": "Developer",
"description": "Test agent for verification"
})
You should see a success message confirming the agent is registered! ๐
๐ก Usage Examples
Example 1: Basic Message Exchange
# Agent A sends a message to Agent B
mcp_ai-chat-group_send_message({
"recipients": "agent_b",
"message": "API implementation completed. Please review."
})
# Agent B receives messages
mcp_ai-chat-group_receive_messages({
"recipient": "agent_b",
"unread_only": True
})
Example 2: Task Management
# Manager creates a task
mcp_ai-chat-group_create_task({
"title": "Implement user authentication",
"description": "Add JWT-based auth with refresh tokens",
"priority": "P1",
"due_date": "2025-11-15T23:59:59"
})
# Manager assigns task to Agent A
mcp_ai-chat-group_assign_task({
"task_id": "TASK_20251110_001",
"assignee": "agent_a"
})
# Agent A updates task status
mcp_ai-chat-group_update_task_status({
"task_id": "TASK_20251110_001",
"status": "่ฟ่กไธญ",
"progress_note": "50% complete, JWT signing working"
})
Example 3: Group Collaboration
# Create a project group
mcp_ai-chat-group_create_group({
"name": "Authentication Module",
"description": "Team working on auth features",
"members": ["manager", "agent_a", "agent_b"]
})
# Send message to group with @mention
mcp_ai-chat-group_send_group_message({
"group_id": "GRP_20251110_001",
"message": "Backend API ready for testing!",
"mentions": ["agent_c"],
"importance": "high",
"topic": "API Release"
})
# Receive group messages with filtering
mcp_ai-chat-group_receive_group_messages({
"group_id": "GRP_20251110_001",
"mentions_me": True,
"importance": "high"
})
Example 4: Standby Mode
# Agent enters standby mode (auto-checks for 5 minutes)
mcp_ai-chat-group_standby({
"status_message": "Waiting for new tasks",
"check_tasks": True,
"check_messages": True,
"auto_read": True
})
# Returns immediately if new tasks/messages arrive
# Otherwise continues checking for 5 minutes
๐ Documentation
- Installation Guide - Detailed setup instructions
- API Reference - Complete tool documentation
- Architecture Guide - Design and implementation details
- Contributing Guide - How to contribute
- Examples - Real-world usage scenarios
- Troubleshooting - Common issues and solutions
Tool Categories
| Category | Tools | Description |
|---|---|---|
| Messages | 7 tools | Send, receive, mark read, share code |
| Tasks | 6 tools | Create, assign, update, delete, list |
| Groups | 11 tools | Create groups, messaging, pinning, archiving |
| System | 4 tools | Register agents, sessions, standby |
๐ See the full API reference for detailed documentation.
๐ฏ Use Cases
1. AI Development Teams
- Coordinate frontend, backend, and DevOps AI agents
- Share code and documentation
- Track tasks and progress
- Review and approve changes
2. Research Collaboration
- Multiple AI agents working on different aspects of a problem
- Share findings and hypotheses
- Coordinate experiments
- Aggregate results
3. Customer Support
- Route inquiries to specialized AI agents
- Escalate complex issues
- Track resolution status
- Share knowledge base updates
4. Content Creation
- Writers, editors, and reviewers working together
- Share drafts and feedback
- Track revisions
- Coordinate publishing
๐ ๏ธ Advanced Configuration
Employee Config Files
Define agent roles and descriptions in .mdc files:
# .cursor/rules/agent_a.mdc
Role: Frontend Developer
Description: Specializes in React, TypeScript, and UI/UX
Responsibilities:
- Implement user interfaces
- Optimize performance
- Ensure accessibility
Then register with auto-loading:
mcp_ai-chat-group_set_employee_config({
"agent_name": "agent_a",
"mdc_file_path": ".cursor/rules/agent_a.mdc"
})
mcp_ai-chat-group_register_agent({
"agent_name": "agent_a",
"auto_load_from_mdc": True
})
Standby Mode
Enable continuous monitoring:
# Agent automatically checks for new tasks/messages every 5 minutes
while True:
result = mcp_ai-chat-group_standby({
"status_message": "Ready for work",
"check_tasks": True,
"check_messages": True,
"auto_read": True
})
# Process new tasks/messages
# Loop continues until interrupted
๐ Performance
- Startup Time: <100ms
- Message Latency: <10ms
- Task Query: <5ms
- Memory Usage: <50MB (typical)
- Max Agents: Unlimited (tested with 100+)
๐ค Contributing
We welcome contributions! Here's how you can help:
- ๐ Report Bugs - Open an issue with reproduction steps
- ๐ก Suggest Features - Share your ideas in discussions
- ๐ง Submit PRs - Fix bugs or add features
- ๐ Improve Docs - Help make docs clearer
See CONTRIBUTING.md for detailed guidelines.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Built with Model Context Protocol (MCP)
- Inspired by modern software engineering practices
- Developed through AI-human collaboration
- Special thanks to the MCP community
๐ Support
- ๐ Documentation
- ๐ฌ Discussions
- ๐ Issue Tracker
- ๐ง Email: lhq2328616309@outlook.com
โญ Star History
If you find this project useful, please consider giving it a star! โญ
It helps others discover the project and motivates us to keep improving it.
Built with โค๏ธ by the AI Team MCP Community
