MCP serve module missing from packaged builds

NousResearch/hermes-agent · cluster 14182 · agent

Data as of

2 open items. Fix merged in #35044. Check it covers your case.

The short answer

2open issues
0open PRs
8items grouped
Known?
Yes. 8 related items grouped here, 3 issues already closed.
Fix event
A fix was merged to main in PR #35044. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #35044. That is separate from the fix event.
Still open
2 issues and 0 PRs.

A bug where hermes mcp serve fails with a missing mcp_serve module on pip-installed and NixOS environments, alongside related fixes to include the module in built wheels and a broader package restructuring effort.

Open issues2

  • Issue#14182tracking: hermes_agent package restructure
  • Issue#21691[Feature]: Refactor project into standard Python package structure

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #35044 fix(packaging): include mcp_serve in py-modules so hermes mcp serve works on pip installs

    merged to main

    files: pyproject.toml

    Show the diff
    • pyproject.toml
      @@ -210,7 +210,7 @@ hermes-agent = "run_agent:main"
       hermes-acp = "acp_adapter.entry:main"
       
       [tool.setuptools]
      -py-modules = ["run_agent", "model_tools", "toolsets", "batch_runner", "trajectory_compressor", "toolset_distributions", "cli", "hermes_bootstrap", "hermes_constants", "hermes_state", "hermes_time", "hermes_logging", "utils"]
      +py-modules = ["run_agent", "model_tools", "toolsets", "batch_runner", "trajectory_compressor", "toolset_distributions", "cli", "hermes_bootstrap", "hermes_constants", "hermes_state", "hermes_time", "hermes_logging", "utils", "mcp_serve"]
       
       [tool.setuptools.package-data]
       hermes_cli = ["web_dist/**/*", "tui_dist/**/*", "scripts/install.sh", "scripts/install.ps1"]

2 PRs closed without merging

From the close comments: duplicate 1 · other 1

  • #22148 fix(mcp): include mcp_serve module in built wheel · duplicate → #35044
  • #39121 fix(mcp): namespace `mcp_serve` import in `mcp_command` dispatcher · other
Closed issues · 3
  • Closed#22110[Bug]: `hermes mcp serve` fails to start on NixOS
  • Closed#34871[Bug]: `hermes mcp serve` crashes with ModuleNotFoundError: No module named 'mcp_serve' on standard pip install
  • Closed#36655MCP server root module should be included in packaged builds
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.16: 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
agent
Merged PRs
#35044
Closed issues
3
Attempts
2 PRs closed without merging
Fix link checked
30 May 2026

For your agent

The same facts, typed.