![Paseo Chrome Bridge — illustrated project cover](docs/media/hero.png) # Paseo Chrome Bridge ![Paseo compatibility](https://img.shields.io/badge/Paseo-0.14.0-22c55e?style=flat-square) ![TypeScript](https://img.shields.io/badge/TypeScript-3178c6?style=flat-square&logo=typescript&logoColor=white) ![Platform](https://img.shields.io/badge/Platform-Chrome%20%26%20Linux-64748b?style=flat-square) [Features](#features) · [Getting started](#getting-started) · [Compatibility](#compatibility) · [Reference](docs/REFERENCE.md)
Give a Paseo agent access to your existing Chrome session through a local bridge and companion extension. The browser keeps its normal profile, logins, cookies, and network environment; the bridge sends commands to the browser you are already using. ## Features | Feature | What you get | | --- | --- | | Existing browser session | Work in your normal logged-in Chrome instead of launching a second profile | | Local transport | A Node bridge on `127.0.0.1` connects agents and the MV3 extension | | Browser MCP tools | Search, inspect, click controls or screenshot coordinates, scroll nested menus, fill rich text, select dropdown options, use keyboard shortcuts, and capture screenshots | | Native plugin settings | Bridge status, extension status, and Start/Stop controls | | One tab per agent | Each agent works in its own background tab; its calls run in order; explicit `web_focus` reveals its page to the user | | Google search pacing | Google searches from all agents are spaced out; agents get a clear "retry in N seconds" | | Companion utilities | Optional native desktop MCP tools and provider launch guards | ## How it fits ```mermaid flowchart LR A[Paseo agent] --> B[Browser MCP server] B --> C[Local bridge] C --> D[Chrome extension] D --> E[Existing browser tab] F[Paseo plugin settings] --> C ``` ## Getting started Clone to the folder expected by the compatibility plugin's existing launcher: ```bash mkdir -p ~/Work git clone https://github.com/papag00se/paseo-chrome-bridge.git ~/Work/chrome-bridge cd ~/Work/chrome-bridge/bridge npm ci node server.mjs ``` In Chrome, open **chrome://extensions**, enable **Developer mode**, and use **Load unpacked** to select the repository's `extension/` directory. Each agent gets its own background tab in the "Paseo" tab group. The tab survives MCP server restarts and is closed 12 hours after the agent ends. CDP focus emulation prepares those targets for trusted input without activating your foreground tab. After changing extension code, reload Chrome Bridge from `chrome://extensions`. To add the Paseo 0.14 settings panel, in a separate terminal: ```bash cd ~/Work/chrome-bridge/plugin npm ci --legacy-peer-deps npm run typecheck paseo plugin install "$PWD" ``` Open **Settings → Plugins → Chrome Bridge → Settings**. Start/Stop controls affect the bridge; simply opening settings reads its status. MCP registration is a separate step described in the [setup reference](docs/REFERENCE.md). ![Chrome Bridge settings in Paseo: bridge and extension status, Start/Stop controls and one-time extension setup](docs/media/settings.png) ## Chrome profiles Load the extension in each Chrome profile you want the bridge to access. The extension requests Chrome profile identity permission so the bridge can identify a connected profile by its signed-in email; profile email addresses are visible to local bridge clients. Profiles without a Chrome-reported email cannot be selected by name. Configure `BRIDGE_TOKEN` to restrict local callers where appropriate. Call `web_profile` without arguments to list connected profiles and the current agent's selection. Call it with `profile` set to an exact listed email to select that profile for this agent. Each agent keeps its own tab in each profile; switching does not take over a user's existing tab. A missing or duplicate profile is rejected rather than silently choosing another. Selection is held by the bridge and must be repeated after a bridge restart. Reload the extension in each profile and reconnect the MCP server after upgrading; restarting the shared bridge affects other agents. ## Form controls Use `web_scroll` for nested menus/dialogs and browser-viewport coordinate clicks for custom controls without semantic selectors. Use `web_select` for native dropdowns; choose an exact label, value, or zero-based option index from `web_snapshot`. Selection is committed with trusted keyboard input and verified. `web_key` supports arrows, Home/End, PageUp/PageDown, Delete, Space, letters/digits, modifiers, and repetition. Use `web_fill` for long input/textarea/rich-text replacements; `web_type(clearFirst: true)` also clears rich text and handles empty replacements. Neither exposes passwords or uses the clipboard. Snapshots include checkbox/radio state and native option labels/selection, but never input values. After upgrading, **reload Chrome Bridge in `chrome://extensions`**, then refresh/reconnect the agent's MCP tools (or start a new agent). No Chrome or Paseo daemon restart is required. Existing MCP processes retain their old tool definitions until refreshed; ending an agent closes its own browser tab, so save any open form before ending/restarting the agent. Extension reload alone retains live-session tabs. ## Compatibility The Paseo plugin in `plugin/` targets Paseo 0.14.x, typechecked against the pinned 0.14.0 SDK (older ports remain in Git history). Its launcher expects `~/Work/chrome-bridge/bridge`; use that checkout location. The bridge uses your active logged-in browser. Configure `BRIDGE_TOKEN` if you need to restrict local callers, and keep agent actions within the permissions you grant. Browser/desktop operations are externally visible; the plugin does not authorize them on its own. The optional native desktop tools target Linux/Hyprland and are documented separately. They are not needed to use the Chrome bridge. ## Development ```bash node --test mcp/tests/*.test.mjs bridge/tests/*.test.mjs guard/*.test.mjs ``` [Full setup, MCP tools, and transport details →](docs/REFERENCE.md) · [Desktop MCP](mcp/DESKTOP.md) · [Provider guards](guard/README.md)