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.
Configuration
Section titled “Configuration”Add to ~/.config/zed/settings.json:
{ "context_servers": { "gasoline": { "command": { "path": "npx", "args": ["gasoline-mcp"] } } }}Zed uses
context_serversinstead ofmcpServers, and the command format differs slightly.
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”