{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Solteris-Dev/pir-mcp",
  "slug": "io.github.solteris-dev.pir-mcp",
  "title": "pir-mcp",
  "summary": "Motion sensor for AI agents: tells when a screen region changes or goes still.",
  "version": "0.1.0",
  "serverKey": "pir-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.solteris-dev.pir-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.solteris-dev.pir-mcp/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T18:07:08.907893583Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pir-mcp@0.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add pir-mcp -- npx -y pir-mcp@0.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"pir-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"pir-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"pir-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"pir-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"pir-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"pir-mcp@0.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.pir-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"pir-mcp@0.1.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PIR_CAPTURE_CMD",
      "required": false,
      "secret": false,
      "description": "Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots).",
      "help": "Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots).",
      "placeholder": "<PIR_CAPTURE_CMD>"
    },
    {
      "name": "PIR_SELECT_CMD",
      "required": false,
      "secret": false,
      "description": "Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools.",
      "help": "Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools.",
      "placeholder": "<PIR_SELECT_CMD>"
    },
    {
      "name": "PIR_WINDOW_GEOMETRY_CMD",
      "required": false,
      "secret": false,
      "description": "Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions.",
      "help": "Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions.",
      "placeholder": "<PIR_WINDOW_GEOMETRY_CMD>"
    },
    {
      "name": "PIR_PICK_WINDOW_CMD",
      "required": false,
      "secret": false,
      "description": "Interactive window pick printing the window id. Default: Hyprland + slurp.",
      "help": "Interactive window pick printing the window id. Default: Hyprland + slurp.",
      "placeholder": "<PIR_PICK_WINDOW_CMD>"
    },
    {
      "name": "PIR_MAX_WAIT_MS",
      "required": false,
      "secret": false,
      "description": "Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout.",
      "help": "Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout.",
      "placeholder": "<PIR_MAX_WAIT_MS>"
    }
  ],
  "expectedTools": [
    "pir_define_region",
    "pir_define_window",
    "pir_pick_window",
    "pir_pick_region",
    "pir_pick_mask",
    "pir_list_regions",
    "pir_remove_region",
    "pir_sample",
    "pir_wait_for_change",
    "pir_wait_for_stillness"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: pir_define_region, pir_define_window, pir_pick_window, pir_pick_region, pir_pick_mask, pir_list_regions, pir_remove_region, pir_sample, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T18:07:08.907893583Z"
}
