ego-browser-hermes
Provides Hermes agents with an isolated Chromium browser task space for web automation, including navigation, page snapshots, form interaction, screenshots, uploads, and downloads.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ego-browser-hermes
Hermes-native MCP adapter for the ego-lite agent browser. It gives Hermes an isolated Chromium task space with structured navigation, semantic snapshots, form interaction, screenshots, uploads, and downloads.
Status
v0.2.0 functional preview
Verified on Windows with Node.js 22 and Hermes Agent:
TypeScript typecheck passes
74 unit/integration tests pass
MCP stdio
initializeandtools/listsmoke test passesHermes discovers all 17 safe tools
Real Chromium smoke opens
https://example.com, reads page info and semantic content, captures a screenshot, and closes its task space
The original DSH sidebar/live-view UI has not been ported. This release focuses on the Hermes MCP tool surface and the vendored ego-lite runtime.
Related MCP server: devtools-fleet-mcp
Default tools
17 safe tools. The keyboard, scroll and control tools exist so that ordinary interactive work —
submitting a search box, reaching lazy-loaded content, letting a human log in — never requires
enabling the advanced surface. click and press take onDialog to answer a native
alert/confirm/prompt they trigger.
ego_browser_statusego_browser_space_open/ego_browser_space_close/ego_browser_space_listego_browser_navigate/ego_browser_tabsego_browser_snapshot/ego_browser_page_infoego_browser_click/ego_browser_fill/ego_browser_press/ego_browser_scroll/ego_browser_waitego_browser_control(hand control to the user / take it back)ego_browser_screenshotego_browser_upload/ego_browser_download
Raw JavaScript, CDP, arbitrary CLI scripts, and HTTP requests are disabled by default. They require EGO_BROWSER_ENABLE_ADVANCED=true; EGO_BROWSER_TOOLS can further restrict the exposed set.
Build and verify
npm install
npm run verifynpm run verify runs typecheck, 74 tests, production build, and a real MCP JSON-RPC tool-discovery smoke test.
npm run sim replays a Discord-shaped conversation (login wall, handoff to the human, takeover,
search submit, screenshot, download) against the real MCP server over stdio with a faked Chrome —
no browser required. The optional real-browser test is:
node scripts/real-browser-smoke.mjsHermes installation
See docs/HERMES.md. On the verified Windows setup:
hermes mcp add ego_browser \
--command C:/Users/msdn/AppData/Local/hermes/node/node.exe \
--connect-timeout 30 \
--env EGO_LINUX_DATA_DIR=D:/Users/msdn/Hermes/ego-browser-data \
--args D:/Users/msdn/Hermes/workspaces/dsh-ego-browser/mcp-server/dist/index.js
hermes mcp test ego_browserThe bundled skill lives at skills/ego-browser-hermes/SKILL.md.
Chat-host notes
Set EGO_BROWSER_OUTPUT_DIR to a directory the agent host can read. Screenshots and downloads
without an explicit path land there, so a Discord/Telegram session can attach the file instead of
quoting a path on a machine the user cannot see.
The active-space pointer lives in the server process and is shared by every chat that gateway
serves; the bundled skill therefore requires an explicit space on every call.
Design and safety
Local stdio MCP transport; Hermes remains the agent host.
Browser calls are serialized per server process.
Commands use
spawn()with argv arrays, not shell interpolation.navigateonly acceptshttp/httpsURLs;file:,javascript:,data:, andchrome://are rejected before launch.A failed call (navigate, snapshot, click, fill, wait, screenshot, upload, download, or an advanced tool) does not change the active task space.
Upload files must exist and use absolute paths.
Screenshot/download destinations must be absolute.
Safe downloads do not execute arbitrary trigger JavaScript.
The runtime cursor identifies itself as Hermes while respecting an explicit user override.
Control handoff is explicit in both directions:
controlnever takes the browser back on its own.A download that completes without producing a file is reported as an error, not as a success.
A native dialog can only be answered by the call that opened it (
onDialogonclick/press); observation tools fail fast with that explanation instead of stalling until timeout.
Upstream and attribution
This project adapts work from Fisfzy/dsh-ego-browser and the vendored ego-lite runtime. Upstream notices and runtime patch history are preserved in THIRD_PARTY_NOTICES.md and runtime/PATCHES.md.
License
MIT. Review third-party notices before redistribution.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Cloud browser, web extraction, screenshots, and remote CDP tools for AI agents.
Launch, inspect, control, and share isolated cloud browsers for your agents.
Run multi-step tasks in a real Chrome browser: persistent environments, live view, human takeover.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceProvides a persistent Chromium browser with CDP and Playwright MCP endpoints for automated browser control and natural-language-driven web interactions in secure sandboxes.-
- AlicenseBqualityBmaintenanceEnables multiple AI agents to each run Google's full Chrome DevTools toolset in an isolated Chrome instance with saved logins, origin allowlists, reconnect recovery, and process cleanup. It also provides visibility into running browsers so stale sessions can be inspected or reaped.38596 npmMIT
- AlicenseAqualityCmaintenanceEnables AI coding agents to open and exercise web applications in an isolated Chromium browser, capture screenshots and runtime/network diagnostics, and run deterministic page checks with linked evidence.121MIT
- AlicenseNot gradedqualityCmaintenanceEnables Agent-driven browsing in an independent Microsoft Edge profile with navigation, snapshots, iframe/DOM interaction, screenshot-coordinate clicks, hover, typing, dialog handling, and manual take/release control. It also exposes real-time JPEG preview and optional native sidebar integration in Hermes CN Desktop v0.9.0.MIT