Skip to content
Gemini CLI

bun uia for Gemini CLI

io.github.obscuritysrl/bun-uia

Playwright for the Windows desktop, from Bun — drive native GUIs via UI Automation + MCP.

client:Gemini CLI transport:stdio runtime:npm

Install bun uia 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": {
    "bun-uia": {
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ],
      "env": {
        "BUN_UIA_PROFILE": "<BUN_UIA_PROFILE>",
        "BUN_UIA_OS": "<BUN_UIA_OS>",
        "BUN_UIA_ALLOW": "<BUN_UIA_ALLOW>",
        "BUN_UIA_DENY": "<BUN_UIA_DENY>",
        "BUN_UIA_CURSOR": "<BUN_UIA_CURSOR>",
        "BUN_UIA_FS_ROOT": "<BUN_UIA_FS_ROOT>"
      }
    }
  }
}

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

bun uia in other clients