Repository navigation
fix(install): ensure Hermes has the mcp extra (#382) - #386
Merged
Merged
Conversation
…382) The Nous installer (and many existing installs) provide hermes-agent without the mcp extra, so every registered MCP server failed to connect while 'hermes mcp list' showed them enabled. After the Hermes step, import mcp in Hermes's own interpreter; repair via uv tool install --force "hermes-agent[mcp]" when Hermes is a uv tool, else stop with the fix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #382.
After the Hermes runtime step (fresh install or already on PATH), the installer now checks that Hermes's own interpreter (from the launcher shebang) can
import mcp. If not, and Hermes is a uv tool, it reinstalls withuv tool install --force "hermes-agent[mcp]"; otherwise it stops with that fix in the message instead of printing Next Steps for a runtime where no MCP server can connect.Verified:
bash -n; detector returns 'missing' against an interpreter without mcp. Not run end to end on a fresh Hermes VM, and the repair path is untested.Not addressed: the readiness step's 'could not inspect runtime configuration' message, which the issue also mentions.
🤖 Generated with Claude Code