multi-agent-mcp / install.sh
Cduplar's picture
Initial public release: Multi-Agent MCP Delegation Server
8b02e7c
#!/usr/bin/env bash
# Delegation MCP Installer - One-line installation script
# Usage: curl -fsSL https://raw.githubusercontent.com/USER/REPO/main/install.sh | bash
set -e
echo "=========================================="
echo "Delegation MCP Installer"
echo "=========================================="
# Check Python version
if ! command -v python3 &> /dev/null; then
echo "Error: Python 3 not found. Please install Python 3.10+"
exit 1
fi
PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
echo "Found Python $PYTHON_VERSION"
# Check minimum version
if ! python3 -c 'import sys; exit(0 if sys.version_info >= (3, 10) else 1)'; then
echo "Error: Python 3.10+ required (found $PYTHON_VERSION)"
exit 1
fi
# Clone or update repository
if [ -d "multi-agent-mcp" ]; then
echo "Updating existing installation..."
cd multi-agent-mcp
git pull
else
echo "Cloning repository..."
git clone https://github.com/carlosduplar/multi-agent-mcp.git
cd multi-agent-mcp
fi
# Install dependencies
echo "Installing dependencies..."
if command -v uv &> /dev/null; then
echo "Using uv (fast!)..."
uv sync
else
echo "Using pip..."
pip install -e .
fi
# Run installer
echo ""
echo "Running automated setup..."
python3 install.py
echo ""
echo "=========================================="
echo "Installation script complete!"
echo "=========================================="
echo ""
echo "Next: Restart Claude Code and try:"
echo " 'scan for security vulnerabilities'"
echo ""