MCP server config validation and crash prevention

NousResearch/hermes-agent · cluster 33119 · hermes cli

Data as of

4 open items. Fix attempted, not merged.

The short answer

2open issues
2open PRs
7items grouped
Known?
Yes. 7 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 3 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
2 issues and 2 PRs.

These issues and PRs address crashes and errors caused by non-dict (e.g. string) MCP server config entries, adding validation, normalization, and graceful handling on load and in CLI commands.

Open issues2

  • Issue#33119feat: validate MCP server config on startup to prevent third-party corruption from bricking Hermes
  • Issue#45674bug(cli): `hermes mcp list` crashes with AttributeError when a server entry is a string

Open PRs2

  • PR#45684fix(cli): guard mcp list/test/configure against non-dict server entries
  • PR#118785fix(mcp): skip malformed mcp_servers entries on load (#33119) (salvage of #33405)

3 PRs closed without merging

From the close comments: duplicate 2 · superseded by another PR 1

  • #33405 fix(mcp): validate mcp_servers entries on load; skip-with-warning instead of crashing · superseded by another PR → #118785, #33405, #33119
  • #45716 fix(cli): coerce string MCP server entries to dict in `mcp list` · duplicate → #45684
  • #46044 fix(mcp): normalize string server configs · duplicate → #45684
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.26: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
hermes cli
Closed issues
0
Attempts
3 PRs closed without merging

For your agent

The same facts, typed.