Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
MCP server for Windows desktop automation using FlaUI and UI Automation APIs
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Automate workflows.
Transcend MCP Server — Workflows tools.
Same catalog task: Automate workflows.
GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more
Same catalog task: Automate workflows.
Paid cron for AI agents: we call your https URL on schedule, signed. No account, paid with x402.
Fetched from the repository for this visit.
An MCP (Model Context Protocol) server that enables AI agents to automate Windows desktop applications using accessibility APIs - the same way Playwright automates browsers.
When Playwright's MCP server automates browsers, it provides:
browser_snapshot → Structured accessibility tree with element refsbrowser_click ref="..." → Click by ref, not coordinatesFlaUI-MCP brings the same pattern to Windows desktop apps:
windows_snapshot → Accessibility tree with refs like w1e5windows_click ref="w1e5" → Click element by refNo screenshot parsing. No coordinate guessing. Just semantic element references.
Agent: Calculate 3 × 3
1. windows_launch { "app": "calc.exe" }
→ Window handle: w1
2. windows_snapshot { "handle": "w1" }
→ - window "Calculator" [ref=w1]
- button "Three" [ref=w1e43]
- button "Multiply by" [ref=w1e35]
- button "Equals" [ref=w1e38]
- text "Display is 0" [ref=w1e15]
3. windows_batch { "actions": [
{"action": "click", "ref": "w1e43"},
{"action": "click", "ref": "w1e35"},
{"action": "click", "ref": "w1e43"},
{"action": "click", "ref": "w1e38"},
{"action": "snapshot", "handle": "w1"}
]}
→ 1. click: Invoked Three
2. click: Invoked Multiply by
3. click: Invoked Three
4. click: Invoked Equals
5. snapshot: ... "Display is 9" ...
Download the latest release from Releases and extract to a folder.
Choose the ZIP that matches your machine:
| Asset | Use when |
|---|---|
FlaUI-MCP-win-x64-*-self-contained.zip | 64-bit Windows, no .NET runtime required |
FlaUI-MCP-win-x64-*.zip | 64-bit Windows with .NET 8 Runtime already installed |
FlaUI-MCP-win-arm64-*-self-contained.zip | Windows on ARM64, no .NET runtime required |
FlaUI-MCP-win-arm64-*.zip | Windows on ARM64 with .NET 8 Runtime already installed |
Add to your MCP configuration (e.g., ~/.copilot/mcp-config.json):
{
"mcpServers": {
"windows": {
"type": "local",
"command": "C:\\path\\to\\FlaUI-MCP.exe",
"tools": ["*"]
}
}
}
Or using dotnet run:
{
"mcpServers": {
"windows": {
"type": "local",
"command": "dotnet",
"args": ["run", "--project", "C:\\path\\to\\src\\FlaUI.Mcp"]
}
}
}
| Tool | Description |
|---|---|
windows_launch | Launch a Windows application |
windows_snapshot | Get accessibility tree with element refs |
windows_click | Click an element by ref |
windows_type | Type text into an element |
windows_send_keys | Send key presses or key chords (for example Ctrl+A) |
windows_fill | Clear and fill a text field |
windows_get_text | Get text content of an element |
windows_screenshot | Capture window/element as PNG |
windows_list_windows | List all open windows |
windows_focus | Bring a window to foreground |
windows_close | Close a window |
windows_batch | Execute multiple actions in one call |
windows_snapshot accepts an optional maxDepth argument to include more or
fewer levels of the accessibility tree. It defaults to 10; windows_batch
snapshot actions accept the same argument.
windows_screenshot supports an optional background: true argument when a
window handle is provided. This uses native background capture when available
and falls back to the normal screenshot path if Windows returns a blank frame.
It can also save screenshots with savePath, which must be an absolute local
.png path. Existing files are not replaced unless overwrite: true is set.
Tool calls have a 30-second timeout so a blocked UI Automation provider or modal dialog returns an actionable error instead of hanging the MCP server forever.
Send a keyboard chord to a target element:
{
"ref": "w1e5",
"chord": "Ctrl+A"
}
Send a sequence of key presses or chords:
{
"keys": ["Ctrl+A", "Delete", "Enter"]
}
Capture a window using opt-in background capture:
{
"handle": "w1",
"background": true
}
Save a screenshot to disk without replacing existing files:
{
"handle": "w1",
"savePath": "C:\\Temp\\capture.png"
}
Replace an existing screenshot file explicitly:
{
"handle": "w1",
"savePath": "C:\\Temp\\capture.png",
"overwrite": true
}
windows_send_keys, the tool
focuses the supplied ref first when possible, but Windows still sends keys to
the active keyboard focus.windows_screenshot background: true is only valid with a window handle.
If native background capture returns a blank frame, FlaUI-MCP falls back to the
normal capture path.savePath accepts absolute local .png paths only. UNC paths, device paths,
non-PNG extensions, and existing files without overwrite: true are rejected.When you call windows_snapshot, you get a structured text tree:
- window "Calculator" [ref=w1e1]
- group "Number pad" [ref=w1e39]
- button "Seven" [ref=w1e47]
- button "Eight" [ref=w1e48]
- button "Nine" [ref=w1e49]
- text "Display is 0" [ref=w1e15]
This comes from Windows UI Automation - the same API screen readers use. Each element has:
| Approach | Pros | Cons |
|---|---|---|
| Accessibility Tree | Semantic, precise, fast, works at any resolution | Requires UI Automation support |
| Screenshot + Vision | Works with any app | Slow, expensive, imprecise, resolution-dependent |
FlaUI-MCP uses accessibility because it's what screen readers use - it's designed for programmatic UI interaction.
# Clone
git clone https://github.com/shanselman/FlaUI-MCP.git
cd FlaUI-MCP
# Build
dotnet build src/FlaUI.Mcp
# Run
dotnet run --project src/FlaUI.Mcp
# Unit tests
dotnet test tests\FlaUI.Mcp.Tests
# Desktop integration tests; requires an interactive Windows session
dotnet test tests\FlaUI.Mcp.IntegrationTests
┌─────────────────────────────────────────────────────────────────┐
│ AI Agent (GitHub Copilot, Claude, etc.) │
│ - Calls MCP tools: windows_snapshot, windows_click, etc. │
└─────────────────────────────────────────────────────────────────┘
│ MCP Protocol (JSON-RPC over stdio)
▼
┌─────────────────────────────────────────────────────────────────┐
│ FlaUI-MCP Server (.NET 8) │
│ - Implements MCP tool handlers │
│ - Builds agent-friendly accessibility snapshots │
│ - Maps element refs ↔ AutomationElements │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ FlaUI Library (github.com/FlaUI/FlaUI) │
│ - UIA3Automation for modern apps (WPF, UWP, Win32) │
│ - Control patterns: Invoke, Value, Toggle, Selection │
│ - Tree walking and element discovery │
└─────────────────────────────────────────────────────────────────┘
Works with any Windows application that supports UI Automation:
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Loading reviews...
GitHub checked 136h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.