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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b1629caa0e0a157b38e73ef773fae18f489d58bd858399ccc579b2167e088dd
|
|
| MD5 |
e9ab7d787d0184a49ec88e8130df143e
|
|
| BLAKE2b-256 |
9ccbf27e8f5d7214cd6fabf684b019d19ded2d9559431129950c4c9dbe78609c
|
Provenance
The following attestation bundles were made for vnc_computer_use-0.2.1.tar.gz:
Publisher:
publish.yml on EYHN/vnc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vnc_computer_use-0.2.1.tar.gz -
Subject digest:
2b1629caa0e0a157b38e73ef773fae18f489d58bd858399ccc579b2167e088dd - Sigstore transparency entry: 1247230389
- Sigstore integration time:
-
Permalink:
EYHN/vnc@c629649c76dfdf39736dc9f62c213125d777f500 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/EYHN
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c629649c76dfdf39736dc9f62c213125d777f500 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vnc_computer_use-0.2.1-py3-none-any.whl.
File metadata
- Download URL: vnc_computer_use-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db2474ab609f31fff83b72ad98bf98a9d0d29d3e76de22e1952533baf3dd466
|
|
| MD5 |
7b32e81c33d79883ed0df092087996c9
|
|
| BLAKE2b-256 |
f4f6582081f0a4cedfbd7a80c52a80b708ec2fd19cd714f16c1b6591216ea02c
|
Provenance
The following attestation bundles were made for vnc_computer_use-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on EYHN/vnc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vnc_computer_use-0.2.1-py3-none-any.whl -
Subject digest:
9db2474ab609f31fff83b72ad98bf98a9d0d29d3e76de22e1952533baf3dd466 - Sigstore transparency entry: 1247230419
- Sigstore integration time:
-
Permalink:
EYHN/vnc@c629649c76dfdf39736dc9f62c213125d777f500 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/EYHN
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c629649c76dfdf39736dc9f62c213125d777f500 -
Trigger Event:
push
-
Statement type: