michaljach/opencode-browser
View on GitHub ↗Browser automation plugin for OpenCode AI editor - Control Chrome/Edge with AI, automate web testing, scraping & form filling via MCP integration
80 ★9 forksTypeScriptUpdated 4mo ago
What you need to know
OpenCode plugin that integrates Browser MCP for browser automation — lets the AI control a browser to navigate, fill forms, click elements, and scrape, with speed-oriented guidance and fast retry behavior.
Install
npx opencode-browser init (creates/updates ./opencode.json) or npx opencode-browser init --global
Usage
- •requires the Browser MCP extension (Chrome/Edge); configure opencode.json with plugin + mcp.browsermcp, then use prompts like 'navigate to ... and screenshot ...'
Key features
- ✓full browser automation via Browser MCP (@browsermcp/mcp)
- ✓speed-oriented system guidance: prefer direct navigate, reuse tab state, minimize snapshot/screenshot/wait
- ✓tool-specific performance hints on expensive actions
- ✓no artificial reconnect backoff — immediate retry after extension readiness
- ✓automatic browser-tool detection
- ✓preserves browser context across session compactions
- ✓npx opencode-browser init --print to preview config
Best for
OpenCode users wanting in-editor browser automation and web scraping.
Caveats
- ⚠requires Browser MCP extension installed and enabled in the browser
- ⚠pins @browsermcp/mcp version in generated config
- ⚠OpenCode-specific plugin
Platforms: macOS · Linux · WindowsClients: OpenCode
Reviewed 2026-08-11
Topics
ai-coding-assistantai-pluginbrowser-automationchrome-automationedge-automationform-automationmcpmodel-context-protocolopencodeopencode-pluginplaywright-alternativeselenium-alternativetest-automationtypescriptweb-automationweb-scrapingweb-testing
- Stars
- 80★
- Forks
- 9
- Language
- TypeScript
- License
- MIT
- Created
- 2026-01-04
- Last push
- 2026-04-29