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:
Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs — faster.
AutoHotkey is a free, open source macro-creation and automation software utility that allows users to automate repetitive tasks. It is driven by a custom scripting language that has special provision for defining keyboard shortcuts, otherwise known as hotkeys.
This is an offline installer. There are separate installers for web and offline installation.
If you intend to redistribute either of these installers in the setup for your own product or application,
we recommend that you choose the web installer because it is smaller and typically downloads faster. You
can download the web installer here. Wherever possible, Microsoft recommends you use the Web Installer in
lieu of the Offline Package for optimal efficiency and bandwidth requirements. The offline package can be
used in situations where the web installer cannot be used due to lack of internet connectivity. This
package is larger than the web installer and does not include the language packs. You can download and
install the language packs from here.
NuGet is the package manager for .NET. It enables developers to create, share, and consume useful .NET libraries. NuGet client tools provide the ability to produce and consume these libraries as "packages".
Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs — faster.
AutoHotkey is a free, open source macro-creation and automation software utility that allows users to automate repetitive tasks. It is driven by a custom scripting language that has special provision for defining keyboard shortcuts, otherwise known as hotkeys.
This is an offline installer. There are separate installers for web and offline installation.
If you intend to redistribute either of these installers in the setup for your own product or application,
we recommend that you choose the web installer because it is smaller and typically downloads faster. You
can download the web installer here. Wherever possible, Microsoft recommends you use the Web Installer in
lieu of the Offline Package for optimal efficiency and bandwidth requirements. The offline package can be
used in situations where the web installer cannot be used due to lack of internet connectivity. This
package is larger than the web installer and does not include the language packs. You can download and
install the language packs from here.
NuGet is the package manager for .NET. It enables developers to create, share, and consume useful .NET libraries. NuGet client tools provide the ability to produce and consume these libraries as "packages".
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required!
AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect. Features:
- Easy to learn BASIC-like syntax
- Simulate keystrokes and mouse movements
- Manipulate windows and processes
- Interact with all standard windows controls
- Scripts can be compiled into standalone executables
- Create Graphical User Interfaces (GUIs)
- COM support
- Regular expressions
- Directly call external DLL and Windows API functions
- Scriptable RunAs functions
- Detailed helpfile and large community-based support forums
- Compatible with Windows XP SP3 / 2003 SP2 / Vista / 2008 / Windows 7 / 2008 R2 / Windows 8 / 2012 R2
- Unicode and x64 support
- Digitally signed for peace of mind
- Works with Windows User Account Control (UAC)
AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required making it safe to use on Servers. Scripts can be compiled into stand-alone executables with Aut2Exe.
Also supplied is a combined COM and DLL version of AutoIt called AutoItX that allows you to add the unique features of AutoIt to your own favorite scripting or programming languages!
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required!
AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect. Features:
- Easy to learn BASIC-like syntax
- Simulate keystrokes and mouse movements
- Manipulate windows and processes
- Interact with all standard windows controls
- Scripts can be compiled into standalone executables
- Create Graphical User Interfaces (GUIs)
- COM support
- Regular expressions
- Directly call external DLL and Windows API functions
- Scriptable RunAs functions
- Detailed helpfile and large community-based support forums
- Compatible with Windows XP SP3 / 2003 SP2 / Vista / 2008 / Windows 7 / 2008 R2 / Windows 8 / 2012 R2
- Unicode and x64 support
- Digitally signed for peace of mind
- Works with Windows User Account Control (UAC)
AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required making it safe to use on Servers. Scripts can be compiled into stand-alone executables with Aut2Exe.
Also supplied is a combined COM and DLL version of AutoIt called AutoItX that allows you to add the unique features of AutoIt to your own favorite scripting or programming languages!
dnSpyEx is a unofficial continuation of the dnSpy project which is a debugger and .NET assembly editor. You can use
it to edit and debug assemblies even if you don''t have any source code available. Main features: Debug .NET and
Unity assemblies, Edit .NET and Unity assemblies, Light and dark themes.
dnSpyEx is a unofficial continuation of the dnSpy project which is a debugger and .NET assembly editor. You can use
it to edit and debug assemblies even if you don''t have any source code available. Main features: Debug .NET and
Unity assemblies, Edit .NET and Unity assemblies, Light and dark themes.
dnSpyEx is a unofficial continuation of the dnSpy project which is a debugger and .NET assembly editor. You can use
it to edit and debug assemblies even if you don''t have any source code available. Main features: Debug .NET and
Unity assemblies, Edit .NET and Unity assemblies, Light and dark themes.