MCP server that gives agents ground truth of what is ACTUALLY running on this machine — agent sessions, listening ports, daemons — read live from the OS, never from stale docs or memory.
Server provides 5 read-only tools with clear, domain-specific descriptions (avg 180 chars). All tools have input schemas with type definitions. However, parameter descriptions are minimal or absent in several tools (listening_ports, system_stats have empty input objects with no descriptions). Tool names lack action verbs (agent_sessions, listening_ports, daemons are nouns; only whats_running is somewhat verb-like). Output schemas are not documented, callers must infer structure from code. Error handling is best-effort (silently returns empty string on failure) with no recovery guidance. Security is strong (read-only, no secrets, fixed binaries), but composition could be tighter.
List AI-agent processes actually running right now (Claude Code, Codex, Aider, ...). Separates terminal-attached sessions (a human can see them) from detached/orphan ones. Reads ps/lsof directly — never transcripts or docs. Patterns configurable via WR_AGENT_PATTERNS.
Persistent services actually loaded right now: launchctl (macOS, non-Apple) or systemd user services (Linux). Optional case-insensitive substring filter on the label.
All TCP ports currently in LISTEN state with owning process and pid (lsof). The definitive answer to 'is service X actually up?' — nothing hidden, nothing assumed.
Load average, uptime, and root-disk free space.
Full live snapshot in one call: agent sessions, TCP listeners, loaded daemons, system stats. Use at session start to ground yourself in what is ACTUALLY live instead of stale memory.
Tool names lack action verbs. 'agent_sessions', 'listening_ports', 'daemons', 'system_stats' are nouns; LLMs infer intent from verb-first names like 'list_agent_sessions', 'get_listening_ports'. Rename to verb_noun pattern.
Output schemas not documented. Callers must reverse-engineer structure from code (e.g., agent_sessions returns {interactive, detached, note}; listening_ports returns [{process, pid, address}]). Document return types in tool descriptions or via explicit schema declarations.
Parameters with empty input objects lack descriptions. 'listening_ports' and 'system_stats' accept no parameters but provide no explanation of what they return or when to call them. Add descriptions even for zero-parameter tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | 2026-07-28+ | v2 |
Error handling is silent. run() returns empty string on failure; callers cannot distinguish 'no results' from 'command failed'. Return structured errors with recovery hints (e.g., 'lsof failed: check permissions' or 'systemctl not available on this platform').
No pagination or result limits documented. collectListeners() and collectAgentSessions() could return hundreds of items on busy systems, bloating context. Cap results at 50 and document limits in tool descriptions.