hermes - 💡(How to fix) Fix Homebrew bottle 2026.5.16 missing 'mcp' and 'websockets' packages — MCP and browser tools fail at runtime

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…

The 2026.5.16 (and 2026.5.16_1) Homebrew bottle of hermes-agent installs a Python venv at /opt/homebrew/Cellar/hermes-agent/<version>/libexec/ that does not include the mcp package or the websockets package. As a result, two advertised features fail at runtime:

  1. MCP server connections fail for both HTTP/SSE and stdio transports
  2. Browser tools fail to import (No module named 'websockets')

Root Cause

These two integrations are prominent on the project's landing page and CLI help text:

  • hermes mcp is a top-level command with rich subcommands (add, list, test, serve, configure, etc.)
  • Computer-use / browser tools are advertised as a core capability

A clean brew install can use neither without manual venv patching.

Fix Action

Workaround

Install the missing packages into the brew-managed venv:

/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m ensurepip --upgrade
/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m pip install --upgrade mcp websockets

After this, hermes mcp add and the browser tools work as documented. The workaround is wiped on every brew upgrade hermes-agent, so users have to re-run it after each version bump.

Code Example

brew install hermes-agent
hermes mcp add my-server --url https://example.com/mcp --auth header
# → ✗ Failed to connect: MCP server 'my-server' requires HTTP transport but mcp.client.streamable_http is not available. Upgrade the mcp package to get HTTP support.

hermes mcp add my-stdio --command /some/stdio/wrapper.sh
# → ✗ Failed to connect: name 'StdioServerParameters' is not defined

---

$ find /opt/homebrew/Cellar/hermes-agent/2026.5.16_1 -name "mcp" -type d
(no output)

---

Could not import tool module tools.browser_dialog_tool: No module named 'websockets'

---

/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m ensurepip --upgrade
/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m pip install --upgrade mcp websockets
RAW_BUFFERClick to expand / collapse

Summary

The 2026.5.16 (and 2026.5.16_1) Homebrew bottle of hermes-agent installs a Python venv at /opt/homebrew/Cellar/hermes-agent/<version>/libexec/ that does not include the mcp package or the websockets package. As a result, two advertised features fail at runtime:

  1. MCP server connections fail for both HTTP/SSE and stdio transports
  2. Browser tools fail to import (No module named 'websockets')

Repro

Clean install on macOS arm64 (Apple Silicon):

brew install hermes-agent
hermes mcp add my-server --url https://example.com/mcp --auth header
# → ✗ Failed to connect: MCP server 'my-server' requires HTTP transport but mcp.client.streamable_http is not available. Upgrade the mcp package to get HTTP support.

hermes mcp add my-stdio --command /some/stdio/wrapper.sh
# → ✗ Failed to connect: name 'StdioServerParameters' is not defined

Both transports fail because mcp is absent from the bundled site-packages:

$ find /opt/homebrew/Cellar/hermes-agent/2026.5.16_1 -name "mcp" -type d
(no output)

websockets is also missing, surfaced on hermes startup:

Could not import tool module tools.browser_dialog_tool: No module named 'websockets'

Environment

  • macOS 26.4.1 (Darwin 25.4.0), arm64
  • Homebrew 5.1.13
  • Python 3.14.5 (bundled with bottle)
  • hermes-agent 2026.5.16_1

Workaround

Install the missing packages into the brew-managed venv:

/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m ensurepip --upgrade
/opt/homebrew/Cellar/hermes-agent/<version>/libexec/bin/python -m pip install --upgrade mcp websockets

After this, hermes mcp add and the browser tools work as documented. The workaround is wiped on every brew upgrade hermes-agent, so users have to re-run it after each version bump.

Suggested fix

Add mcp and websockets to the Homebrew formula's resource block (or whichever PyPI-resource manifest the bottle uses), so the venv ships with them.

Why this matters

These two integrations are prominent on the project's landing page and CLI help text:

  • hermes mcp is a top-level command with rich subcommands (add, list, test, serve, configure, etc.)
  • Computer-use / browser tools are advertised as a core capability

A clean brew install can use neither without manual venv patching.

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

hermes - 💡(How to fix) Fix Homebrew bottle 2026.5.16 missing 'mcp' and 'websockets' packages — MCP and browser tools fail at runtime