Configuration

Edit the Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "gasoline": {
      "command": "npx",
      "args": ["gasoline-mcp", "--mcp"]
    }
  }
}

Usage

After restarting Claude Desktop, Claude can:

  • Read browser console errors and warnings
  • Inspect failed API calls with response bodies
  • Query the live DOM
  • Monitor WebSocket connections
  • Run accessibility audits

Ask Claude: “What errors are showing in my browser?”

Troubleshooting

  1. Restart Claude Desktop after editing config
  2. Check file location — path is OS-specific
  3. Verify JSON syntax — invalid JSON fails silently
  4. Check extension popup — should show “Connected”