UIAutomationMCP is a high-performance MCP server that provides Windows UI Automation capabilities.
Features include:
- Native AOT compilation for ultra-fast startup (~400ms)
- Hybrid architecture: AOT server with framework-dependent workers
- Full Windows UI Automation API support
- Element search, interaction, and monitoring capabilities
- Process isolation for stability and security
- JSON-UTF8 based IPC for optimal performance and internationalization
Note: Requires .NET 9 Desktop Runtime for worker processes
UIAutomation MCP Server is an MCP server designed to provide comprehensive Windows UI Automation capabilities. It features native AOT compilation for fast startup, hybrid architecture combining AOT and framework-dependent workers, full support for Windows UI Automation APIs, element search and interaction, process isolation for stability, and JSON-UTF8 IPC for optimal performance. Ideal for developers and testers needing programmatic access to Windows applications, it enables automation tasks, accessibility tools, and application integration. The server can be installed via winget for ease of use.
README
UIAutomation MCP
Project Overview
UIAutomation MCP is a Windows UI Automation server that implements the Model Context Protocol (MCP), enabling AI assistants and other applications to interact with Windows desktop applications programmatically. This server provides comprehensive access to Windows UI Automation capabilities through a standardized protocol interface.
Key Features:
Complete UI Automation Access: Interact with any Windows application that supports UI Automation
Microsoft Learn Compliant: Follows official Microsoft guidelines for UI Automation control patterns
Native AOT Performance: Optimized for fast startup and low memory usage
Multi-Process Architecture: Secure separation between MCP protocol handling and UI operations
Comprehensive Control Support: Buttons, text fields, lists, grids, and all standard Windows controls
Use Cases:
Automated testing of Windows applications
AI-powered desktop automation
Accessibility tool development
Application integration and workflow automation
Installation & Setup
Prerequisites
Windows 10/11 (UI Automation requires Windows)
.NET 9.0 Runtime (automatically installed with winget)
Install via Winget
> Note: The winget package Locomorange.UIAutomationMCP may not be available yet. If you encounter an error, please check the GitHub releases page for manual installation instructions or verify the package name once published.
# Install UIAutomation MCP server
winget install Locomorange.UIAutomationMCP
MCP Server Configuration
Add the UIAutomation MCP server to your MCP client configuration. For most MCP clients, add this to your MCP settings JSON file: