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.

Terminal window
# Until the Chrome extension is approved, install manually:
git clone https://github.com/brennhill/gasoline.git
cd gasoline
go run ./cmd/dev-console

You’ll see: [gasoline] v4.8.0 — HTTP on port 7890

Leave this burning. No global install needed.

Extension install:

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked and select the extension/ folder in this repo

Once the Chrome extension is approved:

Terminal window
npx gasoline-mcp
# Then install from the Chrome Web Store

Grab it from the Chrome Web Store (search “Gasoline”). Click the icon in your toolbar — it should show Connected.

Load Unpacked (Development):

  1. Clone the repository
  2. Open chrome://extensions → enable Developer mode
  3. Click Load unpacked → select the extension/ folder

Drop this config and your AI tool fires up Gasoline automatically:

Claude Code.mcp.json in your project root:

{
"mcpServers": {
"gasoline": {
"command": "go",
"args": ["run", "./cmd/dev-console"]
}
}
}

See MCP Integration for Cursor, Windsurf, Claude Desktop, Zed, and more.

Restart your AI tool. From now on, the server ignites automatically.

Open your web app. Trigger an error:

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

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

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

ToolWhat it does
observeBrowser state — errors, logs, network, WebSocket, actions, Web Vitals, page info
analyzeInsights — performance regression, API schema, accessibility, session diffs, timeline
generateArtifacts — Playwright tests, reproduction scripts, PR summaries, SARIF, HAR
configureSession — persistent memory, noise filtering, log management
query_domLive DOM query with CSS selectors

Each tool has sub-modes. For example, observe with what: "errors" returns console errors, while what: "vitals" returns Core Web Vitals.

See MCP Integration for full tool documentation.

Run standalone — Gasoline writes to ~/gasoline-logs.jsonl. Point your AI at the file.

Terminal window
npx gasoline-mcp