browser-bridge
Bridges opencode into Firefox to read page text, extract HTML, execute arbitrary JavaScript, and collect security-relevant data (forms, scripts, cookies, storage, external domains, meta tags) from the active tab for vulnerability analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@browser-bridgeaudit this page for vulnerabilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
browser-bridge
Bridge opencode into your browser. Read pages, execute JavaScript, and audit for security flaws — all from your terminal. Purpose-built for bug bounty hunting.
Why
Bug bounty hunters spend half their time switching between browser and tools. browser-bridge puts opencode directly inside the page. Browse normally, then ask opencode to read the DOM, run JS, or scan for vulnerabilities — no proxies, no manual export, no context switching.
Related MCP server: gecko-mcp
Architecture
opencode ──▶ MCP server (stdio) ──▶ Unix socket ──▶ host.js (native messaging) ──▶ browser addon ──▶ pageThe MCP server talks to opencode over stdio. It forwards commands through a Unix socket to the native messaging host, which relays them into the browser's active tab. Responses flow back the same way.
Requirements
Install
git clone https://github.com/jordandubu/browser-bridge
cd browser-bridge
npm install
./install.shinstall.sh registers the native messaging host with Firefox. Then add this to ~/.config/opencode/opencode.jsonc:
"mcp": {
"browser-bridge": {
"type": "local",
"command": "node",
"args": ["/path/to/browser-bridge/host/mcp-server.js"]
}
}Install the addon from the Firefox Add-ons store. Restart opencode.
Tools
Tool | Description |
| Extract all visible text from the active tab |
| Get full page HTML |
| Run arbitrary JavaScript and return the result |
| Collect forms, scripts, cookies, storage, external domains, meta tags for vulnerability analysis |
Example: security audit
User: audit this page for vulnerabilities
opencode → browser_security → returns forms, scripts, cookies, external domains
opencode: "Found 3 issues:
1. Login form submits over HTTP (no TLS)
2. No CSP meta tag detected
3. Inline script uses innerHTML with user-controlled input"CLI
For testing without opencode:
node host/bridge.js # read page text
node host/bridge.js html # get page HTML
node host/bridge.js js "document.title" # run JS
node host/bridge.js security # extract security dataFiles
Path | Role |
| Browser extension (manifest, background, content scripts) |
| Native messaging host, MCP server, CLI client |
Contributing
PRs welcome. Only opencode is supported — if you want Cursor, Claude Code, or another MCP client, add it yourself. The bridge is client-agnostic (stdio MCP), so it should just work. Test with node host/bridge.js and npm run lint.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceStandardizes front-end JavaScript reverse engineering workflows by providing tools for browser observation, runtime sampling, hooking, debugging, network analysis, and local environment reproduction.Last updated99165Apache 2.0
- AlicenseAqualityAmaintenanceDrive Firefox-based browsers (Floorp, LibreWolf, Zen, Waterfox, Mullvad, Firefox) from any MCP client — read pages, screenshot, click, fill forms and manage tabs in your real session, over Marionette/WebDriver. OS input & JS eval locked by default.Last updated41521MIT
- AlicenseAqualityDmaintenanceUltimate Standalone Terminal Browser & Web Scraper - Browse any website, extract content & links directly in your terminal.Last updated32110MIT
- AlicenseBqualityCmaintenanceA local Firefox bridge for MCP agents that enables tab control, DOM interaction, mouse/keyboard actions, and screenshots.Last updated24MIT
Related MCP Connectors
Offline methodology engine for authorized penetration testing, CTF, and security research.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Headless-browser-as-JSON with memorymarket cache economics. Real Chromium, crypto settlement.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jordandubu/browser-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server