Skip to content
Grok

pir mcp for Grok

io.github.solteris-dev/pir-mcp

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

client:Grok transport:stdio runtime:npm

Install pir mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pir-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pir-mcp"
      ],
      "env": {
        "PIR_CAPTURE_CMD": "<PIR_CAPTURE_CMD>",
        "PIR_SELECT_CMD": "<PIR_SELECT_CMD>",
        "PIR_WINDOW_GEOMETRY_CMD": "<PIR_WINDOW_GEOMETRY_CMD>",
        "PIR_PICK_WINDOW_CMD": "<PIR_PICK_WINDOW_CMD>",
        "PIR_MAX_WAIT_MS": "<PIR_MAX_WAIT_MS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

pir mcp in other clients