#!/bin/bash
# termux-mcp - auto-generated by PyPack
# Runs: python -m termux_mcp

# Find the installed package directory (works in Termux pip installs)
PKG_DIR=$(python3 -c "import termux_mcp, os; print(os.path.dirname(termux_mcp.__file__))" 2>/dev/null)

if [ -n "$PKG_DIR" ]; then
  cd "$PKG_DIR"
fi

python -m termux_mcp "$@"
