# NousResearch/hermes-agent · Double Ctrl+C during MCP shutdown leaking KeyboardInterrupt traceback

## Open now

- Nothing open on GitHub.

Members concern a second Ctrl+C during MCP shutdown in the CLI producing a KeyboardInterrupt traceback. Three are pull requests proposing to catch BaseException in shutdown guards, and one is an issue describing the behavior; none of this indicates whether the change was merged or works.

## 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 #39479. Verify it addresses your case.
- **Recommended:** read PR #39479 (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: `resolved` · deciding PR(s): `pr-39479`. 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

- #39367: CLI: 2nd Ctrl+C during MCP shutdown escapes cleanup → KeyboardInterrupt traceback on exit

## Prior & competing PRs

- **#39379: fix(cli): widen shutown guards to BaseException so 2nd Ctrl+C does not leak traceback (fixes #39367)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `1bcfe9c58ac7d9b7aecb876dc583416fe31dc4c6`, `e9529578d5a4efeab96f5566c4219d3c51d9ab28`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#39479: fix: catch BaseException in MCP shutdown guards to suppress double-Ctrl+C traceback**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cli.py`, `scripts/release.py`, `tools/mcp_tool.py`
- **#39453: fix: catch BaseException in MCP shutdown guards to suppress double-Ctrl+C traceback**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#39479`

## Fix status

- Merged to main in PR #39479 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-05`.
- Subsystem: `hermes_cli`
