Skip to content
Gemini CLI

lan direct for Gemini CLI

io.github.farshadmomo/lan-direct

Browser MCP: the app under test egresses via the real ISP while the agent stays on the VPN.

client:Gemini CLI transport:stdio runtime:npm

Install lan direct in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "lan-direct": {
      "command": "npx",
      "args": [
        "-y",
        "lan-direct"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

lan direct in other clients