关于 oriel-vnc
通过屏幕截图、点击和按键操作任何运行 VNC 服务的桌面(macOS、Linux、Windows)
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
工具
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
oriel-vnc
oriel-vnc is an MCP server that lets an AI assistant operate any computer that runs a VNC server, through screenshots, clicks and keys.
It is the second MCP server in oriel, for what oriel.exe can't reach: Macs,
Linux machines, and screens with no accessibility tree, such as games, remote desktops and canvases. For Windows apps,
use oriel.exe: it reads each window as text, so the assistant doesn't need a screenshot at every step.
oriel-vnc runs on the computer where the assistant runs and connects to each machine's VNC server. Nothing is installed on the machines themselves.
Set up
-
Turn on a VNC server on each machine: Screen Sharing on macOS (System Settings → General → Sharing), a VNC server such as TigerVNC or x11vnc on Linux, TightVNC or similar on Windows. Allow it only from your own network or tailnet.
-
List the machines in
~/.config/oriel-vnc/hosts.json(or the file$ORIEL_VNC_HOSTSnames). See hosts.example.json:{ "mac": { "address": "192.168.1.20::5900", "username": "env:MAC_VNC_USER", "password": "env:MAC_VNC_PASSWORD" }, "linux-box": { "address": "linux-box.local::5901", "password": "cmd:op read op://Private/VNC linux-box/password" } }addressishost::port.username(macOS logins need one) andpasswordcan be the value itself,env:NAMEto read an environment variable, orcmd:...to take the output of a command such as a password manager's CLI. Prefer the last two, so the file holds no passwords.encodingiszrle(the default),hextileorraw. Userawif screenshots time out against a TigerVNC server.cmd_keyis the keysym thatcmdinvnc_keysends (defaultsuper).
-
Add it to your MCP client. With uv installed:
claude mcp add --scope user oriel-vnc -- uvx oriel-vncOther clients: the command is
uvxwith the argumentoriel-vnc. From a checkout,uv run --script vnc/oriel_vnc.pyworks too.
Then ask the assistant to take a screenshot of one of your machines.
Tools
| Tool | What it does |
|---|---|
vnc_hosts | Lists the configured machines, their address and last seen screen size |
vnc_screenshot | The whole screen, scaled down so its long edge is at most 1456 px |
vnc_zoom | A region at full resolution, for small text |
vnc_click | Click at x,y (left, right or middle; clicks=2 for a double-click) |
vnc_move | Move the pointer, for hover menus and tooltips |
vnc_drag | Press, move in steps, release |
vnc_scroll | Wheel clicks at x,y in any direction |
vnc_type | Type text into the focused field |
vnc_key | A key or combination: enter, cmd+space, ctrl+alt+t, win+r |
Every x,y is in the pixel space of the latest full screenshot of that machine; oriel-vnc scales it to the real screen. Actions reply with a fresh screenshot about 0.6 s later, so the assistant sees what happened.
How it behaves
- One connection per machine, kept open between calls. A failed call drops the connection and retries once.
- Quick to fail. A machine that is off or asleep fails within 5 seconds instead of waiting out the VNC client's 30-second timeout.
- Logins in memory only. oriel-vnc reads them on first use and never writes them to disk.
Safety
oriel-vnc can do anything a person at that screen could, including on the lock screen. Point it only at machines you own, keep VNC off the public internet, and don't let the assistant act on instructions it reads on screen. oriel's SECURITY.md covers how to report a problem.
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。