Skip to main content
Glama
trsdn

UIAutomationMcp

by trsdn

UIAutomationMcp

License: MIT .NET Platform

Набор инструментов Windows UI Automation с тремя согласованными точками входа:

  • CLI (uiamcp)

  • MCP-сервер (UIAutomationMcp.McpServer)

  • Расширение VS Code (uia-mcp)

Установка

Расширение VS Code (рекомендуется) — найдите «UI Automation MCP» в Marketplace или установите файл UIAutomationMcp-<version>.vsix из последнего релиза. Расширение полностью автономно: включает MCP server, CLI и оба агентских навыка.

Claude Desktop — загрузите uia-mcp-<version>.mcpb из последнего релиза и дважды щёлкните по нему.

Инструменты NuGet для .NET

dotnet tool install --global UIAutomationMcp.McpServer   # MCP server -> uiamcp-server
dotnet tool install --global UIAutomationMcp.CLI         # CLI        -> uiamcp

Автономный ZIP-архив — файл UIAutomationMcp-MCP-Server-<version>-windows.zip содержит автономный MCP-server и CLI; среда выполнения .NET не требуется.

Требуется Windows и интерактивный сеанс рабочего стола. UI Automation не может работать в headless-режиме.

Related MCP server: uiautomation-mcp

Происхождения

Этот репозиторий — часть более широкой экосистемы MCP-автоматизации и намеренно сохраняет атрибуцию к более ранней работе Стефана Брённера.

Он также сохраняет историческую ссылку на Excel MCP как pinned как родственный проекта в рамках этой экосистемы, хотя сам этот репозиторий сосредоточен на Windows UI Automation.

Возможности

  • запускает типизированый клиент UI Automation через Interop.UIAutomationClient

  • считывает подробные метаданные корня рабочего стола and элемента в фокусе, включая рамки, run-time идentifyкторы и подготовленные паттерны

  • извlects элементы из нативных дескрипотров окн and экранных координат

  • ищет в деревьях UIA по имени, имени класса, automtion idientifier, framеwork id, типу элемента управления и идентфикатору процесса

  • перечисляет дочерние элементы текущего уровня из raw, control или content tree

  • перечисляет все дочерние элементы из raw, control или content представлений дерева

  • выполняет навигацию по дереву UIA с помощью walker-об?олотчиков raw, control и content responsibility

  • Gererates a complete requests requests построения кэша для инспекции, поиска и навигации

  • считывает состояния паттернов text, selection и key

  • ожидает события изменения фокуса, автоматизации, изменения свойства и изменения structure

  • выполняет типовые действия: focus, invoke, set-val, toggle, expand/collapse, selection, изменение состояния window, move/resize, scroll и обновления range-value

  • предоставляет ту же расширенную поверхность через CLI и MCP

  • включает в состав расширения VS Code CLI и MCP-сервер

Структура репозитория

  • src\UIAutomationMcp.ComInterop

  • src\UIAutomationMcp.Service

  • src\UIAutomationMcp.CLsIL

  • src\UIAutomationMcp.McpServer

  • src\UIAutomationMcp.Smoke

  • vscode-extension

  • mcpb — исходники бандла Claude Desktop и скрипт сборки

  • skills — агентские навыки для uia-cli и uia-mcp

Сборка и проверка

dotnet build .\UIAutomationMcp.sln -c Release
.\src\UIAutomationMcp.Smoke\bin\Release\net9.0-windows\UIAutomationMcp.Smoke.exe
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe inspect --root --cache
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe find --focused --scope children --max-results 10 --cache
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe children --focused --view raw --max-results 10
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe descendants --focused --view raw --max-results 25
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe wait-event --event-kind focus --timeout-ms 500
.\src\UIAutomationMcp.CLI\bin\Release\net9.0-windows\uiamcp.exe action focus --focused

Связанные документы

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
2dResponse time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to interact with Windows operating systems through native UI automation, file navigation, application control, and system commands. Provides seamless integration between LLMs and Windows environments for tasks like clicking, typing, launching apps, and capturing desktop state.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to inspect and automate Windows desktop UI elements by exploring UI trees, checking properties, performing actions like clicking and typing, and generating Python automation scripts.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.
    1

View all related MCP servers

Related MCP Connectors

  • MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trsdn/mcp-server-uiautomation'

If you have feedback or need assistance with the MCP directory API, please join our Discord server