| name | moltbrowser |
| description | Browser automation with WebMCP Hub integration. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information — with automatic per-site tool discovery from the community hub. |
| allowed-tools | Bash(moltbrowser:*) |
Browser Automation with moltbrowser
MoltBrowser wraps Playwright CLI with WebMCP Hub integration. When you navigate to a site, hub tools are automatically discovered — pre-configured, community-tested browser actions you can execute without manual selector discovery.
Prerequisites
Login is required before first use (one-time setup):
moltbrowser login --github
moltbrowser login
Quick start
moltbrowser open https://github.com
moltbrowser hub-execute search-repos --query="playwright"
moltbrowser snapshot
moltbrowser click e15
moltbrowser type "search query"
moltbrowser press Enter
moltbrowser screenshot
moltbrowser close
Workflow
- Navigate —
moltbrowser open <url> or moltbrowser goto <url>. Hub tools are discovered automatically.
- Check hub tools —
moltbrowser hub-list shows available tools. Prefer these over manual interaction.
- Execute hub tools —
moltbrowser hub-execute <tool> --arg=value. Pre-tested, reliable.
- Fall back to Playwright — If no hub tool exists, use
snapshot, click, fill, type, etc.
- Contribute back — If you used manual commands, contribute a tool for the next person.
Hub Commands
moltbrowser hub-list
moltbrowser hub-execute <tool> --arg=value
moltbrowser hub-info <tool>
Core Commands
moltbrowser open [url]
moltbrowser goto <url>
moltbrowser click <ref>
moltbrowser dblclick <ref>
moltbrowser type <text>
moltbrowser fill <ref> <text>
moltbrowser press <key>
moltbrowser select <ref> <val>
moltbrowser check <ref>
moltbrowser uncheck <ref>
moltbrowser hover <ref>
moltbrowser drag <from> <to>
moltbrowser upload <file>
moltbrowser snapshot
moltbrowser screenshot
moltbrowser eval <expr> [ref]
moltbrowser close
Navigation
moltbrowser go-back
moltbrowser go-forward
moltbrowser reload
Keyboard & Mouse
moltbrowser press Enter
moltbrowser keydown Shift
moltbrowser keyup Shift
moltbrowser mousemove 150 300
moltbrowser mousedown
moltbrowser mouseup
moltbrowser mousewheel 0 100
Tabs
moltbrowser tab-list
moltbrowser tab-new [url]
moltbrowser tab-close [index]
moltbrowser tab-select <index>
Sessions
moltbrowser -s=mysite open https://example.com
moltbrowser -s=mysite click e5
moltbrowser list
moltbrowser close-all
Contributing Tools
When you use manual commands (click, fill, etc.) on a site, contribute tools for others:
moltbrowser contribute-create --domain=example.com --url-pattern="example.com/search" --title="Example Search"
moltbrowser contribute-add-tool --config-id=<id> --name=search-items --description="Search for items" --selector="#search" --fields='[{"name":"query","selector":"#search-input","type":"text"}]'
moltbrowser contribute-vote --config-id=<id> --name=search-items --vote=up
Snapshots
After each command, moltbrowser provides a page snapshot. Use element refs (e.g., e15) from snapshots to interact with specific elements.
> moltbrowser goto https://example.com
- Page URL: https://example.com/
- Page Title: Example Domain
[Snapshot](.moltbrowser/page-2026-03-23T12-00-00.yml)
- search: Search for content
- get-links: Extract all links from page
Configuration
moltbrowser open --headed
moltbrowser open --browser=firefox
moltbrowser open --persistent
moltbrowser open --config=conf.json
Environment Variables
| Variable | Description |
|---|
MOLTBROWSER_SESSION | Default session name |
HUB_API_KEY | API key for hub operations |
HUB_URL | Override hub URL |