File size: 688 Bytes
aca8ab4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#!/bin/bash
# Installation script to handle MCP dependency conflicts
set -e # Exit on error
echo "Step 1: Installing pre-requirements..."
pip install -r pre-requirements.txt
echo "Step 2: Installing fastmcp and mcp first..."
pip install fastmcp==2.13.0.2
echo "Step 3: Installing remaining requirements..."
pip install -r requirements.txt --no-deps || true
echo "Step 4: Installing all requirements with dependencies (mcp will be preserved)..."
pip install -r requirements.txt
echo "Step 5: Reinstalling mcp to ensure correct version..."
pip install --force-reinstall --no-deps mcp==1.17.0
echo "Installation complete!"
echo "Verifying mcp version..."
pip show mcp | grep Version
|