UIAutomationMcp
UIAutomationMcp
Windows UI Automation ツールキットであり、3 つの整合したエントリポイントを備えています:
CLI (
uiamcp)MCP サーバー (
UIAutomationMcp.McpServer)VS Code 拡張機能 (
uia-mcp)
インストール
VS Code 拡張機能 (推奨) — マーケットプレイスで "UI Automation MCP" を検索するか、
UIAutomationMcp-<version>.vsix を 最新リリース から
インストールします。
自己完結型で、MCP サーバー、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 サーバーと 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.ComInteropsrc\UIAutomationMcp.Servicesrc\UIAutomationMcp.CLIsrc\UIAutomationMcp.McpServersrc\UIAutomationMcp.Smokevscode-extensionmcpb— 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関連ドキュメント
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.MIT
- FlicenseNot gradedqualityDmaintenanceEnables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.1
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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