GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
A 1:1 replica of Claude Desktop's computer-use tool surface, for Windows and the Claude Code CLI.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
COMPUTER_USE_MAX_PIXELS, COMPUTER_USE_MASKING, COMPUTER_USE_ENFORCE_FOREGROUND, COMPUTER_USE_DEV你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"computer-use-omni": {
"command": "uvx",
"args": [
"computer-use-omni"
],
"env": {
"COMPUTER_USE_MAX_PIXELS": "your-value",
"COMPUTER_USE_MASKING": "your-value",
"COMPUTER_USE_ENFORCE_FOREGROUND": "your-value",
"COMPUTER_USE_DEV": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add computer-use-omni --env COMPUTER_USE_MAX_PIXELS=your-value --env COMPUTER_USE_MASKING=your-value --env COMPUTER_USE_ENFORCE_FOREGROUND=your-value --env COMPUTER_USE_DEV=your-value -- uvx computer-use-omni运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"computer-use-omni": {
"command": "uvx",
"args": [
"computer-use-omni"
],
"env": {
"COMPUTER_USE_MAX_PIXELS": "your-value",
"COMPUTER_USE_MASKING": "your-value",
"COMPUTER_USE_ENFORCE_FOREGROUND": "your-value",
"COMPUTER_USE_DEV": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"computer-use-omni": {
"type": "stdio",
"command": "uvx",
"args": [
"computer-use-omni"
],
"env": {
"COMPUTER_USE_MAX_PIXELS": "your-value",
"COMPUTER_USE_MASKING": "your-value",
"COMPUTER_USE_ENFORCE_FOREGROUND": "your-value",
"COMPUTER_USE_DEV": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
COMPUTER_USE_MAX_PIXELS envCOMPUTER_USE_MASKING envCOMPUTER_USE_ENFORCE_FOREGROUND envCOMPUTER_USE_DEV env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 Jason26214 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
I got tired of the permission limits in the computer use of Claude Code and Codex, so I built my own. Especially for us Windows users: there is no computer use at all in the Claude Code CLI here. I really resent that. Why are we Windows users always second class citizens in vibe coding?
I have been using omni myself since June 2026. Whenever I find something that annoys me, I update it.
I use both Claude Code and Codex, and omni runs perfectly on Claude Desktop Code, the Claude Code CLI and Codex. The GIFs below show it: both Claude and GPT open VS Code and type into it. I tested it in Warp too, works there. I also recommended it to a friend who uses Cursor, he tested it and it works for him.
It works everywhere because it does not integrate with any of them. It is a plain MCP server. When it starts it walks up its own process ancestry, and the first ancestor that owns a window is the window it serves. So whether you run it from a terminal, from Claude Desktop or from Codex, it works that out by itself, and you configure nothing.
If you are building a desktop app of your own, try omni. The agent can see your UI and debug it by itself, which is very handy. Same idea as using Playwright when you build web apps.
One line to install it:
claude mcp add omni-computer-use -s user -- uvx omni-computer-use-mcp
Here are the two GIFs:
*Claude Code CLI, one take.*
*Codex, one take. Codex recorded and cut this one itself.*
Everything below is written for AI. Skip it if you want. Good luck 👍
Requires Windows and Python 3.11+ (uv / uvx fetch Python for you). The PyPI package name carries an -mcp suffix; everything else — the command, the server key, this repo — is plain omni-computer-use.
Recommended — install into Claude Code. Claude Desktop reads Claude Code's MCP servers *in addition to* its own, so this one command makes the server available in both the Claude Code CLI and the Claude Desktop app:
claude mcp add omni-computer-use -s user -- uvx omni-computer-use-mcp
claude mcp list # expect: omni-computer-use … ✓ Connected
The other directions are narrower. In Claude Desktop's claude_desktop_config.json — visible to Claude Desktop only, the CLI won't see it:
{
"mcpServers": { "omni-computer-use": { "command": "uvx", "args": ["omni-computer-use-mcp"] } } }
A desktop-extension bundle (.mcpb, one-click install) is attached to each GitHub release — same scope caveat: Claude Desktop only.
Run standalone (any MCP client, or just to poke at it):
uvx omni-computer-use-mcp
Windows spawn tip:
uv/uvxare native executables and need no wrapper. If your MCP client launches servers through a.cmdshim (likenpx), *that* one needs acmd /cprefix — this server doesn't.
On a multi-monitor rig every screenshot self-describes — it names the monitor it captured and what else is attached, so the agent never loses track of which screen it is looking at:
This screenshot was taken on monitor "\\.\DISPLAY2" (2560x1600, primary).
Other attached monitors: "\\.\DISPLAY1" (2560x1440). Use switch_display to capture a different monitor.
open_application reports what actually happened instead of fire-and-forget:
Opened "Calculator". # a real window appeared
launched "…" but its process exited within ~2s # crashed on startup — reported, not faked without showing a window …
deactivate and display_overview; a dev reload tool makes 30 when COMPUTER_USE_DEV=on.tests/ (scen_*.json), each run through a fresh MCP process.Matching Anthropic's computer-use (27): request_access, list_granted_applications, request_teach_access, screenshot, zoom, switch_display, cursor_position, mouse_move, left_click, right_click, middle_click, double_click, triple_click, left_click_drag, left_mouse_down, left_mouse_up, scroll, key, hold_key, type, wait, open_application, read_clipboard, write_clipboard, computer_batch, teach_step, teach_batch.
omni-specific (2):
deactivate — end the session without killing the process (glow off, controlling window restored, grants revoked); the counterpart to request_access.display_overview — one composite, labeled image of all monitors laid out per the virtual-desktop arrangement (an orientation aid for "which screen is that window on?"; not a click surface).All click / move / scroll / drag / zoom coordinates are in the image-pixel space of the most recent screenshot; the server maps them back to physical pixels.
Faithful desktop visuals. While a session is active the server reproduces Claude Desktop's on-screen affordances, pixel-calibrated from reference captures: a static orange edge glow, a centered "Agent is using your computer" pill that flies to the corner, and the controlling window (the Windows Terminal running the CLI, or the Claude Desktop window itself) shrunk flush to the top-right and parked off-screen during each capture so screenshots show the true desktop with no black box. Click-through is kind-aware: a non-layered terminal drops to the bottom of the z-order for each synthetic click; the layered Claude Desktop window gets WS_EX_TRANSPARENT (the desktop tool's own approach) so clicks pass through to whatever is beneath — the window itself never moves, so the user's real mouse is unaffected.
Keyboard self-harm guard. Synthetic keystrokes go to whatever holds OS focus. If the controlling window (the Claude window, or the hosting terminal) is frontmost, type / key are blocked — otherwise the text would land in the agent's own conversation, or run as a shell command with a trailing Return. The guard is unconditional and identifies the control surface by window identity and owning process, while still leaving a second, unrelated terminal window a legitimate target. Mouse actions are exempt (a click carries its own coordinate).
Multi-monitor. Screenshots carry an event-driven note naming the captured monitor and flagging when it changed; open_application warns when a window opened on a different monitor than captures currently target — precisely, by monitor name, when it has the window handle; display_overview returns the all-screens map. The glow and shrink land on the controlling window's own monitor, leaving other displays untouched.
Honest launching & self-heal. open_application polls for a real window and distinguishes *opened* / *running-no-window-yet* / *crashed-on-startup* / *nothing-launched* instead of always reporting success. A force-killed session's shrunk terminal is restored on the next start from a small state file (guarded against window-handle reuse).
Hot-reload (dev). Set COMPUTER_USE_DEV=on to add a reload tool that importlib.reloads the logic modules in-process, so edited code takes effect without restarting the session — handy while developing automation against the server. It is off by default (the clean 29-tool surface).
See [SPEC.md](SPEC.md) for the authoritative, tool-by-tool contract and the module architecture.
The built-in computer use grants apps from the list of *installed* applications and applies a tiered model: browsers are visible but read-only, terminals and IDEs are click-only — no keystrokes, by architecture. Sensible defaults for general desktop use, and they close off the workflow this server was built for: letting the agent launch the app you are *currently building* — a loose .exe no install list knows about — click through it, type into it, verify behavior, then go back to the IDE and edit code.
omni grants every approved app at tier:"full" — IDEs, terminals, and dev builds included (open_application accepts a full .exe path). Full power, your responsibility.
A CLI has no permission GUI, so request_access auto-grants resolvable apps at tier:"full" and returns the same JSON shape; foreground gating is permissive by default (it only errors on an empty allowlist). Masking of non-allowlisted windows defaults off (the rect-based masker over-masks). Teach mode is a stub — it executes the step's actions and returns a screenshot, but there is no fullscreen tooltip overlay (a desktop-app feature). Each of these is controlled by the env vars below.
| Variable | Default | Meaning |
|---|---|---|
COMPUTER_USE_MAX_PIXELS | 1200000 | Max pixels in a downscaled screenshot (≈ 1.2 MP). |
COMPUTER_USE_MASKING | off | Mask non-allowlisted app windows in screenshots. |
COMPUTER_USE_ENFORCE_FOREGROUND | off | Block input when the frontmost app isn't allowlisted. |
COMPUTER_USE_AUTOGRANT | on | Auto-grant resolvable apps on request_access. |
COMPUTER_USE_DEV | off | Register the developer reload hot-reload tool (on → 30 tools). |
COMPUTER_USE_LOG_DIR | %LOCALAPPDATA%\omni-computer-use\logs | Directory for the rotating mcp.log (tool calls + tracebacks). |
COMPUTER_USE_GLOW | on | Static orange edge glow while a session is active. |
COMPUTER_USE_SHRINK_TERMINAL | on | Shrink the controlling window to the top-right corner. |
COMPUTER_USE_HIDE_CONTROLLING | on | Park the controlling window off-screen during captures. |
COMPUTER_USE_PILL | on | Centered "Agent is using your computer" pill. |
COMPUTER_USE_GLOW_COLOR | 217,119,87 | Glow / pill color (#D97757). |
COMPUTER_USE_GLOW_ALPHA | 0.4 | Peak glow opacity at the very edge. |
COMPUTER_USE_GLOW_BAND | 0.05 | Glow band width as a fraction of the smaller screen dimension. |
COMPUTER_USE_GLOW_EXCLUDE | on | Exclude the glow / pill from captures. |
type injects Unicode directly and bypasses the input method (CJK and emoji work in any layout). key / hold_key send virtual-key codes that pass through the active IME — so with a Chinese IME active, sending the letter a opens a pinyin candidate list instead of typing a. Use type for text; switch the IME to English for letter shortcuts.wait.type / key while the controlling window holds focus. Start the batch with a click on the target window: the click moves focus, and the keyboard actions that follow in the same batch go where you meant.只显示了开头部分;其余内容请在仓库中阅读