Use Browser Tools with Hermes Agent over MCP.
browser_* stack with six Playwright tools (browser_open, browser_connect, browser_exec, browser_snapshot, browser_status, browser_close). Compact accessibility snapshots and a smaller tool surface usually use fewer tokens than Hermes' native browser tools.npx1npx playwright install chromium
1npx playwright install --with-deps chromium
--headed needs a graphical display on that same host — it does not open a window on your laptop when Hermes runs remotely.~/.hermes/config.yaml:12345678mcp_servers: libretto: command: npx args: ["-y", "libretto-browser-tools"] agent: disabled_toolsets: - browser
12hermes mcp add libretto --command npx --args -y --args libretto-browser-tools hermes tools disable browser
/reload-mcp in a Hermes session, or restart Hermes). Confirm the server with hermes mcp test libretto.args for a visible browser or domain policy:123456789mcp_servers: libretto: command: npx args: - "-y" - "libretto-browser-tools" - "--headed" - "--allowed-domain" - "example.com"
browser toolset so Hermes does not keep its native browser_navigate / browser_click / … tools alongside Browser Tools.web toolset enabled (the default on hermes-cli). It provides web_search and web_extract, so disabling browser does not turn off search.~/.libretto/browser-tools/profiles/ on the Hermes host.--headed, ask the agent to open a browser session for the site, complete login in the window yourself, then ask it to close the session. Later headless runs reuse the cookies. Profile changes save only on a clean close; do not share profile directories across untrusted users.browser_exec runs Playwright and JavaScript in the MCP process — not inside a browser sandbox. Treat the Hermes host as the trust boundary: domain allow/block flags limit http(s) requests in the managed browser context, but they do not confine browser_exec itself.--provider to use a cloud browser instead of local Chromium:1234mcp_servers: libretto: command: npx args: ["-y", "libretto-browser-tools", "--provider", "kernel"]
KERNEL_API_KEY in ~/.hermes/.env). Supported names: local, kernel, browserbase, browser-use, steel, libretto-cloud.| Symptom | What to try |
| Server fails to start / Chromium missing | For --provider local, run npx playwright install chromium (add --with-deps on Linux). |
| Missing cloud API key | Set the provider key in Hermes env (for example KERNEL_API_KEY), or use --provider local. |
| Headed browser errors with no display | Drop --headed, or run Hermes where a display is available. |
| Native browser tools still win | Confirm agent.disabled_toolsets includes browser, then reload MCP. |
| Browser sessions stop working after idle | Hermes may recycle the MCP process; ask the agent to open a fresh session. |
| Login state missing after a crash | Profiles save on graceful close only; sign in again with --headed. |