Skip to content
Cursor

bun uia for Cursor

io.github.obscuritysrl/bun-uia

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

client:Cursor transport:stdio runtime:npm

Install bun uia in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "bun-uia": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

bun uia in other clients