Skip to main content

Pir MCP

io.github.Solteris-Dev/pir-mcp

v0.1.0Updated Sep 16, 2026stdio · npm

Motion sensor for AI agents: tells when a screen region changes or goes still. Scores, never pixels.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add pir-mcp -- npx -y [email protected]

Configuration

5 settings.

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

Listed in the official MCP Registry since Sep 16, 2026. Mirrored daily; last checked Nov 26, 2026.