cd /news/ai-agents/show-hn-turbo-desktop-mcp-windows-ui… · home › topics › ai-agents › article
[ARTICLE · art-176687] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Turbo-Desktop-MCP – Windows UIA deltas for desktop agents

A developer released Turbo Desktop, an open-source project whose standalone MCP server (Python 3.12+) exposes 9 Windows UI Automation and OCR tools so AI coding agents can operate Windows 10/11 desktop applications without screenshot loops, working in Claude Code, Claude Desktop, Cursor or any stdio MCP client. The project pairs the server with a FastAPI control hub that enforces ECDSA P-256 request signing and RFC 6238 TOTP sessions, an Android client (dev.turbodesktop.remote, minSdk 29) for live supervision and approvals, and a Wake-on-LAN relay, with a non-configurable safety floor that blocks password fields and secret windows and lets the owner kill the agent via Ctrl+Alt+Shift+K or an Android STOP button.

key takeaway

Turbo Desktop's MCP server exposes 9 UIA and OCR tools (windows_list, inspect_compact, act, batch_actions, launch_app, wait_for, window_control, screenshot, system_state) that invoke UIA patterns before simulated input, so agents act on Windows apps without moving the cursor or stealing focus.

read5 min views3 publishedNov 26, 2026
Show HN: Turbo-Desktop-MCP – Windows UIA deltas for desktop agents
Image: Michielbdejong (auto-discovered)

Turbo Desktop lets an AI coding agent operate Windows 10/11 desktop applications through Windows UI Automation (UIA) rather than screenshot loops, while giving the PC owner live supervision, cryptographic per-action approvals, and an emergency kill switch from an Android phone.

The repository contains four components that work together or standalone:

Directory Component Description
desktop-mcp/ Standalone MCP server (Python 3.12+) Exposes 9 UIA + Windows OCR tools ( windows_list ,inspect_compact ,act ,batch_actions ,launch_app ,wait_for ,window_control ,screenshot ,system_state ). Works on its own in Claude Code, Claude Desktop, Cursor, or any stdio MCP client. Full guide:desktop-mcp/README.md .
hub/ Control hub (Python FastAPI) Runs on the PC ( 127.0.0.1 , LAN, or Tailscale; never0.0.0.0 ), manages headless agent runs (claude -p --output-format stream-json or pluggable CLI commands), enforces ECDSA P-256 request/event signing and RFC 6238 TOTP sessions, relays dangerous-action approvals and redacted live screen frames (/screen.jpg ), and hooks Claude Code'sPermissionRequest prompt. Full guide (Vietnamese):hub/README.md .
android/ Turbo Remote ( dev.turbodesktop.remote ) Kotlin + Jetpack Compose Android client ( minSdk 29 ). Pairs via local QR code using non-exportable Android Keystore EC P-256 keys (plain + biometric-gated), dispatches tasks, answers approval prompts with cropped control previews, views redacted desktop frames with native-pixel pinch-to-zoom, inspects the audit log, and triggers emergencySTOP .
relay/ Wake-on-LAN relay (Python stdlib) Lightweight signed HTTP listener for an always-on LAN device (such as a Raspberry Pi or rooted tablet) to send magic packets when the PC is powered off over Ethernet.
  1. windows_list enumerates top-level windows (w1 ,w2 , ...) while hiding secret windows and flagging elevated processes (elevated: true, actionable: false ).
  2. inspect_compact walks the UIA tree on a dedicated COM thread and formats one line per actionable control ([w1:e12] <Button> "Save" ), summarizing repeated sibling rows and supportingonlyChanged: true diffs (* added,~ changed,- removed). Custom-drawn windows with an empty UIA tree automatically fall back to Windows OCR (treeEmpty: true ,[w1:oN] click refs).
  3. act andbatch_actions invoke UIA patterns (Invoke ,Value ,SelectionItem ,Toggle ,ExpandCollapse ,Scroll ) first so the physical mouse cursor and window focus stay untouched (via: "pattern" ). When an app requires simulated mouse or keyboard input (via: "input" ),desktop-mcp waits until the owner has been idle for 5 seconds, s physical input with low-level hooks for that step (or the whole remote task), lights an orange border around every monitor, and restores focus afterwards.
  4. All screen-derived text is wrapped in <<<SCREEN_CONTENT ...>>> boundaries so text inside untrusted documents or windows is marked as data.

