bun-uia
local MCP serverbun-uia is a local MCP server: Playwright for the Windows desktop, from Bun — drive native GUIs via UI Automation + MCP. Install it from npm as bun-uia.
Installation
Terminal
claude mcp add bun-uia -e BUN_UIA_PROFILE=... -e BUN_UIA_OS=... -e BUN_UIA_ALLOW=... -e BUN_UIA_DENY=... -e BUN_UIA_CURSOR=... -e BUN_UIA_FS_ROOT=... -- npx -y bun-uia
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"bun-uia": {
"command": "npx",
"args": [
"-y",
"bun-uia"
],
"env": {
"BUN_UIA_PROFILE": "...",
"BUN_UIA_OS": "...",
"BUN_UIA_ALLOW": "...",
"BUN_UIA_DENY": "...",
"BUN_UIA_CURSOR": "...",
"BUN_UIA_FS_ROOT": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
BUN_UIA_PROFILE,BUN_UIA_OS,BUN_UIA_ALLOW,BUN_UIA_DENY,BUN_UIA_CURSOR,BUN_UIA_FS_ROOT
Summary
Playwright for the Windows desktop, from Bun — drive native GUIs via UI Automation + MCP.
bun-uia vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| bun-uia | 20 | Local | Yes | npm |
| Ghost | 25 | Local | Yes | mcpb |
| glovebox-mcp | 13 | Local | No | — |
| agent-device | 4,793 | Local | No | npm |
| Ui.Vision MCP | 2,042 | Local | Yes | npm |
Questions
It reads 6 environment variables: BUN_UIA_PROFILE, BUN_UIA_OS, BUN_UIA_ALLOW, BUN_UIA_DENY, BUN_UIA_CURSOR, BUN_UIA_FS_ROOT. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
bun-uia is a local MCP server distributed as the npm package bun-uia.
Run: claude mcp add bun-uia -e BUN_UIA_PROFILE=... -e BUN_UIA_OS=... -e BUN_UIA_ALLOW=... -e BUN_UIA_DENY=... -e BUN_UIA_CURSOR=... -e BUN_UIA_FS_ROOT=... -- npx -y bun-uia
Run: codex mcp add bun-uia --env BUN_UIA_PROFILE=... --env BUN_UIA_OS=... --env BUN_UIA_ALLOW=... --env BUN_UIA_DENY=... --env BUN_UIA_CURSOR=... --env BUN_UIA_FS_ROOT=... -- npx -y bun-uia
Similar MCP servers
NameStars
- Ghostio.github.NORTHTEKDevs/ghost25
- glovebox-mcpio.github.segentic-lab/glovebox-mcp13
- agent-deviceio.github.callstack/agent-device4,793
- Ui.Vision MCPio.github.A9T9/uivision-mcp2,042
- MCP Server for Excelio.github.sbroenne/mcp-server-excel791
- safari-mcpio.github.achiya-automation/safari-mcp205
- macOS-MCPio.github.Jeomon/macos-mcp187
- Native DevToolsio.github.sh3ll3x3c/native-devtools134