AI Team MCP - Multi-AI Collaboration Framework
Project description
๐ค 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_kaluso_nolodjska_ai_team_mcp-4.0.0.tar.gz.
File metadata
- Download URL: iflow_mcp_kaluso_nolodjska_ai_team_mcp-4.0.0.tar.gz
- Upload date:
- Size: 74.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fc9773d75727e264f218d02c1758491706b6739600b46d6d691d9133d917ecf
|
|
| MD5 |
c9bd9c543e9b20a669776504673c9283
|
|
| BLAKE2b-256 |
bbf0d5225d9682194d6ba43f743df2b53616f76bafd552a11351fc54bd67e912
|
File details
Details for the file iflow_mcp_kaluso_nolodjska_ai_team_mcp-4.0.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_kaluso_nolodjska_ai_team_mcp-4.0.0-py3-none-any.whl
- Upload date:
- Size: 98.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77a54521fec68b00549a83a1e3331f49696094240a83d2b491cfdf9afc076bf5
|
|
| MD5 |
7e1bd8b5b01a238867c739c9077c0ccc
|
|
| BLAKE2b-256 |
3f50fc1ac03b54d72d47cfd15e849fdaa54b7a9e82fc1b26c902fa2758cecb70
|