Turbo Desktop ships three presets (easy, balanced, strict, configured in turbo-desktop.toml), all sharing a non-configurable floor:

  • Immediate STOP and owner takeover:Ctrl+Alt+Shift+K on the PC or the redSTOP button in the Android app kills the agent job object and blocks every tool call until resumed. PressingEsc three times within 1.5 s releases the physical input lock immediately (owner_took_over: true ).
  • Secret-window and password floor: UIA IsPassword fields are never read or typed (except via$secret:NAME local placeholders). Windows matching secret title patterns (.env ,credentials ,.pem ,.kdbx ,password ,api key , password managers) and owner-approval dialogs (Claude Code needs approval ,Credential Dialog Xaml Host ) are denied acrossinspect_compact ,act ,screenshot , and OCR, and blacked out inGET /screen.jpg .
  • Signed remote protocol: non-localhost requests require an ECDSA P-256 signature over METHOD\nPATH?QUERY\nSHA256(body)\nTS\nNONCE within a 60 s window, replay-checked nonces, and an active session (with single-use TOTP + biometric signature inbalanced /strict ). Hub responses and SSE events are signed by the hub's pinned P-256 key so the phone rejects spoofed endpoints. Pairing and admin routes reject proxy and tunnel headers.
  • Hash-chained audit logs: both desktop-mcp andhub record every tool call, rule match, and approval decision in append-only JSONL chained with SHA-256 (python -m turbo_hub verify-audit ).
cd desktop-mcp
python -m venv .venv
.venv\Scripts\python -m pip install -e .
claude mcp add turbo-desktop -e PYTHONPATH="$PWD\src" -e PYTHONUTF8=1 -- "$PWD\.venv\Scripts\python.exe" -m turbo_desktop
cd hub
python -m venv .venv
.venv\Scripts\pip install -r requirements.txt
.venv\Scripts\python -m turbo_hub setup
.venv\Scripts\python -m turbo_hub serve

In a second terminal, pair the Android app (android\app\build\outputs\apk\release\app-release.apk):

hub\.venv\Scripts\python.exe -m turbo_hub pair

Tests use isolated C# WinForms/WPF fixture apps (desktop-mcp/tests/fixtures/*.cs), acquire a shared %TEMP%\turbo-desktop-test.lock so suites never collide, and default to TURBO_DESKTOP_NO_INPUT=1 so your mouse, keyboard, and open windows are never touched during test runs:

desktop-mcp\.venv\Scripts\python.exe -m pytest desktop-mcp\tests -q

hub\.venv\Scripts\python.exe -m pytest hub\tests -q
hub\.venv\Scripts\python.exe -m pytest relay\tests -q

cd android
.\gradlew.bat :app:testDebugUnitTest :app:assembleRelease

Field validation (FIELD_REPORT.md and desktop-mcp/FIELD_REPORT.md, 20 Nov 2026): 29/30 desktop field tasks passed (UWP CalculatorApp.exe inside exebox desktop isolation is the single known skip), alongside full Android 16 emulator E2E verification of pairing, TOTP session start, strict approval allow/deny, STOP, Esc x3 takeover, TCP-proxy network drop reconciliation, and hub restart recovery.

  • Elevated windows (elevated: true ), UAC prompts, and the Windows lock screen cannot be driven from a non-admin process due to Windows UIPI and the secure desktop.
  • Calling UIA Invoke on a WinFormsToolStripMenuItem that opens a modal dialog blocks inside the target app's modal loop;act returns after 2.5 s withpending: true and marks the processblocked: true until the modal closes. Prefer keyboard shortcuts such asCtrl+S for menu items that open modal dialogs.
  • Windows DPAPI (CurrentUser ) protects stored hub keys against file copying to another machine, not against malware running under the same Windows user account.
  • Wake-on-LAN requires wired Ethernet, BIOS/NIC magic-packet support, and an always-on device on the same LAN running relay/wol_relay.py .
── more in #ai-agents 4 stories · sorted by recency
── more on @turbo desktop 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-turbo-deskto…] indexed:0 read:5min 2026-11-26 · —