Skip to main content

VNC Computer-Use CLI - control a remote desktop via VNC for AI computer-use agents

Project description

vnc-computer-use

VNC Computer-Use CLI - control a remote desktop via VNC for AI computer-use agents.

Installation

pip install vnc-computer-use

Claude Code Skill

To add VNC desktop control as a skill for Claude Code:

npx skills add EYHN/vnc --skill vnc

This installs the /vnc skill, which teaches Claude how to connect to VNC servers, take screenshots, click, type, and interact with remote desktops autonomously.

Usage

Connect to a VNC server

vnc connect localhost::5900
vnc connect myhost:0 --password secret
vnc connect myhost:0 --username user --password pass  # macOS Screen Sharing

Interact with the remote desktop

# Screenshots
vnc get_screenshot -o screen.png
vnc get_screenshot  # returns base64 JSON

# Keyboard
vnc key enter
vnc key ctrl-c
vnc type "hello world"

# Mouse
vnc left_click 100 200
vnc right_click 300 400
vnc double_click 100 200
vnc mouse_move 500 500
vnc left_click_drag 100 200
vnc scroll down 100 200

# Info
vnc get_cursor_position
vnc get_screen_size
vnc status

Multi-session support

vnc connect host1::5900 --session work
vnc connect host2::5900 --session personal
vnc -s work get_screenshot -o work.png
vnc -s personal left_click 100 200

Disconnect

vnc disconnect
vnc disconnect --session work

How it works

vnc launches a background daemon process that maintains a persistent VNC connection via vncdotool. The CLI communicates with the daemon over a Unix domain socket, making each action fast without reconnection overhead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnc_computer_use-0.2.1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vnc_computer_use-0.2.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file vnc_computer_use-0.2.1.tar.gz.

File metadata

  • Download URL: vnc_computer_use-0.2.1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vnc_computer_use-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2b1629caa0e0a157b38e73ef773fae18f489d58bd858399ccc579b2167e088dd
MD5 e9ab7d787d0184a49ec88e8130df143e
BLAKE2b-256 9ccbf27e8f5d7214cd6fabf684b019d19ded2d9559431129950c4c9dbe78609c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnc_computer_use-0.2.1.tar.gz:

Publisher: publish.yml on EYHN/vnc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vnc_computer_use-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vnc_computer_use-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9db2474ab609f31fff83b72ad98bf98a9d0d29d3e76de22e1952533baf3dd466
MD5 7b32e81c33d79883ed0df092087996c9
BLAKE2b-256 f4f6582081f0a4cedfbd7a80c52a80b708ec2fd19cd714f16c1b6591216ea02c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vnc_computer_use-0.2.1-py3-none-any.whl:

Publisher: publish.yml on EYHN/vnc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page