NexusWindows for Antigravity

io.github.pironjulien由 GitHub 账号 pironjulien 发布v3.6.0更新于 Nov 6, 2026

Windows computer use in the background for Antigravity: UI Automation, Win32 messages, read back.

概览

AI 生成的概览

让助手通过 UI Automation 和 Win32 消息在后台查看并操作 Windows 桌面应用,不抢占用户当前屏幕。

可以做什么
  • 列出已打开的窗口,含句柄、标题、进程、位置与是否前台,可按应用分组
  • 在不置前的情况下查看指定窗口,返回带标签的元素树和可选截图
  • 对指定窗口一次性批量操作:点击、输入、赋值、勾选、选择、展开、菜单、按键、滚动与拖拽
  • 启动应用、文件夹、文档或系统设置页,并回读打开结果
  • 干净地关闭指定窗口,遇到保存提示只报告而不代为回答
适用场景
适合让助手在用户继续工作的同时操作 Windows 桌面应用,例如填写表单、浏览菜单或读取某个窗口的界面状态。它是仅限桌面的本地方案,而非网页自动化工具。
运行要求
在 Windows 上以本地 stdio 进程运行,从 PyPI 安装并用 uvx 启动。未声明任何身份验证。建议设置 PYTHONUTF8 以在 Windows 上正确处理 UTF-8。
安装前请注意
它几乎可以操作任何应用,包括银行应用和密码输入框,仅排除密码管理器。付款、购买、转账、发送、发布、永久删除、卸载、重置等操作,除非该步骤带有 confirm: true,否则会被拒绝;用户的明确指令即被视为该确认。foreground=true 时会退回到真实鼠标键盘操作,用户可用快捷键紧急停止。

安装

在 SourceWeft 中

  1. 打开 控制台中的 NexusWindows for Antigravity,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

该仓库没有 README。

工具

5

windows

List windows

List open windows: hwnd, title, process (the real application for UWP), position, foreground. by_app=true: grouped by application. Example: {"by_app": false}

输入参数by_appvisible_only

look

Look at a window

GOLDEN RULE: look → act in one batch, targets by label; never resend a batch without looking. See a NAMED window (hwnd: number, title or process) WITHOUT bringing it to the front (covered ones too): one line per element "[N] role "name" = "value" states @x,y"; image (WebP ≤ 2000 px) only if the tree is too thin, or with capture_screenshot=true, annotate (numbers drawn) or zoom=box_2d (area enlarged); query filters; format="json": compact JSON (box_2d 0-1000 per element). Same screen as the last image sent: not attached again. Unlocks a batch. Example: {"hwnd": "Notepad", "query": "save"}

输入参数hwndzoomqueryformatannotatemax_depthoutput_pathmax_elementscapture_screenshot

act

Act in a window (verified batch)

Act in ONE batch, in the background, on a NAMED window (hwnd), without reading the code: shared token, emergency stop and the user's pause are handled here. Actions: click, double_click, right_click, type, set, clear, check, uncheck, select (option), expand, collapse, menu (path), key, scroll, drag, hover, wait (seconds, text), focus. Target: target="Exact label", "#N", box_2d or x/y; ambiguous label refused. Steps ✓ = ~ ✗, status = the worst; follow `next`. Batch stopped on ~ or ✗, nothing more sent and no replay; look before resuming after an unknown outcome. Outward actions (paying, sending, publishing, transferring, and the Enter key that would trigger them): `confirm: true` AND `accord: "<token>"` (on the step or as a parameter), returned by the first refusal that describes the exact action. Local destruction (permanent deletion, uninstalling, formatting, resetting): `confirm: true` alone. The user's explicit order = confirmation; your own initiative = ask first. Same batch without a look: refused. foreground=True: real mouse/keyboard as a fallback only. Example: {"hwnd": "Order", "steps": [{"action": "set", "target": "Name", "text": "Alice"}, {"action": "check", "target": "Accept"}, {"action": "click", "target": "Submit"}]}

输入参数hwndthensteps必填accordrepeatforegroundtime_budget

launch

Launch an app, folder or document

Open an application (name such as "notepad.exe", or path), a folder or a document, like a double-click; the opening is read back. Settings page: app="ms-settings:display" (opened behind the user's window, read back). Refused: web addresses http, https, ftp (web pages: nexus-browser). args: arguments of a .exe program (a file to open…), never for a document, a folder or an address; also accepted after the program in `app`, a path with spaces is never split. Chromium/Electron apps: files only, never a switch. Example: {"app": "notepad.exe", "args": "C:\\Dev\\notes.txt"}

输入参数app必填args

window

Manage a window

Manage a NAMED window (hwnd: number, title or process). action="close": close it cleanly (UI Automation, then WM_CLOSE), the closing is read back; a "Save?" prompt, if any, is reported, never answered. Example: {"action": "close", "hwnd": 123456}

输入参数hwnd必填action必填

版本历史

6
  1. v3.6.0最新Oct 29, 2026
  2. v3.2.7Oct 26, 2026
  3. v3.2.3Oct 26, 2026
  4. v3.2.2Oct 26, 2026
  5. v3.1.2Oct 24, 2026
  6. v3.0.1Oct 23, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分