@alessai/mybrowser-mcp
v1.1.3
Published
MCP server for MyBrowser - remote browser automation over Tailscale
Readme
@alessai/mybrowser-mcp
Persistent Chrome automation for Claude Code and any MCP client.
This package is the server side of MyBrowser. It gives an MCP client access to a real browser with navigation, screenshots, extraction, console and network tooling, uploads, downloads, recording, replay, and multi-session coordination.
Important: installing this npm package is only half of the setup. You also need the MyBrowser Chrome extension.
Fastest Setup for Claude Code
claude mcp add mybrowser -- npx -y @alessai/mybrowser-mcp --host 0.0.0.0 --port 9009Then install the Chrome extension from:
https://github.com/alessai/MyBrowser-MCP/releases/latest
If ~/.mybrowser/config.json has not been created yet, run claude mcp get mybrowser once to trigger the server and generate it.
Highlights
- Browser control: tabs, navigation, clicks, typing, forms, hover, drag and drop, and keyboard input
- Inspection: screenshots with interactive markers, ARIA snapshots, element search, and structured extraction
- Debugging: console logs, page eval, storage inspection, network capture, performance metrics, and responsive viewport presets
- Diagnostics: persistent server logs, redacted diagnostics, support bundles, and extension-side copy diagnostics
- Workflow tools: uploads, downloads, clipboard support, waits, recording, replay, and saved site knowledge
- Coordination: shared state, tab ownership, session management, locks, and event handlers
Install
npm install -g @alessai/mybrowser-mcpStart
mybrowser-mcp --host 0.0.0.0 --port 9009On first run, MyBrowser writes its config to:
~/.mybrowser/config.jsonThat file contains the shared auth token the Chrome extension needs.
Chrome Extension Required
After installing the npm package, download the Chrome extension from the GitHub Releases page:
https://github.com/alessai/MyBrowser-MCP/releases/latest
Then:
- Unzip the extension
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select the unzipped folder
- Enter the server address, port, and auth token in the extension popup
MCP Config Example
{
"mcpServers": {
"mybrowser": {
"command": "mybrowser-mcp",
"args": ["--host", "0.0.0.0", "--port", "9009"]
}
}
}Diagnostics
Server logs are written to:
~/.mybrowser/logs/mybrowser-mcp.log
~/.mybrowser/logs/mybrowser-mcp-errors.logUseful support tools:
browser_diagnostics- returns redacted server, browser, session, extension, and recent failure informationbrowser_support_bundle- writes a redacted support bundle under~/.mybrowser/support-bundles/browser_get_console_logs- returns browser page console logsbrowser_network- captures and inspects network requestsbrowser_set_viewport/browser_reset_viewport- applies or clears iPhone, iPad, and desktop viewport emulation
If you already installed the package globally, the equivalent Claude Code command is:
claude mcp add mybrowser -- mybrowser-mcp --host 0.0.0.0 --port 9009Repository
GitHub: https://github.com/alessai/MyBrowser-MCP
