pir-mcp
An MCP server that acts as a motion sensor for AI agents by monitoring named screen regions. It reports changes or stillness using numerical scores (RMSE and peak) over a coarse grid of averaged color cells, ensuring no pixel data, images, or screenshots are ever returned. This approach prioritizes privacy while allowing agents to detect events like build output movement or status bar updates.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 2 GitHub stars
What you can do with it
- Wake agent when build output moves
- Detect if a status bar has stopped ticking
- Monitor window geometry changes
- Detect when animations have settled
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
pir-mcp 0.1.0
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "pir-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "PIR_CAPTURE_CMD",
"format": "string",
"description": "Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots)."
},
{
"name": "PIR_SELECT_CMD",
"format": "string",
"description": "Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools."
},
{
"name": "PIR_WINDOW_GEOMETRY_CMD",
"format": "string",
"description": "Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions."
},
{
"name": "PIR_PICK_WINDOW_CMD",
"format": "string",
"description": "Interactive window pick printing the window id. Default: Hyprland + slurp."
},
{
"name": "PIR_MAX_WAIT_MS",
"format": "number",
"description": "Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp@0.1.0"
],
"env": {
"PIR_CAPTURE_CMD": "<YOUR_PIR_CAPTURE_CMD>",
"PIR_SELECT_CMD": "<YOUR_PIR_SELECT_CMD>",
"PIR_WINDOW_GEOMETRY_CMD": "<YOUR_PIR_WINDOW_GEOMETRY_CMD>",
"PIR_PICK_WINDOW_CMD": "<YOUR_PIR_PICK_WINDOW_CMD>",
"PIR_MAX_WAIT_MS": "<YOUR_PIR_MAX_WAIT_MS>"
}
}
}
}Cline
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp@0.1.0"
],
"env": {
"PIR_CAPTURE_CMD": "<YOUR_PIR_CAPTURE_CMD>",
"PIR_SELECT_CMD": "<YOUR_PIR_SELECT_CMD>",
"PIR_WINDOW_GEOMETRY_CMD": "<YOUR_PIR_WINDOW_GEOMETRY_CMD>",
"PIR_PICK_WINDOW_CMD": "<YOUR_PIR_PICK_WINDOW_CMD>",
"PIR_MAX_WAIT_MS": "<YOUR_PIR_MAX_WAIT_MS>"
}
}
}
}VS Code
{
"servers": {
"pir-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pir-mcp@0.1.0"
],
"env": {
"PIR_CAPTURE_CMD": "<YOUR_PIR_CAPTURE_CMD>",
"PIR_SELECT_CMD": "<YOUR_PIR_SELECT_CMD>",
"PIR_WINDOW_GEOMETRY_CMD": "<YOUR_PIR_WINDOW_GEOMETRY_CMD>",
"PIR_PICK_WINDOW_CMD": "<YOUR_PIR_PICK_WINDOW_CMD>",
"PIR_MAX_WAIT_MS": "<YOUR_PIR_MAX_WAIT_MS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"pir-mcp": {
"command": "npx",
"args": [
"-y",
"pir-mcp@0.1.0"
],
"env": {
"PIR_CAPTURE_CMD": "<YOUR_PIR_CAPTURE_CMD>",
"PIR_SELECT_CMD": "<YOUR_PIR_SELECT_CMD>",
"PIR_WINDOW_GEOMETRY_CMD": "<YOUR_PIR_WINDOW_GEOMETRY_CMD>",
"PIR_PICK_WINDOW_CMD": "<YOUR_PIR_PICK_WINDOW_CMD>",
"PIR_MAX_WAIT_MS": "<YOUR_PIR_MAX_WAIT_MS>"
}
}
}
}Let your agent find its tools
Find servers like pir-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.