dsh-windows-desktop
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-windows-desktop
给 DeepSeek Harness 装上「一台 Windows 电脑」:实时画面 + 完整工具面,装一个插件就够。
完整替代 Windows-MCP,并且多了一直可见的画面。
不再依赖它:被控机用自己的 Python 环境(-Standalone),连它的解释器都不用。
能力
29 个工具:
类别 | 工具 |
画面 |
|
UI 自动化 |
|
键鼠 |
|
窗口 |
|
命令 |
|
注册表 |
|
进程 |
|
文件 |
|
剪贴板 |
|
等待 |
|
批量 |
|
通知 |
|
实时画面:/plugins/dsh-windows-desktop/viewer,原生 MJPEG 播放,8–13 fps。
Related MCP server: AiPC
安装
DSH 侧(一条命令):
dsh plugin --profile <profile> add <本目录>被控机(一条命令):
.\install.ps1 -Key <密钥> -Standalone-Standalone 会用 uv 建一个独立 Python 环境,不依赖机器上任何已有安装。
自检会过四关:依赖 → 端口 → Session 1 → 出帧。
不带 -Standalone 则使用机器上已有的 Python(需有 fastmcp/uiautomation 等)。
架构
DSH 主机 (Linux) 被控机 (Windows, Session 1)
┌──────────────────────────┐ ┌────────────────────────────┐
│ 插件 │ ssh -L │ agent/server.py │
│ FrameChannel ────────────┼───────────▶│ :8201 MJPEG 帧服务 │
│ 拉 127.0.0.1:18201 │ 18201 │ ImageGrab → JPEG │
│ │ │ │
│ dsh-mcp-client ──────────┼───────────▶│ :8200 MCP streamable-http│
│ 连 127.0.0.1:18200 │ 18200 │ 24 个工具 │
└──────────────────────────┘ └────────────────────────────┘被控机上只跑一个进程,同时提供 MCP 与帧服务。
三个硬约束(都是实测出来的)
抓屏必须在被控机 Session 1。插件在 Linux 上看不到 Windows 屏幕;经 SSH 拉起的进程在 Session 0 也抓不到(
OSError: screen grab failed)。只有schtasks /it拉起的进程在 Session 1。一切走本机回环。DSH 装了全局代理,
no_proxy只含回环;直连 tailnet IP 会被吞。隧道远端必须写 tailnet IP。Windows 回环不跨 Session:服务在 Session 1,sshd 在 Session 0。
实测数据
2560×1600 的被控机:
项 | 数值 |
抓屏上限(ImageGrab) | 20 fps |
端到端 MJPEG | 8–13 fps / 约 950 KB/s |
单帧(1280×800, q70) | 约 70–95 KB |
首帧延迟 | < 1 秒 |
工具调用(powershell) | 立即返回 |
配置
在 profile 的 cordis.patch.yml 的 config 里:
字段 | 默认 | 说明 |
|
| ssh 别名 |
| 空 | 被控机 tailnet 地址 |
|
| 被控机端口 |
|
| 本机回环端口 |
|
| 帧率 1–60 |
|
| 缩放 0.1–1 |
|
| JPEG 质量 10–95 |
| 空 | 留空则自动生成,但两边必须一致 |
已知限制
单被控机。一条通道一个
host。只能看,不能点。页面是纯监看;操作走工具。
带宽。950 KB/s 是 MJPEG 的代价。要更低就降
fps或scale。未在 Windows 10 以外的系统验证。
许可
MIT。agent/server.py 的 UIA 能力依赖 uiautomation(Apache-2.0),不 vendor 它的代码。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Control your authorized Windows computers via OAuth: files, shell, apps, and task status.
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Let your AI see your screen, click, type and run commands on your own Windows, Mac or Linux PC.
1
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables remote control of a Windows desktop via MCP, including screenshots, mouse and keyboard, window management, PowerShell, files, services, registry, scheduled tasks, event log, and network checks.68 npm4GPL 3.0
- AlicenseNot gradedqualityBmaintenanceGives AI agents full control of a Windows computer over MCP through 63 native tools — screenshots and UI trees for vision, mouse/keyboard input, Chrome control via CDP, plus files, terminal, processes, and SSH/SFTP. The agent can look at the screen, click, type, launch apps, run commands, and verify each step with a fresh screenshot.45MIT
- AlicenseNot gradedqualityCmaintenanceEnables an AI client to inspect and control an interactive Windows desktop, including screenshots, mouse and keyboard input, Windows UI Automation, PowerShell commands with managed jobs, and authenticated file uploads/downloads. Connects over remote MCP Streamable HTTP or local stdio without a separate host-side gateway.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceGives an agent eyes and hands on Windows desktops: screenshots with grids and Set-of-Marks, offline OCR with word boxes, click_text, mouse/keyboard/drag/window control, UI Automation, and batched act-and-verify actions. Supports a read-only mode that disables all input plus per-action audit logging.MIT