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
- Restart Claude Desktop after editing config
- Check file location — path is OS-specific
- Verify JSON syntax — invalid JSON fails silently
- Check extension popup — should show “Connected”