G1 from the apt-sweep backlog. After ssh ControlMaster setup, install the `mcp[cli]` python package via pipx so `homelab mcp <tool>` works out-of-the-box on new workstations. Skipped on LXCs / VMs. Idempotent (`command -v mcp` guard), respects --dry-run, falls back through brew (Darwin) → dnf → apt for pipx itself if not already installed. Runs the install as $SUDO_USER (not root) so the binary lands in the user's pipx env. This closes one of the "discovered missing dep" gaps from the 2026-05-21 fleet sweep: republic-laptop had pipx-installed homelab CLI but no `mcp` binary, so `homelab mcp <tool>` died with an instructional message instead of just working. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 KiB
Executable File
17 KiB
Executable File