Skip to content

Gasoline + Zed

Gasoline is an open-source MCP server that gives Zed’s AI assistant access to browser console logs, network errors, exceptions, WebSocket events, and live DOM state. Zero dependencies.

Add to ~/.config/zed/settings.json:

{
"context_servers": {
"gasoline": {
"command": {
"path": "npx",
"args": ["gasoline-mcp"]
}
}
}
}

Zed uses context_servers instead of mcpServers, and the command format differs slightly.

After restarting Zed, the AI assistant taps into Gasoline’s full MCP toolset.

  1. Restart Zed after editing settings
  2. Check the config key — must be context_servers
  3. Verify extension popup shows “Connected”