Configuration

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

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

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

Usage

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

Troubleshooting

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