Pir MCP Server
by solteris-devio.github.Solteris-Dev/pir-mcpv0.1.0
Motion sensor for AI agents: tells when a screen region changes or goes still. Scores, never pixels.
context tax
queued
security
queued
cold start
queued
freshness
Active19d ago
Install Pir MCP server
Install in Claude Code
claude mcp add pir -- npx -y pir-mcpInstall in Cursor
{
"mcpServers": {
"pir": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pir": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pir": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pir": {
"command": "npx",
"args": [
"-y",
"pir-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PIR_CAPTURE_CMD | — | — | Screenshot command template writing binary PPM to stdout; {x} {y} {w} {h} substituted. Default: grim (wlroots). |
| PIR_SELECT_CMD | — | — | Interactive rectangle selector printing 'x,y wxh'. Default: slurp. Empty disables the pick tools. |
| PIR_WINDOW_GEOMETRY_CMD | — | — | Prints 'x,y wxh' for window {id}. Default: Hyprland via jq. Empty disables window regions. |
| PIR_PICK_WINDOW_CMD | — | — | Interactive window pick printing the window id. Default: Hyprland + slurp. |
| PIR_MAX_WAIT_MS | — | — | Cap for blocking calls, ms (default 540000); keep under the host's MCP tool timeout. |
Freshness
Active — last maintenance signal 19d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-21 · 19d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-16 · 23d ago · official registry · v0.1.0
FAQ
›How do I install the Pir MCP server in Claude Code?
Run: claude mcp add pir -- npx -y pir-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Pir require an API key?
No required environment variables are declared in its published metadata.
›Can I use Pir as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Pir in the official MCP registry?
Yes, as io.github.Solteris-Dev/pir-mcp.