Skip to content

Releases: zhaozhaozz/vscode-browser-bridge

v0.2.9

Choose a tag to compare

@zhaozhaozz zhaozhaozz released this 27 Jun 09:15

What's new

  • Per-agent setup dialog. The status-bar Show Status now opens a dialog for each agent with Auto-configure (sets it up for you) or Copy (the snippet to do it by hand).
  • opencode support, alongside Claude Code and Codex. Its Auto-configure writes to opencode.jsonc/opencode.json in place, preferring an existing .jsonc and preserving comments.
  • All three agents register at user scope and route via the injected terminal environment variable — no hard-coded instance paths.

Fixes

  • Multi-window routing. Each window's instance file is now keyed by its per-window storage path, so several windows open on the same folder no longer share — and delete — one instance file. Instance files are written atomically and removal is guarded by pid.

Install

Download vscode-browser-bridge-0.2.9.vsix below and run code --install-extension vscode-browser-bridge-0.2.9.vsix (on the remote, for Remote-SSH), or get it from the VS Code Marketplace.

Browser Bridge (MCP) v0.2.7

Choose a tag to compare

@zhaozhaozz zhaozhaozz released this 13 Jun 07:08

Exposes VS Code's integrated browser tools (the ones Copilot agent mode uses) to
external MCP agents — Claude Code, Codex CLI, or any MCP client — with a local VS Code
window or a Remote-SSH window where the agents run on the remote server.

Install

  1. Download vscode-browser-bridge-0.2.7.vsix below. For Remote-SSH, install it on the
    remote (where the agents run):
    code --install-extension vscode-browser-bridge-0.2.7.vsix
  2. Reload VS Code. A Browser MCP :<port> item appears in the status bar; click it to
    copy ready-to-paste agent configs (the path is resolved for your machine).
  3. Register the bridge with your agent using the version-independent path
    <globalStorage>/theozhao.vscode-browser-bridge/stdio-bridge.mjs. For Codex, also add
    env_vars = ["VSCODE_BROWSER_BRIDGE_INSTANCE"].

Requires VS Code 1.110+ with the integrated browser, and the
workbench.browser.enableChatTools setting enabled.

Highlights

  • 10 integrated-browser tools mirrored over MCP via vscode.lm.invokeTool, plus
    save_page_screenshot which writes image bytes straight to disk.
  • Streamable-HTTP MCP server on 127.0.0.1 with bearer-token auth, and a zero-dependency
    stdio bridge that survives window reloads.
  • Per-window routing: terminals carry VSCODE_BROWSER_BRIDGE_INSTANCE, so each agent
    drives the window it was launched from; agents outside a VS Code terminal stay idle
    unless they opt in with --discover/--workspace/--url.
  • The stdio bridge is published to a version-independent globalStorage path, so agent
    configs keep working across extension upgrades.