open-compute (computer-use)

io.github.lukisch由 GitHub 账号 lukisch 发布v0.1.0-alpha.6更新于 Oct 24, 2026

Model-agnostic computer-use MCP: screenshot, safety-gated actions, Windows UIA targeting.

已验证STDIO仅桌面浏览器自动化开发者工具

概览

AI 生成的概览

一个与模型无关的计算机使用 MCP 服务器,可在 Windows 桌面上截取屏幕并执行受安全门控的输入操作。

可以做什么
该 npm 启动器会启动 Python open-compute MCP 服务器,并通过本地 stdin/stdout 转发 MCP JSON-RPC。它提供计算机使用能力:截取屏幕以及执行受安全控制门控的输入操作。它还支持 Windows UI Automation (UIA) 定位,使操作可以针对特定界面元素。实际可用的工具架构由所选源码版本的运行中 Python 服务器定义。
适用场景
当你希望 AI 助手查看并操作 Windows 桌面时使用,例如自动化 GUI 任务或检查屏幕元素。它适用于 MCP 客户端运行在所要控制的同一 Windows 桌面上的场景。它不适合无头或云端托管的桌面环境。
运行要求
通过 npx 作为本地进程运行。需要 Node.js 18 或更高版本以及 uv;后端需要 Python 3.10 或更高版本。默认启动会从 GitHub 的 master 分支获取 Python 服务器,OPEN_COMPUTE_GIT_REF 可选择分支、标签或提交。引导过程需要网络访问。真正的屏幕捕获和输入需要 MCP 客户端主机上有一个交互式 Windows 桌面。
安装前请注意
该包装器未实现网络过滤、沙箱、权限降级或环境清理;子进程会继承启动器的环境和操作系统权限。本地 stdio 不会阻止子进程或 MCP 客户端的网络访问。客户端控制工具结果(包括截图)的路由。操作模式和定位属于 Python 服务器;请配置客户端的审批控制。该包装器不是操作系统安全边界。

安装

在 SourceWeft 中

  1. 打开 控制台中的 open-compute (computer-use),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[open-compute MCP server emblem]

open-compute-mcp

npm launcher for the Python open-compute MCP server. It forwards MCP JSON-RPC over local stdin/stdout. Real screen capture and input require an interactive Windows desktop on the MCP client's host. No Glama or other hosted/cloud desktop deployment is provided.

This short entrypoint replaces the long-form README.md at predecessor commit 59cd953. The corrected detailed guide is archived here, retaining the former section anchors and diagrams. It is a corrected copy, not an unchanged historical snapshot; the original remains available at the commit link.

[CI] [npm version] [Tests: node --test] [Node.js] [License: MIT] [MCP Server] [Verified: 2026-11-01] [LLM Context]

EN | Deutsch

Install and run

Requires Node.js 18 or newer and uv. The backend requires Python 3.10 or newer; uvx can use a compatible installed interpreter or download and manage one when needed. The default launch fetches the Python server from GitHub at the master branch; set OPEN_COMPUTE_GIT_REF to choose a branch, tag, or commit. These bootstrap steps require network access.

Add this server to a local MCP client:

json
{  "mcpServers": {    "open-compute": {      "command": "npx",      "args": ["-y", "open-compute-mcp"]    }  }}

The npm package is published separately from this Git repository; check its published version for a particular source revision. A direct uvx configuration is in the detailed quick start.

Architecture & Protocol Flow

The launcher bridges client JSON-RPC requests across local stdio to the Python engine executing on the interactive Windows desktop:

mermaid
sequenceDiagram    autonumber    actor Reasoner as AI Reasoner (Antigravity / Claude / Cursor)    participant Launcher as Node.js Launcher (open-compute-mcp)    participant Engine as Python MCP Server (open-compute via uvx)    participant Desktop as Windows Desktop (WGC / UIA / Win32)    actor Operator as Human Operator (Supervision & Approvals)
    Note over Reasoner,Operator: Phase 1 - Transport Initialization & Tool Discovery    Reasoner->>Launcher: MCP stdio JSON-RPC (initialize / tools/list)    Launcher->>Engine: Spawn Python process & pipe stdio    Engine-->>Launcher: Return tool schemas (capture, tree, do, click_name)    Launcher-->>Reasoner: Forward available tool definitions
    Note over Reasoner,Operator: Phase 2 - Desktop Inspection & Visual Context    Reasoner->>Launcher: Call capture(window?) or tree()    Launcher->>Engine: Forward tool invocation over stdio    Engine->>Desktop: Windows Graphics Capture (WGC) or UI Automation inspect    Desktop-->>Engine: Raw frame buffer / accessibility element tree    Engine-->>Launcher: Formatted image (base64 PNG) or JSON tree result    Launcher-->>Reasoner: Relay visual context to model
    Note over Reasoner,Operator: Phase 3 - Human Oversight & Gated Action Execution    Reasoner->>Launcher: Propose action: do(click, x, y) or click_name(target)    Launcher->>Engine: Forward action request over stdio    alt Client Approval Gate        Operator->>Engine: Confirm interactive desktop action        Engine->>Desktop: Synthesize mouse / keyboard event via Win32 API        Desktop-->>Engine: Action outcome & state change        Engine-->>Launcher: Success status report    else Deny or Boundary Check        Engine-->>Launcher: Action blocked by policy or client denial    end    Launcher-->>Reasoner: Forward execution receipt

What the launcher does

It starts the Python MCP server and forwards stdio. The wrapper does not implement a network filter, sandbox, privilege drop, or environment scrubber. The child inherits the launcher's environment and operating-system privileges.

The default uvx command retrieves the Python project from GitHub; npm installation contacts npm. In an interactive terminal, the optional update notice may check npm. Local stdio describes the client-to-wrapper transport; it does not block network access by the child or MCP client. The client controls routing of tool results, including screenshots.

For real capture and input, run the MCP client on the Windows desktop to be controlled. Action modes and targeting belong to the Python server; configure the client's approval controls. This wrapper is not an operating-system security boundary.

Tools and configuration

The tool reference is a snapshot of the separate Python project's tool list at a documented source ref. The running server's schemas define the available tools for the selected ref. See also the environment variables.

Related integration

The Cowork Protocol Desktop Companion includes an optional, human-started computer-use adapter that launches the separate Python Open Compute MCP server over local stdio. Its documented default uses uvx; this npm launcher is not a Cowork dependency. This relationship does not change the process, network, or privilege boundaries described above.

Documentation

The repository source manifest currently declares 0.1.0-alpha.20. This documentation work changes no version and publishes no release.

来源:README.md,提交 4419900

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0-alpha.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

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

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分