# io.github.Solteris-Dev/pir-mcp (npm · pir-mcp)

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

- Trust score: 72/100 (medium)
- Change this week: +4
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-25

## Components

- npm · `pir-mcp`: 72/100 (this document), [markdown](https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp.md), [page](https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp)

## Channel facts

- Registry: `npm`
- Package: `pir-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-25.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 3 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 8 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 75/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1092 tokens (~109/item across 10 items; 10 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 85/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 56% of tool parameters carry a description.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "pir_remove_region" implies "remove" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 10 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the io.github.Solteris-Dev/pir-mcp server?

io.github.Solteris-Dev/pir-mcp runs locally as an npm package, launched with npx -y pir-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add solteris-dev-pir-mcp -- npx -y pir-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "solteris-dev-pir-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pir-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "solteris-dev-pir-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pir-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add solteris-dev-pir-mcp -- npx -y pir-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "solteris-dev-pir-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "pir-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add solteris-dev-pir-mcp --command npx --arg -y --arg pir-mcp
```

### Hermes

```yaml
mcp_servers:
  solteris-dev-pir-mcp:
    command: "npx"
    args: ["-y", "pir-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "solteris-dev-pir-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "pir-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add solteris-dev-pir-mcp -t stdio -c npx -a -y pir-mcp
```

### Other

```json
{
  "mcpServers": {
    "solteris-dev-pir-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pir-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-25 (score 72, 0)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-09-24 (score 72, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-09-16 (score 68)

First indexed and scored.

## MCP tools (10)

### `pir_define_region` (~140 tokens)

Name a rectangle of the screen to watch. Coordinates are in the global layout the capture tool uses (on a multi-monitor wlroots layout an output left of the primary has negative x). Masks are rects inside the region, in region-local pixels, that are ignored: put a clock or spinner there. Redefining a name replaces it and forgets its last sample.

Input parameters:

- `h` (integer, required): height, pixels
- `masks` (array)
- `name` (string, required)
- `w` (integer, required): width, pixels
- `x` (integer, required): left edge, pixels
- `y` (integer, required): top edge, pixels

### `pir_define_window` (~104 tokens)

Watch a window rather than a fixed rectangle: geometry is looked up from the window id before every capture, so the region follows the window when it moves. A resize counts as maximal change. Masks are window-local. The id is whatever your window-geometry command understands (a Hyprland address like 0x5f3a..., an X11 window id).

Input parameters:

- `masks` (array)
- `name` (string, required)
- `window` (string, required)

### `pir_pick_window` (~84 tokens)

Ask the person at the screen to click the window to watch (visible windows are offered as boxes; Escape cancels). The region then follows that window. Prefer this over pir_define_window when a human is present.

Input parameters:

- `name` (string, required)
- `purpose` (string): one line on why you want to watch it; returned unchanged so it lands in the transcript

### `pir_pick_region` (~101 tokens)

Ask the person at the screen to draw the rectangle to watch (a selector such as slurp appears; Escape cancels). Prefer this over pir_define_region whenever a human is present: they choose what is sensed, and you get the geometry back. Blocks until they finish or the selector times out.

Input parameters:

- `name` (string, required)
- `purpose` (string): one line on why you want to watch it; returned unchanged so it lands in the transcript

### `pir_pick_mask` (~60 tokens)

Ask the person to draw a rectangle inside an existing region that should be ignored (a clock, a spinner, a caret). Forgets the region's last sample, since masked grids are not comparable to unmasked ones.

Input parameters:

- `name` (string, required)

### `pir_list_regions` (~20 tokens)

The regions currently defined, with their geometry and masks.

### `pir_remove_region` (~20 tokens)

Forget a region.

Input parameters:

- `name` (string, required)

### `pir_sample` (~74 tokens)

Capture the region once and score it against the previous sample of the same region (null on the first call). Cheap and non-blocking: use it to check the capture command works, to take a baseline before doing something, or to ask 'did anything happen there since I last looked?'.

Input parameters:

- `name` (string, required)

### `pir_wait_for_change` (~235 tokens)

Block until the region looks different from how it looked when this call started, or until timeout_ms. Returns changed=true with the score, or changed=false with the largest score seen. Use it as a doorbell: 'wake me when the build output moves', 'when the dialog closes', 'when the game loads'.

Input parameters:

- `interval_ms` (integer): sampling period (default 500)
- `metric` (string): what the threshold applies to. rmse (default): the whole region moved. peak: any single cell moved, for a small thing that should tick inside a larger region (a clock in a bar).
- `name` (string, required)
- `threshold` (number): score that counts as a change, 0..1 (default 0.05). With metric=rmse a caret or cursor edge scores about 0.02 and a dialog opening 0.1+. With metric=peak a digit flipping in one cell scores about 0.0…
- `timeout_ms` (integer): give up after this long (default 55000, max 540000)

### `pir_wait_for_stillness` (~254 tokens)

Block until consecutive samples have stayed below threshold for still_for_ms, or until timeout_ms. A short window means 'the page/animation has settled, safe to act'. A long window on something that should keep changing (a clock, a progress bar, a status bar) means it is frozen: still=true is then the alarm.

Input parameters:

- `interval_ms` (integer): sampling period (default 500)
- `metric` (string): what the threshold applies to. rmse (default): the whole region moved. peak: any single cell moved, for a small thing that should tick inside a larger region (a clock in a bar).
- `name` (string, required)
- `still_for_ms` (integer, required): how long nothing may change
- `threshold` (number): score that counts as a change, 0..1 (default 0.05). With metric=rmse a caret or cursor edge scores about 0.02 and a dialog opening 0.1+. With metric=peak a digit flipping in one cell scores about 0.0…
- `timeout_ms` (integer): give up after this long (default 55000, max 540000)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp#diagnostics

## Score history

- 2026-09-25: 72
- 2026-09-24: 72
- 2026-09-23: 68
- 2026-09-22: 68
- 2026-09-21: 68
- 2026-09-20: 68
- 2026-09-19: 68
- 2026-09-18: 68
- 2026-09-17: 68
- 2026-09-16: 68

## Common questions

### What is the io.github.Solteris-Dev/pir-mcp server?

io.github.Solteris-Dev/pir-mcp is listed in the public MCP registry as io.github.Solteris-Dev/pir-mcp. Motion sensor for AI agents: tells when a screen region changes or goes still. Scores, never pixels. This page covers its npm package (pir-mcp).

### Is the io.github.Solteris-Dev/pir-mcp server safe to use?

io.github.Solteris-Dev/pir-mcp scores 72 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 25 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.Solteris-Dev/pir-mcp server expose?

io.github.Solteris-Dev/pir-mcp exposes 10 tools: pir_define_region, pir_define_window, pir_pick_window, pir_pick_region, pir_pick_mask, and 5 more. Their descriptions and schemas cost roughly 1,092 tokens of context every time the server is loaded.

### Is the io.github.Solteris-Dev/pir-mcp server still maintained?

io.github.Solteris-Dev/pir-mcp is still listed as active in the MCP registry. We last reached this channel on 25 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.Solteris-Dev/pir-mcp server under?

io.github.Solteris-Dev/pir-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/pir-mcp
- Socket report: https://socket.dev/npm/package/pir-mcp
- Repository: https://github.com/Solteris-Dev/pir-mcp
- Changelog RSS feed: https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp.json
- HTML version of this page: https://verifymcp.io/servers/solteris-dev-pir-mcp/pir-mcp
