# dsh-cua - Windows Computer Use

A Windows computer-use server that acts through UI elements first and takes screenshots only as a fallback. It queues agents sharing a machine and steps aside when you work.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: Hutusion
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Hutusion/dsh-cua
- Updated: 2026-10-06
- HTML: https://affpapa.org/en/nevibecode/mcp/dsh-cua-windows-computer-use

## What it does

dsh-cua is a stdio MCP server with 19 tools for driving Windows apps. The agent reads a window through `tool_skyshot`, which returns a compact text tree, and falls back to `tool_capture_window` when the tree is not enough. Presses and value changes go to the UI Automation element itself via `tool_element_action`, so your active window stays where it is.

When several agents share a PC, an arbiter queues them. Real mouse clicks and global hotkeys also wait until you stop working, and the call is refused with `user-active` if you keep going. Each action returns a receipt that keeps `action_sent` apart from `effect_verified`.

The tools run on Windows only. Elsewhere the server still starts and lists its tools, but a call returns a Windows-required error. `tool_clipboard_write` overwrites whatever you copied last. A minimized Edge window exposes only browser chrome and no page, so restore it first.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add dsh-cua -- uvx dsh-cua
```
uvx runs the command named after the package; if the README names another one, use uvx --from dsh-cua <command>

### Codex

**Platform CLI**
```bash
codex mcp add dsh-cua-windows-computer-use -- uvx dsh-cua
```
uvx runs the command named after the package; if the README names another one, use uvx --from dsh-cua <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dsh-cua-windows-computer-use": {
            "command": "uvx",
            "args": [
                "dsh-cua"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from dsh-cua <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dsh-cua-windows-computer-use": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "dsh-cua"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from dsh-cua <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add dsh-cua-windows-computer-use uvx dsh-cua
```
uvx runs the command named after the package; if the README names another one, use uvx --from dsh-cua <command>

## When to use it
- read an app window as a text tree instead of a screenshot
- press a button or flip a checkbox without taking focus
- find a window by title and capture its client area
- keep two agents on one PC from colliding
- type into a window through `tool_type_text` without touching the mouse

## Example prompts
- Use dsh-cua: run `tool_skyshot` on the Notepad window and list its buttons
- Find the Explorer window with `tool_find_window`, then press the button I name via `tool_element_action`
- Call `tool_coexistence_status` before you click anything

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32221
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13169
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12791

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
