jiayan-xu/dsh-nuphus-mcp

桌面 + 浏览器自动化桥(36 个工具):窗口/屏幕/鼠标/键盘控制配 PaddleOCR 元素感知,Chrome CDP 浏览配无障碍快照。

Bundle 已验证 未知 JavaScript 未知
Bundle 已验证

已收录

0

Tools

Bundle 已验证

版本未知
语言JavaScript
许可证未知
在 GitHub 查看

功能介绍

桌面 + 浏览器自动化桥(36 个工具):窗口/屏幕/鼠标/键盘控制配 PaddleOCR 元素感知,Chrome CDP 浏览配无障碍快照。

适合

  • 需要控制真实窗口、屏幕、鼠标、键盘或剪贴板的 Windows 桌面自动化。
  • 受益于 PaddleOCR 元素感知和可选 YOLO 图标检测的本地 UI 工作流。
  • 需要 CDP 导航、交互、脚本化步骤和无障碍快照的 Chrome 自动化。
  • 已配置 OpenAI 兼容视觉端点的视觉检查工作流。

不适合

  • 无法访问 `nuphus-mcp.exe` 的环境;内置可执行文件路径仅适用于 Windows。
  • 不能接受操作真实鼠标、键盘、剪贴板或系统窗口的工作流。
  • 无法使用 Chrome CDP 的浏览器环境。
  • 未同时配置所需 API key 和模型却期望使用视觉分析的用户。

README

dsh-nuphus-mcp

dsh-nuphus-mcp bridges dsh to the nuphus MCP server for desktop and browser automation. It registers 36 statically described tools: 15 desktop_* tools and 21 browser_* tools.

Capabilities

Desktop tools cover:

  • Screen dimensions and full-screen or regional screenshots.
  • Listing, activating, inspecting, moving, resizing, and capturing windows.
  • Mouse clicks, movement, hovering, scrolling, and dragging.
  • Keyboard input and hotkeys.
  • Clipboard writing and clearing.
  • Local UI element perception with PaddleOCR and optional YOLO icon detection.
  • Optional screenshot analysis through a user-configured OpenAI-compatible vision endpoint.

Browser tools use Chrome CDP and include navigation, interaction, scripted multi-step operations, and accessibility-tree snapshots. Snapshot results assign references such as @1 to interactive elements for later click or input operations, with DOM traversal as a fallback when the accessibility tree is unavailable.

Runtime Configuration

The plugin runs nuphus-mcp.exe as a persistent stdio MCP child process. Requests use newline-delimited JSON-RPC, concurrent calls are matched by request ID, and a later call reconnects after the child process exits.

Set NUPHUS_EXE to override the executable path. The built-in default is:

%USERPROFILE%\.qclaw\workspace\nuphus-mcp\target\debug\nuphus-mcp.exe

Optional vision analysis requires both:

  • NUPHUS_MCP_VISION_API_KEY
  • NUPHUS_MCP_VISION_MODEL

Plugin logs are appended to ~/.dsh/logs/dsh-nuphus-mcp.log when the path is writable.

Safety

Desktop actions affect the real mouse, keyboard, clipboard, and operating-system windows. Browser automation can execute JavaScript. Operations classified as writes expose a confirm parameter that must be true when nuphus runs in strict-confirm mode.

The dsh bundle registers @jhp830901/dsh-nuphus-mcp with the ID dsh-nuphus-mcp.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:jiayan-xu/dsh-nuphus-mcp。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。