# NousResearch/hermes-agent · MCP stdio orphan process cleanup and reaping

## Open now

- Nothing open on GitHub.

These items concern orphaned MCP stdio processes accumulating across sessions or long-lived runs, and fixes aimed at reaping them at session-rotation and mid-process boundaries. The context includes both CLI and desktop/gateway environments, with memory pressure noted on constrained hardware.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #101598. Verify it addresses your case.
- **Recommended:** read PR #101598 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #81880: MCP stdio orphans accumulate in desktop app between sessions (OOM on 16GB Macs)

## Prior & competing PRs

- **#101598: perf(mcp): one parent-death supervisor per process instead of one per stdio server (salvage #93517)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_mcp_death_supervisor.py`, `tests/tools/test_mcp_stdio_watchdog.py`, `tools/browser_tool.py`, `tools/mcp_death_supervisor.py`, `tools/mcp_stdio_watchdog.py`, `tools/mcp_tool.py`
- **#82141: fix(sessions): reap MCP stdio orphans at CLI session-rotation boundary**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#81880`
- **#101979: fix(mcp): reap stdio orphans mid-process in long-lived desktop/gateway runs (#81880)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `2fa2f42d41`, `#81880`, `#101598`

## Fix status

- Merged to main in PR #101598 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-02`.
- Subsystem: `apps/desktop`
