1. Conduid
  2. Automation
  3. Dsh Computer Use Win
MCP server · Automation

Dsh Computer Use Win

DeepSeek Harness的Windows电脑操控插件 / Windows computer use for DeepSeek Harness

86Strong

Scored 20 hours ago · breakdown

About Dsh Computer Use Win

Dsh Computer Use Win is an MCP server published by Yu-tao-Li in the Automation category: deepSeek Harness的Windows电脑操控插件 / Windows computer use for DeepSeek Harness. Conduid read 25 tools from its source: windows_computer_use_accessibility_tree, windows_computer_use_activate_window, windows_computer_use_batch, windows_computer_use_click, windows_computer_use_close_window, windows_computer_use_double_click and 19 more. It is published to npm as dsh-computer-use-win and starts with npx.

The repository has 989 stars and 28 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.6.5 (29 Nov 2026): 0.6.5 处理五个反馈:桌面操控和浏览器操控可以分开开关,也能只管当前对话;“虚拟机”新增 Windows 沙盒;远程 Windows 更容易配置;可以在本机识别没有文字的图标按钮(实验);高缩放下后台截图不再偏位。设置页也重新排了版,工具加载默认改回“全部”。… It follows v0.6.4 (25 Nov 2026), and the 5 most recent releases go back to v0.6.1 (18 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include computer-use, desktop-automation, dsh-plugin, uia and windows.

Install

Claude Code
claude mcp add dsh-computer-use-win -- npx -y dsh-computer-use-win
npx
npx -y dsh-computer-use-win
From source
git clone https://github.com/Yu-tao-Li/dsh-computer-use-win

Tools (25)

windows_computer_use_accessibility_treeRead the UI Automation tree without taking a screenshot.
ParameterTypeDescription
maxDepthintegerLevels below the root. In window-scoped trees, unnamed browser layout panes (Chromium: Electron, Chrome/Edge, CEF, WebView2; Gecko: Firefox and its forks) do not count, so page content stays within the default depth. UIA tree and snapshot results report countedDepth (depth used for maxDepth) and structuralDepth (actual levels) before output reductions. To check whether something changed, use find on that control or wait_for rather than reading the whole tree again.
maxNodesinteger
scopestring
treeDeltaBasestringTree delta for re-reading one window. 'start' returns the tree plus a treeId; that treeId on a later read of the same window, with the same view and detail, returns only the controls added, removed and changed (delta) and a new treeId, or the whole tree with delta.fallback saying why. Not related to observationToken.
windows_computer_use_activate_windowBring a top-level window to the foreground by title substring, process id, or native HWND. A minimized window is restored first; the result then says restored:true, and window describes the window after the call. If Windows leaves it minimized, activated is false and a warning says so. This tool always activates its target; the shared activate flag cannot suppress it. With browserTab, bring that tab to the front of its browser window.
windows_computer_use_batchRun 1–20 already-planned actions on one explicit window or browserTab, in order, then observe once. Each action retains its normal validation, enabled-tool checks, stop and input guards. Stops before the next action on error, uncertain dispatch, navigation, a dialog or new window; such a change after the last action completes the plan and is reported as afterLastStep. Do not batch a decision that depends on unseen output. Never send scripts; steps are action names and their usual arguments. Alternatively use testCase for saved workflows (固定工作流): list/show local Markdown cases, save a completed flow without repeating its actions (verifies the final expectation), or run one by name on a fresh explicit target. Save steps by exact name/controlType, ending in expect. Native expectText explicitly uses OCR. Supply set_value parameters only at run time.
ParameterTypeDescription
stepsarray
testCaseany
timeoutMsinteger
windows_computer_use_clickClick a screen coordinate or the center of a UI Automation element. dispatch:'auto' (default) = a left click on an element runs in the background (BM_CLICK on a Win32 button, else its UIA Invoke/Toggle pattern); a coordinate click is real SendInput input: the target comes forward for it, a point that shows another window is refused (POINT_COVERED), then the pointer and the foreground go back; dispatch:'background' = PostMessage into the target window's queue (no foreground steal, delivery unverified — Chromium/Electron/UWP may drop it, then retry with foreground); dispatch:'foreground' = always foreground SendInput. With an explicit observationToken, desktop coordinates compensate for movement since that observation; without it they are current screen coordinates. With browserTab, x/y are CSS pixels in the current page screenshot viewport. A page element id (t1a2b:57) is clicked inside the page itself, in the background; a covered element is refused and the covering element is named.
ParameterTypeDescription
buttonstring
dispatchstring
elementIdstring
xinteger
yinteger
windows_computer_use_close_windowClose a window gracefully by posting WM_CLOSE (the app can veto with a save dialog). Safer than killing the process; use close_window instead of alt+f4 when the app may have unsaved state you want to handle. The shared activate flag is ignored: WM_CLOSE is posted in the background and needs no foreground switch. With browserTab, close that tab; the page may still ask to confirm leaving.
windows_computer_use_double_clickDouble click a screen coordinate or the center of a UI Automation element. Supports the same dispatch modes as click (background posts a real WM_LBUTTONDBLCLK). With browserTab, x/y are CSS viewport pixels; page element ids are double-clicked inside the page.
ParameterTypeDescription
buttonstring
dispatchstring
elementIdstring
xinteger
yinteger
windows_computer_use_dragDrag through a path of screen coordinates. With browserTab, the path is in CSS pixels of the current page screenshot viewport and input stays inside the page.
ParameterTypeDescription
buttonstring
path *array
windows_computer_use_element_infoReturn UI Automation information for an element id or a screen point. A browser-lane page element id (t1a2b:57) returns its tag, text, value, link and page box.
ParameterTypeDescription
elementIdstring
xinteger
yinteger
windows_computer_use_findFind UIA elements by name, automation id, class, value or type. When UIA is sparse or incomplete and no match is found, read visible text with OCR if ocrFallback is enabled and controlType is unset. OCR cannot verify UIA control types. OCR candidates have SCREEN coordinates and source:'ocr', not UIA element ids. If the literal query misses, inspect ocr.lines and reformulate using the visible text (a search box may say '大家都在搜'). With browserTab, search that page's accessibility outline instead and return page element ids.
ParameterTypeDescription
controlTypestring
maxDepthintegerLevels below the root. In window-scoped trees, unnamed browser layout panes (Chromium: Electron, Chrome/Edge, CEF, WebView2; Gecko: Firefox and its forks) do not count, so page content stays within the default depth. UIA tree and snapshot results report countedDepth (depth used for maxDepth) and structuralDepth (actual levels) before output reductions. To check whether something changed, use find on that control or wait_for rather than reading the whole tree again.
maxNodesinteger
maxResultsinteger
ocrFallbackbooleanUse OCR after an empty sparse/incomplete UIA search without controlType. Disable for UIA-only diagnostics. No input is sent.
query *string
scopestring
windows_computer_use_focusSet keyboard focus to a UI Automation element, or to a browser-lane page element inside its page.
ParameterTypeDescription
elementId *string
windows_computer_use_healthCheck that the Windows UI Automation backend, screenshot capture, and input stack are available.
windows_computer_use_invokeInvoke a UI Automation element in the background: BM_CLICK on a Win32 button, else its Invoke, Toggle, SelectionItem, or ExpandCollapse pattern, with click fallback. action expands, collapses or scrolls the element into view instead. A browser-lane page element id is clicked inside the page.
ParameterTypeDescription
actionstringdefault = the first of Invoke, Toggle, SelectionItem, ExpandCollapse the element has. expand/collapse = ExpandCollapse only; an element already in that state is left as is. scroll_into_view = ScrollItem: its container scrolls until the element shows, with no pointer. UI Automation elements only.
elementId *string
fallbackClickboolean
windows_computer_use_keypressPress a key or key chord, such as Ctrl+L, Enter, Alt+F4, or Shift+Tab. The Windows key is blocked by design. The keys go to the target window, else the window DSH last worked in this turn, else the window in front; it comes forward for them and then gives the foreground back, unless a menu or dialog they opened is showing. The result's deliveredTo names the window and its focused control that received the keys. dispatch:'background' supports only a single printable character (posted as WM_CHAR to the focused control of the target window, no foreground steal); chords and functional keys must use dispatch:'foreground' (SendInput). With browserTab, the key goes to that page inside the browser: Alt+Left/Alt+Right/F5 go back/forward/reload, Enter/Escape answer an open JavaScript dialog, and browser-window shortcuts such as Ctrl+L or Ctrl+T are refused.
ParameterTypeDescription
dispatchstring
intervalMsintegerPause between ordered chords for application menus to update.
keys *array
thenKeysarrayDesktop foreground only: chords sent after keys while retaining the same foreground lease, e.g. keys:["alt","h"], thenKeys:[["o"],["w"]] opens Excel Column Width.
windows_computer_use_launch_appLaunch an executable, shortcut or installed application, on the user's desktop through the interactive Windows Shell or on DSH's hidden desktop (see desktop). The app outlives the tool call and MCP server and uses the desktop's environment. Requires Explorer. Argument-bearing and shortcut launches require approval or explicit standalone configuration. Known command interpreters and script hosts are refused with arguments; this is not a command sandbox. A successful result means dispatched; verify the intended window. Apps may activate themselves even with activate:false. Does not request elevation.
ParameterTypeDescription
activateboolean
argumentsstringWindows command-line arguments for the executable or shortcut; quote individual arguments containing spaces. Not a shell command, and refused for command interpreters and script hosts.
desktopstringWhere the app opens. background: DSH's hidden desktop in this Windows session, apart from the user's screen, pointer and keyboard; its windows take UI Automation and window-message actions only, and list_windows marks them desktop:'background'. current: the user's desktop, needed for real pointer or keyboard input, shortcuts and installed or Store apps. Default: background under the Low disruption work mode when the target is an executable, else current.
target *stringAbsolute .exe/.com/.lnk path, executable name on PATH/App Paths, exact installed app name or AppUserModelID.
waitMsinteger
workingDirectorystringExisting absolute working directory. Not supported for AppUserModelID launches.
windows_computer_use_list_windowsList top-level windows visible to Windows UI Automation. Minimized windows are listed too, marked minimized:true; activate_window restores them. The result field browserLane (not an argument) lists the tabs of connected Chromium browsers with ids for browserTab, and explains how to open a background tab (set_value elementId new-tab).
ParameterTypeDescription
includeInvisiblebooleanAlso list hidden windows (not shown at all, such as tray and helper windows). Minimized windows are listed either way.
maxWindowsinteger
windows_computer_use_moveMove to a screen coordinate or element. With browserTab, x/y are CSS pixels in the current page screenshot viewport; page element ids hover inside the page. Browser operations do not move the desktop pointer.
ParameterTypeDescription
elementIdstring
xinteger
yinteger
windows_computer_use_move_windowMove (not resize) a window to screen coordinates without activating it. Useful for arranging windows, and it also refreshes the homing cache for coordinate-based actions.
ParameterTypeDescription
x *integer
y *integer
windows_computer_use_ocrRead visible text with Windows.Media.Ocr, independent of UIA by default. Returns text, lines and word boxes in SCREEN coordinates. With query, only the lines with a match come back (lineCount counts all lines); without a match, every line's text and box but no word boxes. Best effort: small or faint text can still be misread and there is no confidence score, so prefer UIA names and values when the app exposes them. query is literal text matching, not semantic recognition; inspect lines if 'search' misses a placeholder. Click matched.word.x/y using foreground dispatch, then type_text with focusMode:'preserve'. Optional resolveControl performs a potentially blocking UIA hit-test; its control may be the whole page rather than the text input.
ParameterTypeDescription
includeScreenshotboolean
languagestringInstalled OCR language to read with, e.g. zh-Hans, en-US or ja; a prefix picks the matching installed one. Default: the Windows user languages. An unknown language fails and lists the installed ones.
maxWidthintegerShrink the capture to at most this width before reading; 0 reads it at full size. Small text is enlarged automatically (ocrScale in the result).
querystringOptional literal text query, case-insensitive and ignoring whitespace. Returns up to 3 matched word runs with screen boundingBox and center in word.x/y, and the matching lines instead of the whole text. control is null unless resolveControl:true opts into a UIA hit-test. Supports character-segmented CJK text.
regionany
resolveControlboolean
scopestring
windows_computer_use_screenshotCapture a window or desktop without querying UIA. Returns an image plus bounds and imageScale for mapping image pixels to SCREEN coordinates: screen = bounds origin + image / imageScale. Use when the accessibility provider is unavailable, or to locate icons visually. Capture does not prove an action succeeded; inspect the resulting state. A minimized window shows only its title strip; the result then says minimized:true with a warning (activate_window restores it). With browserTab, capture that tab's viewport inside the browser, also in the background; its pixels are page pixels, not screen coordinates.
ParameterTypeDescription
maxWidthinteger
scopestring
windows_computer_use_scrollScroll at a screen coordinate or an element. An element scrolls in the background first (WM_VSCROLL on a Win32 scroll bar, else the UIA ScrollPattern of the element or of its nearest scrolling ancestor) and reports scrollPercent before/after; otherwise the wheel is real input at the point, with the foreground and pointer given back. Positive deltaY scrolls down; 120 is one wheel notch. With browserTab (the page) or a browser-lane page element id, scroll inside the page in the background.
ParameterTypeDescription
deltaXinteger
deltaYinteger
elementIdstring
xinteger
yinteger
windows_computer_use_set_valueSet a value in the background (EM_REPLACESEL on a Win32 edit, else the UI Automation ValuePattern), or focus and type as fallback. Whether the keyboard focus moves to the element depends on the app (Chromium moves it, a Win32 edit keeps it where it was): when a key must follow in that field, such as Enter in a search box, call focus on the element first. Browser lane: a page element id fills that field, selects that option or sets that checkbox inside the page; <tab>:address (for example t1a2b:address) navigates the tab to a web address; new-tab opens the address in a background tab, in a separate DSH browser without sign-ins or, when the user turned on sign-ins, in their own browser; <browser>:new-tab opens it in that connected browser.
ParameterTypeDescription
elementId *string
fallbackTypeboolean
restoreClipboardboolean
value *string
windows_computer_use_snapshotCapture a screenshot and a UI Automation tree for the active window or desktop.
ParameterTypeDescription
captureWindowbooleanCapture only the target (or active) window. Defaults to true with an explicit window target; otherwise captures the virtual screen. An unobstructed foreground window uses a checked screen crop; other windows use PrintWindow, then a screen fallback flagged occludedPossible.
includeScreenshotboolean
maxDepthintegerLevels below the root. In window-scoped trees, unnamed browser layout panes (Chromium: Electron, Chrome/Edge, CEF, WebView2; Gecko: Firefox and its forks) do not count, so page content stays within the default depth. UIA tree and snapshot results report countedDepth (depth used for maxDepth) and structuralDepth (actual levels) before output reductions. To check whether something changed, use find on that control or wait_for rather than reading the whole tree again.
maxNodesinteger
maxWidthintegerDownscale the screenshot so its width is at most this many pixels (0 = native resolution). The response then carries imageScale + origin so image pixels can be mapped back to screen coordinates.
scopestring
windows_computer_use_type_textType text into the focused control of the target (or active) window. method:'auto' (default) = a focused Win32 edit takes the text in the background (EM_REPLACESEL at the caret: no clipboard, keyboard or foreground; text with line breaks is pasted instead); any other control gets a clipboard paste with the window borrowed for it (reliable for CJK; the clipboard is restored and the paste kept out of clipboard history); method:'clipboard' always pastes; method:'sendinput' sends Unicode key events without the clipboard and checks readable plain Win32 edits before returning the foreground. An unavailable readback returns verification:'unconfirmed'; inspect the field before retrying any unconfirmed write. method:'background' posts WM_CHAR to the control with the keyboard focus in the target window — no clipboard, no foreground steal; checked on Win32 edits, unverified elsewhere, refused when nothing in the window has the focus. Other methods may include verifyValue (the control's value after typing, truncated to 200 chars). With browserTab, insert the text at that page's focused field inside the browser: no clipboard, pointer or foreground change.
ParameterTypeDescription
focusModestringpreserve keeps the focus established by a previous click, essential for OCR/visual targets. main explicitly tries to focus the window's largest Edit/Document control.
methodstring
restoreClipboardboolean
text *string
windows_computer_use_waitWait for a short period before observing the UI again.
ParameterTypeDescription
millisecondsinteger
windows_computer_use_wait_forWait for a window, a UIA element, or literal visible OCR text to appear/disappear. condition:'window' uses native window enumeration; 'element' uses a bounded UIA query; 'text' uses OCR without UIA. Returns verification:'observed' only when the condition was observed; truncated UIA absence is inconclusive. Text is literal, so use the actual expected text, not an inferred semantic label. With browserTab, element/text conditions poll that page's accessibility outline.
ParameterTypeDescription
appearboolean
conditionstring
controlTypestring
intervalMsinteger
maxDepthintegerLevels below the root. In window-scoped trees, unnamed browser layout panes (Chromium: Electron, Chrome/Edge, CEF, WebView2; Gecko: Firefox and its forks) do not count, so page content stays within the default depth. UIA tree and snapshot results report countedDepth (depth used for maxDepth) and structuralDepth (actual levels) before output reductions. To check whether something changed, use find on that control or wait_for rather than reading the whole tree again.
maxNodesinteger
querystring
scopestring
timeoutMsinteger
treeTimeoutMsinteger

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 11K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 35 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
22 callsassets/diagrams/render.mjs:26, assets/market/render.mjs:25, mcp/background-desktop.mjs:19
Outbound network calls
6 callsclient/src/main.js:548, client/src/main.js:1778, mcp/browser.mjs:1049
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 35 files: places to read, not proof of what the code does at run time.

Releases

v0.6.5v0.6.5 — separate desktop and browser switches, Windows Sandbox, a reorganized settings page, high-DPI capture fix · 29 Nov 20260.6.5 处理五个反馈:桌面操控和浏览器操控可以分开开关,也能只管当前对话;“虚拟机”新增 Windows 沙盒;远程 Windows 更容易配置;可以在本机识别没有文字的图标按钮(实验);高缩放下后台截图不再偏位。设置页也重新排了版,工具加载默认改回“全部”。…
v0.6.4v0.6.4 — Remote Windows for Windows Home (experimental), lighter by default, second-monitor and stuck-key fixes · 25 Nov 20260.6.4 处理四个反馈:副屏上最大化的窗口不再被当成全屏;按 Esc 停止后拖放不再失效;Windows 家庭版也能用“虚拟机”工作方式了(实验);插件默认更省上下文和内存。 副屏上最大化窗口,少打扰照常工作(#100,感谢 @wx31179 查清了原因)。外接显示器默认没有任务栏,在上面把窗口最大化后,Windows 会报告“忙碌”。以前插件把它当成全屏,需要鼠标键盘的操作等 20…
v0.6.3v0.6.3 — three work modes, update and restart in two clicks, cheaper observations · 22 Nov 20260.6.3 新增三种工作方式:默认情况下你照常用电脑,DSH 的任务也照常进行。更新也只要点两下:一下装好,一下重启,过程中能看到进度,也能随时停下。 三种工作方式,默认“少打扰”。设置页的“工作方式”按你这时还用不用电脑来选: 少打扰(默认):你照常用电脑,任务也不耽搁。DSH 能在后台做的都在后台做,自己打开的程序放进一个看不见的后台桌面,不会弹到你面前。快捷键、拖拽这类必须用鼠标键盘的步骤马上做,不等你停手:DSH…
v0.6.2v0.6.2 — local background desktop, Hyper-V desktop, browser and input fixes · 21 Nov 20260.6.2 新增“电脑操控的运行位置”:agent 可以在本机后台桌面或 Hyper-V 虚拟机里操作,你继续用自己的鼠标、键盘和前台窗口。这一版还修好了 DSH 浏览器首次打开网页和桌面回退的问题,并在发送输入前核对目标窗口的 Windows 权限级别。 本机后台桌面(#95,感谢 woall)。以前 agent 只能在你正在用的桌面上操作,按坐标点击、粘贴和按键要短暂借用前台。现在可以在 设置 → 电脑操控 → 电脑操控的运行位置…
v0.6.1v0.6.1 — settings updates, problem reports, typing and browser fixes · 18 Nov 20260.6.1 加入了设置页更新和问题反馈,并改进 Chromium 页面文字判定及 Edge 启动。这一版还修好了 `sendinput` 输入丢字,并让 OCR 兜底和权限报错说得更清楚。 在设置页直接更新。DSH 启动时查询 npm 的 `latest`。确认有新版时,设置 → 电脑操控 标题右侧会显示“更新”。点击后重新核对 npm 与 DSH 插件市场的版本,由市场安装并核对结果,再按页面提示刷新或重启。0.6.0 用户可用下方命令首次升级。 一键反馈问题。诊断…

README

The repository's README runs to about 11K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Dsh Computer Use Win

How do I install Dsh Computer Use Win?

In Claude Code, run claude mcp add dsh-computer-use-win -- npx -y dsh-computer-use-win. Other MCP clients take the command after "--" in their server configuration.

Is Dsh Computer Use Win safe to use with an AI agent?

Its trust score is 86 out of 100 (strong). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 35 source files found that it starts other programs (22 calls) and makes outbound network calls (6 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Dsh Computer Use Win still maintained?

Yes — the latest release is v0.6.5 (29 Nov 2026), and the last commit was yesterday. The repository has 989 stars and 5 open issues.

What tools does Dsh Computer Use Win provide?

Conduid read 25 tools from the source: windows_computer_use_accessibility_tree, windows_computer_use_activate_window, windows_computer_use_batch, windows_computer_use_click, windows_computer_use_close_window, windows_computer_use_double_click, windows_computer_use_drag, windows_computer_use_element_info and 17 more. 22 of them publish their parameters, listed under Tools above.

What license is Dsh Computer Use Win released under?

The repository declares the MIT license. That applies to the latest release, v0.6.5, as well.