Orchestrates agent collaboration through a 'Swarm' mode that uses CrewAI for dynamic task delegation and multi-agent management.
Connects multi-agent capabilities to GitHub Copilot in VS Code, allowing developers to use specialized agents as dynamic tools.
Connects to Google's AI models, making them available for parallel execution, debate, and other multi-agent strategies.
Integrates OpenAI models into a unified API for building and coordinating specialized agent teams across various tasks.
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., "@Red Team MCPUse the research team to analyze the competitive landscape for AI startups"
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.
Red Team MCP is a multi-agent collaboration platform that connects to 68 providers and 1500+ models via models.dev. Build specialized agent teams, coordinate complex workflows, and integrate seamlessly with VS Code and Claude Desktop through the Model Context Protocol (MCP).
β¨ Features
π― Universal Model Access
68 Providers: Anthropic, OpenAI, Google, Groq, Mistral, DeepSeek, and 60+ more
1500+ Models: Auto-synced from models.dev
Unified API: One interface for all providers
π€ Multi-Agent Collaboration
5 Coordination Modes: Pipeline, Ensemble, Debate, Swarm, Hierarchical
Predefined Teams: Writing, Marketing, Research, Technical, Executive
Custom Teams: Build your own agent configurations
π‘ MCP Integration
VS Code Ready: Works with GitHub Copilot
Claude Desktop: Native integration
Dynamic Tools: All agents exposed as MCP tools
π Production Ready
FastAPI Backend: High-performance async API
Web Dashboard: HTMX-powered admin interface
Cost Tracking: Per-request usage analytics
π Quick Start
Option A: Docker (Recommended)
git clone https://github.com/yourusername/red-team-mcp.git
cd red-team-mcp
cp .env.example .env
# Edit .env with your API keys
docker compose up -d
# Open http://localhost:8000/ui/Option B: Local Install
git clone https://github.com/yourusername/red-team-mcp.git
cd red-team-mcp
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtConfigure API Keys
cp .env.example .env
# Edit .env with your API keysRun
# Start the web server & dashboard
python main.py serve
# Open http://localhost:8000/ui/
# Or use the CLI
python main.py chat "What is machine learning?"
# Or start the MCP server
python main.py mcpπ€ Multi-Agent Coordination
Red Team MCP excels at coordinating multiple AI agents on complex tasks. Choose from 5 coordination modes:
Mode | Description | Best For |
Pipeline | Agents work sequentially, each building on the previous output | Document workflows, iterative refinement |
Ensemble | Agents work in parallel, then synthesize results | Comprehensive analysis, multiple perspectives |
Debate | Agents engage in back-and-forth argumentation | Critical thinking, finding flaws |
Swarm | CrewAI-powered collaboration with delegation | Complex projects, dynamic task allocation |
Hierarchical | Manager agent delegates to specialists | Large teams, structured workflows |
Predefined Agent Teams
Team | Agents | Default Mode |
Writing Team | Creative Writer, Editor, SEO Specialist | Pipeline |
Marketing Team | Strategist, Brand Manager, Social Media | Hierarchical |
Research Team | Researcher, Data Scientist, Analyst | Ensemble |
Technical Team | Expert, Solutions Architect, Security | Debate |
Executive Team | Strategy, Financial, Operations | Ensemble |
Example: Multi-Agent Request
curl -X POST "http://localhost:8000/api/multi-agent" \
-H "Content-Type: application/json" \
-d '{
"query": "Analyze the competitive landscape for AI startups",
"coordination_mode": "ensemble",
"agents": ["financial_analyst", "strategy_consultant", "technical_expert"]
}'π‘ MCP Integration
Red Team MCP provides a Model Context Protocol server for seamless integration with AI assistants.
VS Code Setup
Create .vscode/mcp.json in your project:
{
"servers": {
"red-team-mcp": {
"command": "python",
"args": ["-m", "src.mcp_server_dynamic"],
"cwd": "/path/to/red-team-mcp"
}
}
}Claude Desktop Setup
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"red-team-mcp": {
"command": "python",
"args": ["/path/to/red-team-mcp/main.py", "mcp"]
}
}
}Available MCP Tools
Tool | Description |
| List all available agents |
| List all predefined teams |
| Chat with a specific agent |
| Execute a team on a task |
| Run multi-agent coordination |
| Generate multiple perspectives |
π API Reference
Chat Endpoint
POST /api/chat
Content-Type: application/json
{
"agent_id": "creative_writer",
"message": "Write a tagline for an AI product",
"temperature": 0.8,
"max_tokens": 500
}Multi-Agent Endpoint
POST /api/multi-agent
Content-Type: application/json
{
"query": "Develop a go-to-market strategy",
"coordination_mode": "hierarchical",
"agents": ["marketing_strategist", "sales_analyst"],
"rebuttal_limit": 3
}Run Team Endpoint
POST /api/team/{team_id}/run
Content-Type: application/json
{
"query": "Create a blog post about AI trends",
"coordination_mode": "pipeline"
}Additional Endpoints
Endpoint | Method | Description |
| GET | List all agents |
| GET | List all teams |
| GET | List available models |
| GET | Health check |
| WS | WebSocket streaming |
ποΈ Architecture
red-team-mcp/
βββ main.py # CLI entry point
βββ config/config.yaml # Configuration
βββ src/
β βββ api/ # FastAPI application
β β βββ app.py # App factory
β β βββ endpoints.py # REST endpoints
β β βββ websockets.py # WebSocket handlers
β βββ agents/ # Agent implementations
β β βββ configurable_agent.py
β β βββ coordinator.py # Multi-agent coordination
β βββ web/ # Dashboard UI
β β βββ routes.py
β β βββ templates/ # HTMX templates
β βββ providers/ # 68 provider implementations
β βββ config.py # Configuration management
β βββ models.py # Model selector
β βββ db.py # SQLite persistence
β βββ mcp_server_dynamic.py # MCP server
βββ mcp_servers/ # Generated MCP serversβοΈ Configuration
Environment Variables
# Core providers
ANTHROPIC_API_KEY=your_key
OPENAI_API_KEY=your_key
GOOGLE_API_KEY=your_key
GROQ_API_KEY=your_key
DEEPSEEK_API_KEY=your_key
# And 60+ more providers supported!config.yaml
api:
host: "0.0.0.0"
port: 8000
rate_limit: "100/minute"
models:
default: "claude-sonnet-4-20250514"
agents:
predefined:
- id: my_custom_agent
name: Custom Agent
model_id: gpt-4o
provider: openai
role: Specialist
goal: Help with specific tasksπ§ͺ Development
# Run tests
python -m pytest tests/ -v
# Run with hot reload
python main.py serve --reload
# Generate MCP servers
python main.py generate-mcp --allπ Web Dashboard
Access the admin dashboard at http://localhost:8000/ui/ to:
π¬ Chat with any agent interactively
π₯ Manage Teams and agent configurations
π View Statistics on usage and costs
βοΈ Configure providers and settings
π€ Export configurations
π€ Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing)Add tests for new functionality
Ensure all tests pass (
python -m pytest)Submit a pull request
π License
AGPL-3.0 License - see LICENSE for details.
π Acknowledgments
models.dev - Comprehensive model database
CrewAI - Agent orchestration framework
FastAPI - High-performance web framework
All 68 AI providers making their models accessible
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.