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
{
"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