Windows UI Automation toolkit with CLI, MCP server, and VS Code extension.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add uiautomationmcp -- dnx UIAutomationMcp.McpServer --yes~/.codex/config.toml
[mcp_servers.uiautomationmcp]
command = "dnx"
args = ["UIAutomationMcp.McpServer", "--yes"]
# codex mcp add uiautomationmcp -- dnx UIAutomationMcp.McpServer --yes~/.cursor/mcp.json
{
"mcpServers": {
"uiautomationmcp": {
"command": "dnx",
"args": [
"UIAutomationMcp.McpServer",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"uiautomationmcp": {
"type": "stdio",
"command": "dnx",
"args": [
"UIAutomationMcp.McpServer",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"uiautomationmcp": {
"command": "dnx",
"args": [
"UIAutomationMcp.McpServer",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"uiautomationmcp": {
"command": "dnx",
"args": [
"UIAutomationMcp.McpServer",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"uiautomationmcp": {
"command": "dnx",
"args": [
"UIAutomationMcp.McpServer",
"--yes"
]
}
}
}