| set -e | |
| # 1. Start the Data360 MCP server in the background | |
| echo "Starting Data360 MCP Server on port 8021..." | |
| PREFAB_BUNDLED_RENDERER=1 uv run uvicorn data360.server:app --port 8021 --host 127.0.0.1 & | |
| # 2. Give the MCP server a moment to boot | |
| sleep 3 | |
| # 3. Start the Explorer in the foreground on HF Space's exposed port 7860 | |
| echo "Starting Visualization Engine Explorer on port 7860..." | |
| uv run python evals/interactive_explorer.py --port 7860 | |