MCP Server
MCP
io.github.ObscuritySRL/bun-uia
Playwright for the Windows desktop, from Bun — drive native GUIs via UI Automation + MCP.
Install
npx -y bun-uia@1.9.1
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "bun-uia",
"version": "1.9.1",
"runtimeHint": "bunx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Capability profile: 'readonly' (inspect/read only), 'safe' (read + input + window — default), or 'full' (also os + fs tools).",
"format": "string",
"default": "safe",
"name": "BUN_UIA_PROFILE"
},
{
"description": "Set 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.",
"format": "string",
"name": "BUN_UIA_OS"
},
{
"description": "Comma-separated tool names or categories to additionally allow on top of the profile.",
"format": "string",
"name": "BUN_UIA_ALLOW"
},
{
"description": "Comma-separated tool names or categories to deny, overriding the profile and BUN_UIA_ALLOW.",
"format": "string",
"name": "BUN_UIA_DENY"
},
{
"description": "Set 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.",
"format": "string",
"name": "BUN_UIA_CURSOR"
},
{
"description": "Sandbox root directory that read_file/write_file/list_dir are confined to when fs tools are enabled.",
"format": "string",
"name": "BUN_UIA_FS_ROOT"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment