Skip to main content
Glama
trsdn

UIAutomationMcp

by trsdn

UIAutomationMcp

License: MIT .NET Platform

Windows UI Automation ツールキットであり、3 つの整合したエントリポイントを備えています:

  • CLI (uiamcp)

  • MCP サーバー (UIAutomationMcp.McpServer)

  • VS Code 拡張機能 (uia-mcp)

インストール

VS Code 拡張機能 (推奨) — マーケットプレイスで "UI Automation MCP" を検索するか、 UIAutomationMcp-<version>.vsix最新リリース から インストールします。 自己完結型で、MCP サーバー、CLI、および両方のエージェントスキルをバンドルしています。

Claude Desktopuia-mcp-<version>.mcpb を最新リリースからダウンロードして、 ダブルクリックします。

NuGet .NET ツール

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

スタンドアロン ZIPUIAutomationMcp-MCP-Server-<version>-windows.zip には 自己完結型の MCP サーバーと CLI が含まれており、.NET ランタイムは不要です。

Windows と対話型デスクトップセッションが必要です。UI Automation はヘッドレスでは実行できません。

Related MCP server: uiautomation-mcp

系譜

このリポジトリは、より広範な MCP オートメーションの系譜に属しており、Stefan Brönner による以前の作業への帰属を意図的に保持しています。

また、このリポジトリ自体は Windows UI Automation に焦点を当てていますが、その系譜における関連する兄弟プロジェクトとして Excel MCP への歴史的な言及も保持しています。

機能

  • Interop.UIAutomationClient を通じて型付き UI Automation クライアントを起動します

  • 境界、ランタイム ID、サポートされているパターンなど、デスクトップルートとフォーカスされた要素のリッチなメタデータを読み取ります

  • ネイティブウィンドウハンドルと画面座標から要素を解決します

  • 名前、クラス名、オートメーション ID、フレームワーク ID、コントロールタイプ、プロセス ID で UIA ツリーを検索します

  • raw、control、content の各ツリービューから直接の子要素を列挙します

  • raw、control、content の各ツリービューから子孫要素を列挙します

  • raw、control、content のウォーカーを使用して UIA ツリーをナビゲートします

  • 検査、検索、ナビゲーションのためのビルドキャッシュ要求をサポートします

  • テキスト、選択、キーパターンの状態を読み取ります

  • フォーカス、オートメーション、プロパティ変更、構造変更の各イベントを待機します

  • フォーカス、呼び出し、値の設定、トグル、展開/折りたたみ、選択、ウィンドウ状態の変更、移動/サイズ変更、スクロール、範囲値の更新などの一般的なアクションを実行します

  • CLI と MCP を通じて同じ拡張サーフェスを公開します

  • CLI と MCP サーバーを VS Code 拡張機能内にパッケージ化します

リポジトリ構成

  • src\UIAutomationMcp.ComInterop

  • src\UIAutomationMcp.Service

  • src\UIAutomationMcp.CLI

  • src\UIAutomationMcp.McpServer

  • src\UIAutomationMcp.Smoke

  • vscode-extension

  • mcpb — Claude Desktop バンドルのソースとビルドスクリプト

  • skillsuia-cliuia-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