Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>BridgeMergerNew to Visual Studio Code? Get it now.
BridgeMerger

BridgeMerger

BridgeMerger

| (0) | Free
Connect AI assistants (ChatGPT, Gemini, Claude, Codex CLI, and MCP clients) safely to your local VS Code workspace with human-in-the-loop diff approval.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BridgeMerger

BridgeMerger is a VS Code extension and local/headless Model Context Protocol (MCP) server that connects browser and CLI AI assistants (ChatGPT Web, Gemini Web, Claude Web, Gemini CLI, and OpenAI Codex CLI) to your local VS Code workspace with human-in-the-loop diff previews, approval policies, permanent Tailscale Funnel HTTPS endpoints, and recoverable Git checkpoints.


Key Features

  • Same Local MCP Server & Persistent Auth Token: Automatically starts on http://127.0.0.1:49200/mcp and preserves your cryptographic Bearer token across VS Code restarts, workspace switches, and updates—set up your AI client once without repeating configuration.
  • One-Time Permanent Remote URL via Tailscale Funnel: Each user gets their own permanent https://<your-device>.<tailnet>.ts.net/mcp HTTPS URL and persistent token, automatically restored whenever VS Code opens. (Also supports cloudflared, ngrok, and custom HTTPS reverse proxies.)
  • Human-in-the-Loop Diff Approval: File edits, patches, creations, renames, and deletions open with native VS Code diff previews and require explicit approval under ask_before_editing mode.
  • SHA-256 Concurrency Protection: Every file read returns a content digest verified prior to writes so stale edits never overwrite concurrent changes.
  • Recoverable Git Checkpoints: Automatically creates non-destructive Git checkpoint refs before applying approved edits (bridgemerger.git.autoCheckpoint).
  • Defense-in-Depth Security: Blocks sensitive files (.env, keys, .ssh/**, .aws/**, .git/config), redacts secrets in logs, enforces sliding-window rate limiting, and locks remote write operations by default until explicitly unlocked.

One-Time Setup for Browser AI Clients (Tailscale Funnel)

Every user runs their own isolated MCP server on their own machine—never a shared server:

  1. Install Tailscale on your machine, sign in to your own free Tailscale account, and enable Funnel in your Tailscale admin console.
  2. Open the BridgeMerger Dashboard in VS Code (Cmd+Shift+P / Ctrl+Shift+P -> BridgeMerger: Open Dashboard).
  3. Click Configure Connection -> select Public Tunnel -> Tailscale Funnel (permanent HTTPS URL) -> check Allow remote file edits if desired -> click Save & Start Tunnel.
  4. Click Copy Endpoint (https://<your-device>.<tailnet>.ts.net/mcp) and Copy Auth Token (or Copy for ChatGPT / Claude) and paste them into your AI client once:
    • ChatGPT Web (Plus / Pro / Business / Enterprise / Edu): Settings -> Developer Mode -> Connectors -> Add custom MCP server.
    • Gemini Web: Connectors -> + Custom -> Connect to an MCP server (leave Client ID & Secret empty, then paste your Auth Token on the authorize prompt).
    • Claude Web: Add a remote MCP connector with No sign-in and paste Copy for ChatGPT / Claude.
    • Gemini CLI: Click Copy Gemini CLI in the Dashboard and paste into ~/.gemini/settings.json (macOS/Linux) or %USERPROFILE%\.gemini\settings.json (Windows).

Your Tailscale URL and Auth Token stay the same across restarts, so you never have to repeat this setup.


Available MCP Tools

BridgeMerger exposes 22 MCP tools across four categories:

Category Tools Access Approval
Workspace get_workspace_info, get_project_structure, list_files, read_file, search_files, search_code, get_open_files, get_file_metadata Read No
File Write create_file, edit_file, apply_patch, create_directory, rename_file, delete_file Write Policy-controlled
Git get_git_status, get_git_diff, create_git_checkpoint Read / Write create_git_checkpoint only
Developer get_diagnostics, get_project_dependencies, get_package_scripts, run_command, run_tests Read / Write run_command & run_tests

Security & Permission Modes

Configure how BridgeMerger handles write and execution requests via bridgemerger.permissions.mode or the Dashboard toggle:

  • ask_before_editing (default): Read tools execute immediately; all file writes, Git checkpoints, and terminal/test runs prompt for human approval in VS Code with a diff preview.
  • approved_operations: Auto-approves workspace edits and safe commands while still enforcing path guards, secret blocks, and destructive-command confirmation.
  • read_only: Blocks all file modifications, Git writes, and command execution.

Default Protected Patterns (bridgemerger.security.protectedPatterns): .env, .env.*, *.pem, *.key, *.p12, .ssh/**, .git/config, .aws/**


Extension Settings

Setting Default Description
bridgemerger.server.port 49200 Local loopback port for the MCP HTTP server (0 for ephemeral).
bridgemerger.server.autoStart true Automatically start the MCP server when VS Code opens a workspace.
bridgemerger.dashboard.autoOpen true Automatically reveal the BridgeMerger Dashboard on startup.
bridgemerger.permissions.mode "ask_before_editing" Default approval mode (read_only, ask_before_editing, approved_operations).
bridgemerger.connection.mode "local" Connection mode (local loopback or remote HTTPS tunnel).
bridgemerger.connection.provider "tailscale" Tunnel provider (tailscale, cloudflared, ngrok, custom).
bridgemerger.connection.remoteWriteLocked true Block write operations when connected over a public tunnel.
bridgemerger.git.autoCheckpoint true Create a recoverable Git checkpoint before applying approved edits.

Source code and full monorepo documentation: github.com/PranavSharma1008/BridgeMerger.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft