
Chromium Bridge
io.github.dashi96Published by GitHub account dashi96v0.5.3Updated Oct 24, 2026
MCP bridge between Chromium browsers (Arc, Vivaldi, Brave) and Claude Code: browser automation
Overview
Lets an assistant drive a Chromium-based browser (Arc, Vivaldi, Brave) through a local extension: tabs, navigation, clicks, typing, screenshots, console and…
- What you can do
- An MCP server that bridges Claude Code to a Chromium browser via a locally installed MV3 extension over a WebSocket on 127.0.0.1. It exposes browser_* tools for listing, opening and closing tabs, navigating, reading page text and the accessibility tree, finding elements, clicking, filling forms, uploading files, running JavaScript, and capturing screenshots, console messages and network requests. It also records GIFs of a tab and provides a chat panel in the extension popup.
- When to use it
- Use it when you want an assistant to automate a Chromium browser that the official Chrome extension does not support well, such as Arc, Vivaldi or Brave, and you need real clicks, page reading, screenshots or console and network inspection. It is a local desktop tool, not a hosted service.
- Requirements
- Runs locally over stdio as the npm package chromium-bridge (npx chromium-bridge) or from a clone with Node.js. Requires a Chromium-based browser with the bundled extension loaded in developer mode, and a running server session. Optional environment variables: CHROMIUM_BRIDGE_CHAT_MODEL and CHROMIUM_BRIDGE_PORT (default 8929). The chat panel uses the Claude Code login.
Installation
In SourceWeft
- Open Chromium Bridge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[Image] Chromium Bridge
A bridge between your Chromium-based browser and Claude Code. The official
"Claude in Chrome" extension connects in some Chromium browsers (Arc, Vivaldi,
and others) but automation hangs: its tools are built on the tab groups API,
which is missing or broken there. This bridge uses only plain
chrome.tabs / chrome.scripting / chrome.debugger, so it works in any
Chromium browser that can load an extension.
Demo
Claude driving the browser through the bridge — opening Wikipedia, typing a search, and landing on the article:
[Chromium Bridge demo: Claude controlling a Chromium browser]
Architecture
extension/— an MV3 extension: the service worker keeps a WebSocket to the local server and executes its commands (tabs, navigation, page text, screenshots, clicks, form filling). Clicking the icon opens the chat panel (chat.html) — a popup anchored to the extension icon.server/— an MCP server (stdio) that exposes thebrowser_*tools to Claude Code and proxies them to the extension. It accepts WS connections only from achrome-extension://…Origin — regular web pages cannot connect. It also serves the/chatchannel: panel messages run through the Claude Agent SDK (authenticated via the Claude Code login) with the samebrowser_*tools; built-in tools (Bash, Read, etc.) are disabled.
Chat panel
An equivalent of the "Claude in Chrome" side panel: a popup that opens when you
click the extension icon (no chrome.sidePanel — it is not supported
everywhere). The chat can see the browser: list tabs, read pages, take
screenshots, and click.
[Chat panel demo: Claude opens a Wikipedia article and answers from it]
The panel UI is in English by default and switches to Russian automatically when the browser UI language is Russian. A language selector (Auto / English / Русский) in the bottom bar overrides auto-detection; the on-page badge follows the same choice.
- The popup closes when it loses focus (clicking the page) — that is browser
behavior. The conversation context is not lost: the panel remembers the
session_id and the server resumes the conversation via the Agent SDK
resume. A turn that is in flight when the popup closes is interrupted. - It only works while the server is running (usually an active Claude Code
session with the
chromium-bridgeMCP); otherwise the panel shows "Server unavailable". - Model picker in the panel header: "Default" takes the model from
~/.claude/settings.json(whatever was set via/model; SDK sessions do not read Claude Code settings themselves, the server passes the model explicitly), the other entries are hard overrides. Switching applies on the fly (setModel) and is remembered. Startup override:CHROMIUM_BRIDGE_CHAT_MODEL=sonnetin the server environment. Port:CHROMIUM_BRIDGE_PORT(8929 by default) — server side only; the extension always connects to 8929, so changing the port also means editingWS_URLinextension/sw.jsandextension/chat.js. - Chat history: the 🕓 button in the header lists past conversations (stored in the panel's localStorage, the last 30).
- After each turn there is a usage line: turn tokens (↑ input incl. cache / ↓ output) and the accumulated session cost in $ (on a subscription this is an estimate, not a separate bill).
- Screenshots the agent takes along the way are shown right in the chat feed (click to expand). They are not saved to history (localStorage is finite).
- You can paste images from the clipboard (Cmd+V in the input, up to 5 per message) — the model sees them; only a marker remains in history.
- "Ask before acting" mode (checkbox above the input): reading (tabs, text, screenshots, console, network) proceeds without questions, while mutating actions — clicks/typing/navigation/JS/forms/closing tabs/file uploads — wait for an Allow / Deny card. The agent sees a denial and continues the conversation. Toggling applies immediately, without recreating the session (via the Agent SDK's canUseTool).
On-page indication
When Claude acts on a tab (from the panel or from Claude Code):
- an orange glow burns around the page edges with a "✳ Claude is working…" badge, fading 2.5s after the last action;
- a virtual cursor (an orange arrow) glides to the action point and pulses a ring on click; it disappears after 3.5s of inactivity.
Both are hidden on screenshots so they don't end up in the frame and confuse
the model when working with coordinates. On pages where scripts cannot be
injected (chrome:// and the like) the indication is silently skipped.
Installation
-
Extension: clone this repository, open
chrome://extensions(in the right space/profile!), enable "Developer mode", click "Load unpacked", and pick theextension/folder. -
MCP server — either way:
- via npm:
claude mcp add -s user chromium-bridge -- npx chromium-bridge - from the clone:
cd server && npm install, thenclaude mcp add -s user chromium-bridge -- node "$(pwd)/index.mjs".
It loads at session start — restart your Claude Code session after installing the extension.
For other MCP clients, add this to your config:
- via npm:
-
Check: the
browser_statustool should return{"connected": true}.
Tools
As of v0.5.
Everything except basic tab operations works through chrome.debugger (CDP):
screenshots don't require activating the tab, clicks are real mouse events,
and console/network are collected from the first CDP touch of the tab.
Limitations
- The extension lives in one browser profile — install it in the one you want to automate.
- While the server is running, its periodic ping keeps the extension's service worker awake. If the worker is asleep anyway (e.g. the server has just started), a keepalive alarm wakes it within ~30 seconds, and the server waits up to 12 seconds for reconnection before erroring.
- Trust model: the WS server listens on 127.0.0.1 and rejects connections
whose Origin is not
chrome-extension://…, which keeps web pages out. It does not distinguish between extensions, and a non-browser local process can fake the Origin header — anything running as your user is trusted, like with most local dev tools. Don't run the bridge on a shared machine. - On the first CDP action the browser shows a "Chromium Bridge started debugging this browser" bar — that's normal, the debugger is the control mechanism. Closing the bar detaches the debugger (the next action re-attaches it).
- Console/network are not recorded retroactively — only after the tab is first touched.
- Port 8929 is owned by one session: a second parallel Claude Code session cannot start its own WS server (the extension stays with the first one).
License
Source: README.md at commit bdf0f94
Tools
0Version history
1- v0.5.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
