Repository navigation
winuse 0.1.0
First release of winuse, an MCP server and CLI that lets an AI observe and operate Windows desktop apps.
Highlights
- MCP server over stdio (
winuse --mcp) with 48 tools: observe (screenshot, UI Automation tree, WebView2 DOM via Playwright over CDP), intent (act,find,check), input, element, window, wait, process, file, assert and scenario tools. - Scenario replay without AI (
winuse run,scenario_run): recorded locators resolve deterministically;--healre-groundsactsteps whose element is gone. - Two decision models: TypeSafe Jev (
JEV_API_KEY) or Cloudflare Clef on Workers AI (CLOUDFLARE_ACCOUNT_ID+CLOUDFLARE_API_TOKEN), chosen automatically or forced withWINUSE_DECISION_PROVIDER. - Visual grounding for windows without UI elements (VM consoles, emulators, VNC):
act/find/checkwork from a screenshot, returnpt{n}refs, and replay from a window-relative point (WINUSE_SCREENSHOTS,WINUSE_VISUAL_LOCATOR). winuse doctorreports the decision model, keys, endpoint, probe, UIA, WebView2 and the Playwright driver;winuse --versionprints the version.
Install
- Install the .NET 10 runtime (or SDK).
- Unzip
winuse-0.1.0-win-x64.zipinto a folder. - Register with Claude Code:
claude mcp add winuse -- <folder>\winuse.exe --mcp - Set
JEV_API_KEY, orCLOUDFLARE_ACCOUNT_IDandCLOUDFLARE_API_TOKEN, as user environment variables, then runwinuse doctor.
Known issues
type_textwith Japanese text can be garbled under the Japanese IME (intermittent, under investigation).- Clef and visual grounding are covered by unit tests with a fake model; they have not yet been exercised against a live Cloudflare account or a real VM window.
Full changelog: CHANGELOG.md