Configuration
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gasoline": {
"command": "npx",
"args": ["gasoline-mcp", "--mcp"]
}
}
}
Usage
After restarting Windsurf, the AI can access all browser state:
- Console errors and warnings
- Failed network requests with response bodies
- WebSocket events and connection states
- Live DOM queries
- Accessibility audit results
Troubleshooting
- Restart Windsurf after adding config
- Check extension popup — should show “Connected”
- Verify config path — must be
~/.codeium/windsurf/mcp_config.json