mcpField
O
oriel-vnc

oriel-vnc

ローカル
yordilorenzo.github.ioその他0今日更新

oriel-vnc について

スクリーンショット、クリック、キー入力を通じて、VNCサーバーを実行するあらゆるデスクトップ(macOS、Linux、Windows)を操作

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"yordilorenzo-oriel-vnc": {
"command": "uvx",
"args": [
"oriel-vnc"
],
"env": {
"ORIEL_VNC_HOSTS": "<ORIEL_VNC_HOSTS>"
}
}
}
}
起動コマンドuvx oriel-vnc
設定が必要な環境変数
ORIEL_VNC_HOSTSPath to the hosts file that lists each machine's VNC address and login. Default: ~/.config/oriel-vnc/hosts.json

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
pypioriel-vnc0.1.0

ツール

ツール一覧はまだ取得されていません

ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

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

  1. 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.

  2. List the machines in ~/.config/oriel-vnc/hosts.json (or the file $ORIEL_VNC_HOSTS names). 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" }
    }
    
    • address is host::port.
    • username (macOS logins need one) and password can be the value itself, env:NAME to read an environment variable, or cmd:... to take the output of a command such as a password manager's CLI. Prefer the last two, so the file holds no passwords.
    • encoding is zrle (the default), hextile or raw. Use raw if screenshots time out against a TigerVNC server.
    • cmd_key is the keysym that cmd in vnc_key sends (default super).
  3. Add it to your MCP client. With uv installed:

    claude mcp add --scope user oriel-vnc -- uvx oriel-vnc
    

    Other clients: the command is uvx with the argument oriel-vnc. From a checkout, uv run --script vnc/oriel_vnc.py works too.

Then ask the assistant to take a screenshot of one of your machines.

Tools

ToolWhat it does
vnc_hostsLists the configured machines, their address and last seen screen size
vnc_screenshotThe whole screen, scaled down so its long edge is at most 1456 px
vnc_zoomA region at full resolution, for small text
vnc_clickClick at x,y (left, right or middle; clicks=2 for a double-click)
vnc_moveMove the pointer, for hover menus and tooltips
vnc_dragPress, move in steps, release
vnc_scrollWheel clicks at x,y in any direction
vnc_typeType text into the focused field
vnc_keyA 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.

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。