Skip to content

Fire It Up

Gasoline is an open-source browser extension + MCP server that streams real-time browser telemetry (console logs, network errors, exceptions, WebSocket events) to AI coding assistants like Claude Code, Cursor, Windsurf, and Zed. One command to install. Zero dependencies.

One command downloads the binary, stages the extension, and auto-configures all detected AI tools:

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

This automatically:

  • Downloads the latest stable binary to ~/.gasoline/bin/
  • Verifies SHA-256 checksum
  • Extracts the Chrome extension to ~/GasolineAgenticDevtoolExtension/
  • Auto-configures all detected MCP clients (Claude Code, Cursor, Windsurf, Zed, Gemini CLI, OpenCode, Antigravity, Claude Desktop, VS Code)

This is the one step that requires human interaction — Chrome doesn’t allow programmatic extension installation.

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

You’ll see the Gasoline icon in your toolbar. It will show “Not Connected” until you complete step 3.

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

Open your web app in Chrome. Trigger a test error:

console.error("Gasoline test — is the fire lit?")

Ask your AI: “What browser errors do you see?”

The extension icon should now show Connected (green indicator).

You can also verify with the built-in doctor command:

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

Your AI now has 5 tools covering the full debugging lifecycle:

ToolWhat it does
observeBrowser state — errors, logs, network, WebSocket, actions, Web Vitals, page info, recordings
analyzeActive analysis — DOM queries, accessibility audits, security audits, performance, link health, visual annotations
generateArtifacts — Playwright tests, reproduction scripts, PR summaries, SARIF, HAR, CSP, SRI, test healing
configureSession — noise filtering, persistent storage, recording, streaming, health
interactBrowser control — navigate, click, type, execute JS, upload, draw mode, state management

Each tool has sub-modes. For example, observe with what: "errors" returns console errors, while what: "websocket_status" returns active WebSocket connections.

See MCP Integration for full tool documentation.

npm (if you prefer Node.js):

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

From source (for development):

Terminal window
git clone https://github.com/brennhill/gasoline-agentic-browser-devtools-mcp.git
cd gasoline-agentic-browser-devtools-mcp
go run ./cmd/dev-console

Requires Go 1.24+.