Skip to content
Gemini CLI

Netwright for Gemini CLI

io.github.ricfanin/netwright

Playwright-style automation of .NET desktop apps (WPF, WinForms, WinUI) for AI agents.

client:Gemini CLI transport:stdio runtime:nuget

Install Netwright in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "netwright": {
      "command": "dnx",
      "args": [
        "Netwright",
        "--yes"
      ],
      "env": {
        "NETWRIGHT_ALLOW": "<NETWRIGHT_ALLOW>"
      }
    }
  }
}

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

Netwright in other clients