hermes - 💡(How to fix) Fix Avoid external MCP discovery for `hermes mcp serve` startup

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

hermes mcp serve should be treated as an agent-runtime command, but it should not trigger external MCP tool discovery during startup.

Root Cause

hermes mcp serve should be treated as an agent-runtime command, but it should not trigger external MCP tool discovery during startup.

RAW_BUFFERClick to expand / collapse

Summary

hermes mcp serve should be treated as an agent-runtime command, but it should not trigger external MCP tool discovery during startup.

Current state

A local test draft exists for tests/hermes_cli/test_main_mcp_startup.py, but it currently imports _is_agent_runtime_command from hermes_cli.main, and that helper does not exist yet. That means this is not ready for PR as-is.

Desired behavior

  • mcp serve: agent runtime command, but skip external MCP discovery.
  • chat: agent runtime command and discover external MCP tools.
  • mcp list and other admin commands: not agent runtime, skip external discovery.
  • cron run: keep current runtime/discovery behavior.

Acceptance criteria

  • Add or expose the command-classification helper(s).
  • Add tests around MCP serve, MCP admin commands, chat, and cron run.
  • Startup avoids unnecessary external MCP discovery for stdio server mode.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING