Browser Bridge
БесплатноНе проверенBridges opencode into Firefox, letting you read pages, run JavaScript, and audit for security flaws from the terminal.
Описание
Bridges opencode into Firefox, letting you read pages, run JavaScript, and audit for security flaws from the terminal.
README
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.
Architecture
opencode ──▶ MCP server (stdio) ──▶ Unix socket ──▶ host.js (native messaging) ──▶ browser addon ──▶ page
The 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.sh
install.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 |
|---|---|
browser_read |
Extract all visible text from the active tab |
browser_html |
Get full page HTML |
browser_js |
Run arbitrary JavaScript and return the result |
browser_security |
Collect forms, scripts, cookies, storage, external domains, meta tags for vulnerability analysis |
browser_navigate |
Navigate to a URL (new tab by default, or reuse current tab) |
browser_console |
Capture console.log/error/warn/info/debug output (up to 500 entries) |
browser_network |
Capture ALL network requests (page load + fetch/XHR) with URL, method, type |
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 data
Files
| Path | Role |
|---|---|
addon/ |
Browser extension (manifest, background, content scripts) |
host/ |
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
Установка Browser Bridge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jordandubu/browser-bridgeFAQ
Browser Bridge MCP бесплатный?
Да, Browser Bridge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Browser Bridge?
Нет, Browser Bridge работает без API-ключей и переменных окружения.
Browser Bridge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Browser Bridge в Claude Desktop, Claude Code или Cursor?
Открой Browser Bridge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Browser Bridge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
