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.
Auto-Install
Section titled “Auto-Install”gasoline-mcp --install zedManual Configuration
Section titled “Manual Configuration”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_serversinstead ofmcpServers, and entries require"source": "custom"for manually configured servers.
After restarting Zed, the AI assistant taps into Gasoline’s full MCP toolset.
Troubleshooting
Section titled “Troubleshooting”- Restart Zed after editing settings
- Check the config key — must be
context_servers - Verify extension popup shows “Connected”