npm · pir-mcp
PIR_CAPTURE_CMD — Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots).
PIR_SELECT_CMD — Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools.
PIR_WINDOW_GEOMETRY_CMD — Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions.
PIR_PICK_WINDOW_CMD — Interactive window pick printing the window id. Default: Hyprland + slurp.
PIR_MAX_WAIT_MS — Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout.