Repository navigation
Releases
v4.2.0
SHA-256 checksums
ec86d28014efa353162c89f236981479ac6391779429254b29d271681f845723 helmsman-v4.2.0-win-x64.zip
294dba66cbc855317c8d42c34a5475f9f9d1ab2d381ba180d77880d90da391e9 helmsman.exe
f1d7bdf747068fe69f2fe7e215131024b854af0d5d55d240edd4ff0fb6346771 helmsman.pdb
The same lines are in SHA256SUMS.txt, and the zip and helmsman.exe have a build provenance attestation: see Verify a download. The exe is not code-signed.
Full Changelog: v4.1.0...v4.2.0
v4.1.0
SHA-256 checksums
22e313c7eb15cb8b85eda6dae4293368b4ec51260a63fa9327adbb749ef17c2b helmsman-v4.1.0-win-x64.zip
3868bd2de0d1e6319a3f96230c201f9aeecd8d81f348861438c7db6315fb62ad helmsman.exe
6f8f18858d52ee10420fab12b353bad4e723b0514f2a62e1fba437bc81b5427e helmsman.pdb
The same lines are in SHA256SUMS.txt, and the zip and helmsman.exe have a build provenance attestation: see Verify a download. The exe is not code-signed.
Full Changelog: v4.0.0...v4.1.0
v4.0.0
v3.2.0
Windows App Manager MCP 3.2.0 answers GitHub issues #8 to #18. Window listings now name each window's monitor and the snap zone it fills, wait_for_window can wait on a set of windows, get_desktop_state and get_foreground_window say whether the session is locked, and captures say which windows kept themselves out of the image. One result field can now be left out (monitorIndex, when the monitor cannot be read), and a few calls answer differently; each change is listed in Changes for existing clients.
The release still needs the .NET 10 Desktop Runtime (x64).
New
- Window rows name their monitor and zone (#12).
find_windows,get_window_info,get_foreground_window, the launch results andwait_for_windowaddmonitorId, the idget_monitorsgives the monitor.- They also add
zone: thesnap_windowposition the window fills (left_half,fullscreen, ...;monitorfor the whole monitor). - A window across two monitors has
spansMonitors: true. - So "did the window land on display 2, filling it?" is one read.
- Where a minimized window comes back to (#12).
get_window_infowithdetail: "full"addsrestore(state, bounds and monitor). A minimized window'smonitorIndexis the monitor it restores to; the docs now say so. find_windowstakesincludeMinimized(#16).falseleaves minimized windows out, often most of a listing.wait_for_windowwaits on a set of windows (#14).- New conditions
minimizedandmaximized. all: true, for every window that counts: "all restored" isallwithvisible.count{atLeast, exactly, atMost}for how many windows are open.- With
allorcount,stableMsneeds the same windows. - The result lists the set, up to 20 windows, each with its state, frame, monitor and zone. A timeout lists the last set seen.
- New conditions
- The session lock (#18).
get_desktop_stateandget_foreground_windowreportsessionLock:locked,unlockedorunknown. Judge a lock by it, not by the window in front, which may be the lock screen app or none.get_desktop_state's foreground addsisCloaked, andget_control_statussays when the session is locked. - Windows that keep out of captures (#17).
- Screenshots, region captures, OCR and
wait_for_visuallist inexcludedFromCapturethe windows in the area that ask Windows to leave them out of captures. Toasts and overlays often do; such a window is not in the image. - Capturing such a window itself warns
DisplayAffinity: the image may be black, empty or show what is behind it. get_window_infofulladdsdisplayAffinity.- Captures taken while the session is locked warn
SessionLocked(orDesktopUnavailable).
- Screenshots, region captures, OCR and
DeadKeyPressed(#8).press_keysandsend_keyswarn when a chord presses a dead key of the window's layout (alt+shift+\on a Norwegian keyboard), since its accent may wait and change the next key typed.
Fixed
run_stepskeeps a step's warnings (#9, #10). Anokstep whose result is left out now keeps itswarnings, so a key step in the middle of a run says when its chord may not reach the app.- A
send_keysorpress_keyscall that stopped part way (#9) reportssentAsCharacters,resolvedChordsand the warnings for the keys that went out. save_workspacekeeps every tab of a browser started with a debug port, as documented, instead of only the page it shows.restore_workspacereads such a window's page the same way when it checks whether a workspace is already open.- A window whose monitor cannot be read is no longer taken as being on monitor 0.
snap_windowwithoutmonitorsnapped it there, and now fails withMoveFailed.move_window_to_monitorcould report a move to monitor 0 as done; it now fails instead.
get_server_info's lock warning no longer says captures fail while the session is locked. They are not refused, and may show the lock screen.
Changed
- Breaking:
monitorIndexon window rows and the geometry results is left out when the monitor cannot be read. It used to read 0.- The same holds for
monitoronget_desktop_state's rows.
wait_for_window:- It lists up to 20 candidates (5 before).
- An
existstimeout now returns the windows that appeared but did not stay. - With
allorcount,windowis left out andcandidateslists the set.
NoForegroundWindow's message says whether the session is locked. The error code is unchanged.- OCR and
wait_for_visualcount a window excluded from capture as see-through when they mask denied windows. - The input-method
SystemHotkeywarning says Windows "may" take the chord. - The tool list grows a little: the default tool list is about 56,400 tokens (about 56,000 in 3.1.0); all 78 tools are about 66,500.
Docs and skill
- Check the Taskbar (#15): read or wait on the taskbars' app buttons in one call, by their language-independent
Appid: <AUMID>AutomationId. - Same-titled browser windows (#13): call
get_browser_urlwith each handle; the calls can be sent in parallel. - Multi-window waits in the skill's waiting.md.
- Error codes (#11): every error code the skill names has an entry, and tests keep the safety rules and the stop codes in
SKILL.md.
Upgrading
monitorIndexandmonitormay be absent. If you read them from window rows, the geometry results orget_desktop_state's rows, allow them to be left out. That happens only when the monitor cannot be read, as while displays change.- New shape of
wait_for_window's result. If you parse itscandidates, expect up to 20 entries withstate,visibleBounds,monitorIndex,monitorIdandzone. Withallorcount, readcandidatesandmatchCount, notwindow. - Monitor failures are reported. If a script relied on
snap_windowormove_window_to_monitorsucceeding while the monitor could not be read, it now getsMoveFailed.
See Changes for existing clients for the full list.
Full Changelog: v3.1.0...v3.2.0
v3.1.0
Windows App Manager MCP 3.1.0 fixes what a full code review of 3.0.0 found, and GitHub issues #8 to #11. Most of the fixes close a way around one of the server's safety rules, so a few calls that 3.0.0 accepted are now refused; each one is listed in Changes for existing clients. A client that followed the documented contract keeps working.
The release still needs the .NET 10 Desktop Runtime (x64).
New
press_keysandsend_keyssay how the keys went out (#9, #10).sentAsCharacterslists what was sent as a character without its key, with the warningSentAsCharacter;KeyboardLayoutUnknownsays the window's layout could not be read.press_keys'resolvedChordsshows a chord as pressed on the active layout (ctrl+=isctrl+shift+0on a Norwegian keyboard), andSystemHotkeywarns when Windows' input-method or language-switch hotkeys take that chord before any app sees it.- Physical key names for
press_keys:oem_plus,oem_minus,oem_comma,oem_period,oem_1tooem_8,oem_102,abnt_c1andabnt_c2press the key at that place on any layout (#8). scrolltakesmodifiers(#8), asmouse_clickdoes: Ctrl+wheel to zoom, Shift+wheel to scroll sideways.list_layoutslists layout files it cannot read, with the file and the reason (InvalidPresetFile), instead of leaving them out without a word.
Safety fixes
run_stepsstays in its window when a step's handle is written as a string ("windowHandle": "123"), and the audit log records the target of such calls.- The tab a browser window shows is told by its page's visibility, read where the page cannot change it, never by the longest title, so a background tab titled like the window cannot take the place of the shown one. Every DevTools connection is checked again against the browser's process.
- Keys: a spelled-out left Ctrl and right Alt count as Ctrl+Alt in every chord check;
send_keysis limited to 5,000 keys and 10 seconds of waits, and goes in rechecked batches;type_textrefuses text whose keys would press the user's pause hotkey; key-ups carry their scan codes. - Processes:
kill_processprotects ApplicationFrameHost;launch_applicationrefuses Chromium, Electron and VS Code switches that run a command, load code or open remote control (UnsafeChromiumSwitch); an unreadable process tree is reported (ProcessTreeUnreadable) instead of being taken as "not the host". - Captures:
zoomis held to the 64-megapixel budget; denied windows are left out of a window that refuses PrintWindow. - UI Automation: an element of a denied app embedded in an allowed window (a WebView2, a preview pane) is refused or left out of every read and search.
- Dialogs: a press through an app window goes only to the modal dialog that disables it;
file_dialoganswers a replace prompt only when it names the file in full. - The pause: a server that cannot read the pause it shares with the other servers pauses itself, and every message says so instead of claiming the user pressed the hotkey.
Changed
- Objects inside the arguments refuse members they do not take (run_steps' steps, batch items, a launch's
boundsandexpectWindow), and a missing coordinate is refused instead of taken as 0. launch_browser_with_debug'surlis held to whatbrowser_navigateopens: nofile:,data:or schemeless addresses.get_monitorsleaves outdpiandscaleFactorwhen Windows cannot report them, andprimaryIndexwhen no monitor is primary.- Argument errors name their place in the arguments, never a .NET type, and end "Nothing was done."
Skill
The plugin's skill is split (#11): SKILL.md is a 22 KB core (it was 102 KB) with the safety rules, the loop and the codes that mean stop, and it points to reference files (browser, dialogs, input, layouts and monitors, lists, screens and OCR, errors, workflows, tools) that the agent reads when a task needs them.
Upgrading
- If a script sends
argumentsinstead ofargsin a run_steps step, or other members a nested object does not take, fix the name: such a call is now refused. - If you launch a debug browser on a
file:ordata:page, serve the page fromhttp://127.0.0.1instead. - If you read
get_monitors'dpi,scaleFactororprimaryIndex, allow them to be absent.
See Changes for existing clients for the full list.
v3.0.0
Windows App Manager MCP 3.0.0 is a breaking release. It finishes the clean-up that 2.2.0 announced: tools that another tool replaced are gone, every tool names a monitor one way, and get_ui_elements returns its compact text by default. Nothing new is added. A client that already uses the replacements keeps working; check the list below if your prompts, scripts or settings still name an old tool or monitorIndex.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.5.0 does.
Breaking
Nine tools removed
They had been off by default since 2.2.0, in the opt-in deprecated toolset, which is removed too.
| Removed tool | Use instead |
|---|---|
click |
mouse_click |
right_click |
mouse_click with button: "secondary" |
double_click |
mouse_click with clickCount: 2 |
move_window |
set_window_bounds with x and y |
resize_window |
set_window_bounds with width and height |
get_all_windows |
find_windows with no filter |
get_primary_monitor |
get_monitors (the monitor with isPrimary) |
list_screens |
get_monitors (its virtualScreen) |
get_active_browser_url |
get_browser_url with window: {"foreground": true} |
- A call to a removed tool fails with the new error code
ToolRemoved, and the error names the tool to call instead. Nothing is done, and the call is never passed on to the replacement. - Old settings still work.
WAM_EXCLUDE_TOOLSthat names a removed tool ordeprecatedis accepted; the tool is gone anyway. InWAM_TOOLSETS,+deprecatedand-deprecatedare ignored with a warning inget_server_info.deprecatedalone still serves only theservertoolset, as an unknown name always did, because the default would serve more than you asked for.
monitorIndex removed
Pass monitor instead: it takes the index, or a name such as "primary", "left", "right" or a monitor id from get_monitors.
- Where:
take_screenshot,snap_window,move_window_to_monitor,read_screen_text,find_text_on_screen,wait_for_visual, theplacementoflaunch_application,launch_applications_batchandlaunch_browser_with_debug, and the items ofsnap_windows_batch. - A call that still passes it fails with
InvalidArguments, and the error says to usemonitor. A placement or batch item with a field it doesn't take is refused the same way, so a window never lands on another monitor than you meant. move_window_to_monitornow requiresmonitor.- Unchanged: results still report the window's
monitorIndex, and layout files keep theirs.
Changed
get_ui_elementsreturns text by default: one compact line per element, such asw4120035e17 Button 'Save' aid=SaveBtn @812,44 80x24. A typical window costs about 2,500 tokens instead of about 6,000. Passformat: "tree"for the JSON tree, or"flat"for the flat list.- Smaller tool list: about 65,700 tokens for all 78 tools (it was about 70,900 for 87). The default tool list keeps its 62 tools.
Upgrading
- Search your prompts, scripts and agent instructions for the nine tool names and
monitorIndex, and switch to the replacements above. - If you read
get_ui_elements'elements, addformat: "tree". - Remove
deprecatedfromWAM_TOOLSETS(optional; it's ignored).
See Removed and moved tools for details.
v2.6.0
Windows App Manager MCP 2.6.0 adds workspaces. A workspace is a saved window layout that also remembers what your File Explorer and browser windows showed, so "restore my morning workspace" reopens the folders and pages too, not just the window positions. This completes the M7 milestone.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.5.0 does.
New
Workspaces (toolset workspaces, off by default)
Turn the toolset on with WAM_TOOLSETS (for example +workspaces). The default tool list is unchanged.
save_workspace saves the open windows as save_layout does, with the same filters. It also saves:
- File Explorer windows: each window's folder.
- Browser windows: each window's pages. That is every tab of the window when the browser has a debug port, otherwise only the page it shows (counted in
partialBrowsers). - What is kept:
- Only http and https pages are kept.
- User names, passwords and query values that look like secrets are removed, in the query, the fragment and a hash route's query. These are names containing token, secret, password, session, credential, apikey, signature, csrf, oauth and the like, plus code, key, auth, sig, state and ticket.
- Private windows (InPrivate, Incognito, Private Browsing) keep no pages.
- Apps your target policy denies keep no content.
- Program arguments are never kept.
restore_workspace brings a workspace back, best effort:
- It opens each folder and browser window that isn't open already. Folders open in File Explorer, and pages open in a new window of the same browser (Chrome, Edge, Brave, Vivaldi, Opera, Chromium or Firefox).
- It then arranges the windows as
apply_layoutwithlaunchMissingdoes, starting programs that are missing.
opened reports what each window needed, and dryRun reports both steps and changes nothing. Restoring twice opens no second window, because a browser window that shows one of the saved pages counts as open.
A workspace is a layout preset with an extra content per window. list_layouts, get_layout and apply_layout work on it, and older servers read it as a plain layout.
Safety
- Presets written by an agent:
restore_workspacerefuses them withLaunchNotConfirmed;apply_layoutasks the user before it starts anything for them. - What a restore opens: only folders (by their full path, in File Explorer) and web pages (in the browser the window was). Pages read from the file are cleaned again before they open.
- When File Explorer doesn't answer: saving keeps no folders and says so; a restore opens none rather than risk duplicates.
- Gate and audit: a restore takes the input gate, stops while input is paused, and is recorded in the audit log with what it opened.
Best effort
Some things can't come back exactly:
- apps that keep a single window;
- a browser without a debug port (only its shown page);
- pages that need a sign-in;
- a secret that sits in the page's path itself.
Checks
- Automated: all unit and contract tests pass, about 10,670. They cover saving, restoring, the refusals and the URL cleaning.
- On a real desktop: the File Explorer folder read was tested. A test opened its own temporary folder, the server reported that window and folder, and the test closed only that window.
- Not yet run: a full restore on a real desktop.
v2.5.0
Windows App Manager MCP 2.5.0 improves screenshots in two ways:
- Windows that captured as a black image now come out right, through Windows.Graphics.Capture.
- Captures can show the mouse pointer and a coordinate grid, and small regions can be zoomed.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.4.0 does.
New and changed
Windows that captured black
Some windows used to capture as a black or single-color image: windows drawn by the GPU, DirectComposition, WinUI and UWP (Store) apps. When that happens, capture_window and capture_with_elements now capture the window again the way the desktop compositor shows it, through Windows.Graphics.Capture. The new image is used when it isn't a single color too. Such captures report captureMethod: "WindowsGraphicsCapture".
- Windows that don't respond: they're now captured as the compositor last showed them, without the windows that cover them. Before, they were copied from the screen. Where Windows.Graphics.Capture isn't available, the screen copy is still used.
- New parameter
captureMethod:auto(the default, described above),printwindow(the old behavior),wgc(only Windows.Graphics.Capture;CaptureFailedwith the reason when it can't) orscreen(a copy of the screen, covering windows included). - The OCR tools: they read windows the
autoway too.wait_for_visualis unchanged. - Yellow border: on Windows 10, Windows draws a yellow border around a window for the moment of a Windows.Graphics.Capture capture. On Windows 11 the server turns it off where Windows allows it.
The pointer, a coordinate grid and zoom
These apply to take_screenshot, capture_region and capture_window:
cursorin every result: where the mouse pointer was. It also hashidden: truewhen the pointer was hidden, anddrawn: truewhen it was drawn into the image.includeCursor: true: draws the pointer into the image. Nothing ever moves the pointer.gridSpacing(20-10000 screen pixels): draws lines at multiples of that value in screen coordinates, labeled along the top and left edges. An agent can then read a point's screen position straight off the image. A grid too dense for the scaled image is drawn wider, with the warningGridWidened.zoom(1-4,capture_regiononly): enlarges a small region to read small text or controls. Clicks on a point of the zoomed image, throughcaptureIdorimageToScreen, still land on the right screen point.
A zoom or gridSpacing value out of range is InvalidImageSize. The default tool list grows by about 500 tokens in all.
Checks
- Automated: all unit and contract tests pass, about 10,600.
- On a real desktop:
- Windows.Graphics.Capture captured a test window at the same place and size as PrintWindow, with matching pixels, with and without the frame.
- A capture with
includeCursordrew the pointer into the image where it was.
v2.4.0
Windows App Manager MCP 2.4.0 adds a window event journal. In one cheap call, an agent can now ask what happened to the desktop's windows since an earlier call: did a dialog pop up, did the focus move, did a title change? Popups that are already gone again are included.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.3.0 does.
New
get_window_events
A new read-only tool in the default-on windows toolset. 62 tools are now served by default.
It returns the events since an earlier call, oldest first:
shown: a dialog, popup, menu or new window appeared;hidden;destroyed: a window closed;foreground: which window came to the front;titleChanged;minimizedandrestored.
Each event has seq, at, type, handle, title, className (#32770 is a standard dialog), processName, processId and ownerHandle (a dialog's main window).
Typical use:
- Call it once before an action, and keep
nextSeq. - After the action, call it with
sinceSeqset to that value. The result lists everything that came up or went in between, with a newnextSeqfor next time.
Options and fields:
- Filters:
types,processNameandhandle. limitcaps the events per call (1-200, default 50).more: truemeans there are more: call again withnextSeq.missedcounts events that are no longer held. The journal keeps the last 1,024.
How it records:
- Recording on demand: the first call starts the recording (
startedNow: true), and it stops after 10 minutes without a call. It uses the same window events aswait_for_window, so a session that never calls it keeps no hooks installed. - What counts: only top-level windows of other processes.
- Left out: tooltips, shadows and input-method windows, and the title changes of the agent's own terminal.
- Popups that close quickly: each window is read the moment its event arrives, so a popup that closes a moment later is still recorded, with what it was.
The server's instructions to agents now mention get_window_events. To keep them under 3,000 characters, wait_for_window's line is a little shorter.
Checks
- Automated: all unit and contract tests pass, about 10,560.
- Desktop:
- The new desktop test passed: the journal recorded a real window being minimized and restored, with its title, class and process.
- The existing
wait_for_windowdesktop tests still pass. - The desktop test for 2.3.0's takeover detection also passed: Windows installs the hooks, and the server's own typing never stops an operation. That was the one check 2.3.0 shipped without.
v2.3.0
Windows App Manager MCP 2.3.0 adds two features from the M7 milestone:
- Virtual desktops: listings mark windows that are on another virtual desktop.
- Takeover detection: an opt-in safeguard stops long typing, dragging and step runs when you take the keyboard or mouse.
Nothing changes for existing clients unless you turn takeover detection on.
The release still needs the .NET 10 Desktop Runtime (x64), as 2.2.x does.
New
Takeover detection (opt-in)
Set the environment variable WAM_TAKEOVER_DETECTION in the server's configuration. It is off by default.
stop: if you use the keyboard or mouse while the agent is busy, the operation stops. This coverstype_text's typing, adrag(from the press to the drop) andrun_steps.- The result has the new error code
UserInterrupted(run_steps:stoppedBy: "userInterrupted") and says how far it got. - Held keys and buttons are released.
- A drag goes back to its start point and releases there, so nothing is dropped under your pointer.
- The agent is told not to retry and to ask you first.
- The result has the new error code
warn: the operation finishes, and its result has awarningsaying you used the keyboard or mouse meanwhile.dragandrun_stepsresults now have awarningfield.
How it works:
- What it watches: low-level keyboard and mouse hooks are installed only while one of these operations runs, and removed afterwards.
- What counts: a key, button or wheel going down, or a deliberate mouse movement (4 moves within 300 ms). Releasing a key does not count, so letting go of the Enter that sent your prompt does not stop the agent. Input injected by any program never counts, including the server's own typing.
- What is kept: only whether you did something, never which key or where the pointer was.
- Status:
get_control_statusreports the mode and whether the hooks work (takeover).
The pause hotkey (Ctrl+Alt+Shift+Pause) is still the main way to stop the agent. If you press it while a watched operation runs, the result is PausedByUser, not UserInterrupted.
Windows on other virtual desktops
- Listings:
find_windowsandget_window_info(standard,full) now mark a hidden window that is on another virtual desktop withisOnOtherDesktop: true. - Refusals: when
focus_windowor the capture tools refuse such a window withCloaked, the message now says which case it is: another virtual desktop, a suspended Store app's frame, or unknown. Activating a window on another desktop would switch your desktop, which the server never does. - No new tools or parameters.
includeCloakedstill widens a listing beyond the current desktop. The server only reads which desktop a window is on: it never switches desktops or moves windows between them.
Checks
- Automated: all unit and contract tests pass, about 10,500 in all, 48 of them new.
- Not yet run on a real desktop:
- the new desktop test for takeover detection (it checks that the real hooks install and that the server's own typing never counts);
- isOnOtherDesktop with a second virtual desktop.