Skip to content

Agent-Assisted Installation

You are installing Gasoline Agentic Browser — an MCP server + Chrome extension that gives you real-time browser telemetry (errors, logs, network, DOM, screenshots, automation).

  • macOS, Linux, or Windows (WSL/Git Bash)
  • Chrome or Chromium-based browser
  • curl and unzip available in PATH

Run the one-liner. This downloads the binary, stages the extension, and configures all detected MCP clients automatically.

macOS / Linux:

Terminal window
curl -sSL https://raw.githubusercontent.com/brennhill/gasoline-agentic-browser-devtools-mcp/STABLE/scripts/install.sh | bash

Windows (PowerShell):

Terminal window
irm https://raw.githubusercontent.com/brennhill/gasoline-agentic-browser-devtools-mcp/STABLE/scripts/install.ps1 | iex

What this does (no further action needed):

  • Downloads the platform binary to ~/.gasoline/bin/
  • Verifies SHA-256 checksum
  • Extracts the Chrome extension to ~/GasolineAgenticDevtoolExtension/
  • Runs --install which auto-detects and configures: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI, OpenCode, Antigravity, Zed

If the install script is unavailable, fall back to npm:

Terminal window
npm install -g gasoline-agentic-browser && gasoline-agentic-browser --install

Check the exit code was 0 and the binary exists:

Terminal window
~/.gasoline/bin/gasoline-agentic-browser --version

Step 2: Ask the user to load the Chrome extension

Section titled “Step 2: Ask the user to load the Chrome extension”

This is the one step that requires human interaction. Chrome does not allow programmatic installation of unpacked extensions — the user must click through the Chrome UI.

Tell the user:

To finish setup, load the Gasoline browser extension:

  1. Open chrome://extensions in Chrome
  2. Enable Developer mode (toggle in the top-right corner)
  3. Click Load unpacked
  4. Select the folder: ~/GasolineAgenticDevtoolExtension

The Gasoline icon should appear in your toolbar. Click it — it should show “Connected”.

Why this can’t be automated: chrome://extensions is a privileged Chrome-internal page. No external process, MCP tool, or browser automation framework can toggle Developer Mode or trigger “Load unpacked.” This is a Chrome security boundary.

The MCP config was written in Step 1, but the AI tool needs to restart to pick it up.

Tell the user:

Restart your AI tool (quit and reopen Claude Code, Cursor, etc.) to activate the Gasoline MCP server.

For Claude Code specifically, no restart is needed if the installer used claude mcp add-json — it takes effect on the next conversation.

Once the user confirms the extension is loaded and the AI tool is restarted, run the doctor command:

Terminal window
gasoline-agentic-browser --doctor

Expected output shows:

  • Binary: OK with version number
  • Port 7890: available (or in use by Gasoline)
  • At least one client: status “ok”

Then verify the MCP connection is live by calling a Gasoline tool:

Use the observe tool with what: "page" to check if the extension is connected.

If the extension is connected, you’ll get back page info (URL, title). If not, you’ll get a message indicating no extension is connected — ask the user to check the extension is loaded and they have a tab open.

SymptomCauseFix
--doctor shows “binary not found”PATH not updatedRun export PATH="$HOME/.gasoline/bin:$PATH" and add to shell profile
Port 7890 in useStale daemonRun gasoline-agentic-browser --kill then retry
Extension shows “Disconnected”Daemon not runningThe MCP client starts the daemon automatically — make sure the AI tool is running
observe returns no dataNo tab openUser needs to have at least one Chrome tab open
Extension not visible in toolbarNot pinnedUser should click the puzzle-piece icon in Chrome toolbar and pin Gasoline
StepWhoAutomatable?
Download binary + verify checksumAgentYes — install.sh handles it
Stage extension filesAgentYes — install.sh handles it
Configure MCP clientsAgentYes — --install handles it
Deploy agent skillsAgentYes — handled by postinstall
Load Chrome extensionUserNo — Chrome security boundary
Restart AI toolUserNo — agent can’t restart itself
Verify with --doctorAgentYes