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.

Terminal window
gasoline-mcp --install zed

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

{
"context_servers": {
"gasoline": {
"source": "custom",
"command": "gasoline-mcp",
"args": []
}
}
}

If using npx:

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

Zed uses context_servers instead of mcpServers, and entries require "source": "custom" for manually configured servers.

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”