Claude KVM

v3.0.0
io.github.ARAS-Workspace/claude-kvm Checked 2 days ago Published 1 day ago

MCP server — control remote desktops via VNC with a native Swift daemon and Apple Vision OCR

Values you need

VariableWhat it is
VNC_HOSTrequired VNC server hostname or IP
VNC_PORTrequired VNC server port
VNC_USERNAMEoptional secret VNC/ARD username
VNC_PASSWORDoptional secret VNC/ARD password
CLAUDE_KVM_DAEMON_PATHrequired Path to claude-kvm-daemon binary

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add claude-kvm -e 'CLAUDE_KVM_DAEMON_PATH=<CLAUDE_KVM_DAEMON_PATH>' -e 'VNC_HOST=<VNC_HOST>' -e 'VNC_PORT=<VNC_PORT>' -- npx -y claude-kvm@2.0.12
Add to claude_desktop_config.json
{
  "mcpServers": {
    "claude-kvm": {
      "args": [
        "-y",
        "claude-kvm@2.0.12"
      ],
      "command": "npx",
      "env": {
        "CLAUDE_KVM_DAEMON_PATH": "<CLAUDE_KVM_DAEMON_PATH>",
        "VNC_HOST": "<VNC_HOST>",
        "VNC_PORT": "<VNC_PORT>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "claude-kvm": {
      "args": [
        "-y",
        "claude-kvm@2.0.12"
      ],
      "command": "npx",
      "env": {
        "CLAUDE_KVM_DAEMON_PATH": "<CLAUDE_KVM_DAEMON_PATH>",
        "VNC_HOST": "<VNC_HOST>",
        "VNC_PORT": "<VNC_PORT>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CLAUDE_KVM_DAEMON_PATH",
      "id": "claude-kvm-daemon-path",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "VNC_HOST",
      "id": "vnc-host",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "VNC_PORT",
      "id": "vnc-port",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "claude-kvm": {
      "args": [
        "-y",
        "claude-kvm@2.0.12"
      ],
      "command": "npx",
      "env": {
        "CLAUDE_KVM_DAEMON_PATH": "${input:claude-kvm-daemon-path}",
        "VNC_HOST": "${input:vnc-host}",
        "VNC_PORT": "${input:vnc-port}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.claude-kvm]
command = "npx"
args = ["-y", "claude-kvm@2.0.12"]
env = { "CLAUDE_KVM_DAEMON_PATH" = "<CLAUDE_KVM_DAEMON_PATH>", "VNC_HOST" = "<VNC_HOST>", "VNC_PORT" = "<VNC_PORT>" }

For AI agents

  1. Ask the user for: VNC_HOST, VNC_PORT, CLAUDE_KVM_DAEMON_PATH. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: vnc_command, action_queue, task_complete, task_failed.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json