#!/bin/bash
# Installation script for Manim MCP Server
set -e
echo "Installing Manim MCP Server..."
echo "=============================="
echo ""
# Check Python version
python_version=$(python3 --version 2>&1 | awk '{print $2}')
echo "✓ Found Python $python_version"
# Install the package
echo ""
echo "Installing Python package..."
pip install -e .
echo ""
echo "✓ Manim MCP Server installed successfully!"
echo ""
echo "Next steps:"
echo "1. Install system dependencies (ffmpeg, LaTeX, etc.)"
echo " See README.md for your platform-specific instructions"
echo ""
echo "2. Configure Claude Desktop by adding this to your config:"
echo ""
echo ' {
"mcpServers": {
"manim": {
"command": "manim-mcp"
}
}
}'
echo ""
echo " Config file location:"
echo " - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json"
echo " - Windows: %APPDATA%\\Claude\\claude_desktop_config.json"
echo ""
echo "3. Restart Claude Desktop"
echo ""
echo "For detailed instructions, see QUICKSTART.md"