Skip to content
MCP server

Bun Uia

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.9.1
Listing updated
5 days ago

About Bun Uia

Bun Uia is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add bun-uia -- npx -y bun-uia

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bun-uia": {
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bun-uia": {
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "bun-uia": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "bun-uia": {
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bun-uia": {
      "command": "npx",
      "args": [
        "-y",
        "bun-uia"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • BUN_UIA_PROFILECapability profile: 'readonly' (inspect/read only), 'safe' (read + input + window — default), or 'full' (also os + fs tools).
  • BUN_UIA_OSSet to '1' to allow OS-level tools (launch_app, run_program, open_path) AND filesystem tools (read_file, write_file, list_dir) regardless of profile.
  • BUN_UIA_ALLOWComma-separated tool names or categories to additionally allow on top of the profile.
  • BUN_UIA_DENYComma-separated tool names or categories to deny, overriding the profile and BUN_UIA_ALLOW.
  • BUN_UIA_CURSORSet to 'never' to forbid the real-cursor fallback entirely (strictly cursor-free). By default clicks/drags are cursor-free but fall back to the real hardware cursor when no cursor-free path exists.
  • BUN_UIA_FS_ROOTSandbox root directory that read_file/write_file/list_dir are confined to when fs tools are enabled.

Pricing

Open source

Bun Uia FAQ

Is Bun Uia free?

Yes. Bun Uia is open source, so you can use and self-host it for free.

How do I add Bun Uia to Claude Code?

Run this command in your terminal: claude mcp add bun-uia -- npx -y bun-uia

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers