Give OpenCode control of your browser
Your terminal agent gets a real browser, not a headless stub.
Last updated: August 2026
In short
Vibe MCP connects OpenCode to your real Chrome browser. Add the "vibe" server under mcp.servers in .opencode/config.json, install the Vibe extension, and OpenCode can navigate, click, fill forms, screenshot, and read content from pages you are already logged into.
The problem
- OpenCode can run code but cannot verify the result in a browser.
- Authenticated environments are unreachable from a clean automation browser.
What Vibe MCP changes
- OpenCode drives your existing Chrome with your sessions intact.
- Shares the browser with other connected agents.
Install in 3 steps
1Install the Vibe extension in Chrome
Add Vibe AI Browser from the Chrome Web Store (Chrome, Brave, Edge, or any Chromium browser). This is the piece that lets an agent drive the browser you are already logged into — no second browser profile, no re-authentication.
2Add Vibe to .opencode/config.json
Register the "vibe" MCP server in your OpenCode config and restart OpenCode.
.opencode/config.jsonjson{ "mcp": { "servers": { "vibe": { "command": "npx", "args": ["-y", "@vibebrowser/mcp"] } } } }3Connect the extension and run your first command
Click the Vibe icon, open Settings, and enable "MCP External Control" until the status reads Connected. Then ask your agent to open a page and take a snapshot — it should return the content of your real tab.
Your relay URL / extension UUID grants live control of your browser session. Treat it like a password: never commit it or paste it into a shared chat.
Tools OpenCode gets
| Tool | Description |
|---|---|
| navigate_to_url | Navigate to any URL |
| go_back / go_forward | Browser history navigation |
| click | Click elements on the page |
| type / fill | Enter text into inputs |
| scroll | Scroll the page |
| take_screenshot | Capture screenshots |
| get_page_content | Extract page text or HTML |
| get_tabs / create_new_tab / switch_to_tab / close_tab | Tab management |
| keyboard_shortcut | Press keyboard combinations |
| web_search | Search the web |
How it compares
| Feature | Vibe MCP | Playwright MCP | BrowserMCP |
|---|---|---|---|
| Multi-agent support | Yes | No | No |
| Uses your browser profile | Yes | No | No |
| Logged-in sessions | Yes | No | No |
| No separate browser | Yes | No | No |
| Local & private | Yes | Yes | Partial |
| Content-script based | Yes | No | No |
OpenCode browser control — FAQ
- How do I add an MCP server to OpenCode?
- Add it under mcp.servers in .opencode/config.json. For Vibe, use command npx with args ["-y", "@vibebrowser/mcp"], then restart OpenCode.
- Does OpenCode share the browser with other agents?
- Yes. Vibe multiplexes MCP clients through a relay daemon so several agents can drive one browser simultaneously.
Works with your other agents too
The same MCP server powers every client. Multiple agents can drive the same browser at once.
Ready to connect OpenCode?
Connecting an agent to your logged-in browser has real privacy consequences. Read what is transmitted, logged and retained in the Privacy Policy.