Computer-use for Kasm Workspaces: lets AI agents see and drive your Kasm desktops over KasmVNC.
Runs on your machine from its package; the steps are below.

Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx kasm-use
MCP client config
{
"mcpServers": {
"kasm-use": {
"command": "uvx",
"args": [
"kasm-use"
]
}
}
}Let an AI agent use a Kasm Workspaces desktop: start a session, look at the screen, click, type, press keys, scroll, and stop it — in plain language, from any MCP client (Claude Code, Claude Desktop, OpenCode, Cursor, …) or as a native Hermes Agent plugin.
Other Kasm MCP servers manage sessions (start, list, stop). kasm-use actually uses them: the agent sees the desktop and operates it, like computer-use or browser-use, inside your Kasm.
Kasm Workspaces streams disposable desktops and apps to your web browser, each running in its own container on a server you control. Click "Chrome" and you get a fresh Chrome in a browser tab; close it and it's wiped. kasm-use lets an AI agent sit down at those desktops and use them the way a person would.

Demo (3x speed): Hermes Agent runs a three-session demo with kasm-use. Chrome, Terminal and Minetest are started and driven in parallel while the Kasm dashboard shows each one live.
How the pieces connect:
flowchart LR
agent["AI agent<br/>(any MCP client or Hermes)"] -->|"tool calls:<br/>look, click, type"| ku["kasm-use"]
ku -->|"start / list / stop<br/>(API key)"| api["Kasm API"]
api -->|"starts container"| desk
ku -->|"screenshots + input<br/>(VNC over websocket)"| proxy["Kasm proxy"]
you["You, in the<br/>Kasm dashboard"] -->|"watch or take over"| proxy
proxy --> desk["Session desktop<br/>(KasmVNC in a container)"]
kasm-use works well on the setup it was built on (Kasm 1.19.0 in linuxserver's Docker image; Chrome, Terminal and Minetest workspaces; Claude Code and Hermes Agent as clients). It talks to parts of Kasm that aren't documented, so other versions and install types are the big unknown. If you try it, please open an issue, whether it worked or not: your Kasm version, how Kasm is installed, the workspace image and your MCP client are the most useful details.
| Tool | What it does |
|---|---|
kasm_list | Workspaces you can start, and your running sessions |
kasm_start | Start a workspace (e.g. Chrome); returns once the session is running |
kasm_look | Live screenshot of the session, returned as an image (~1 s) |
kasm_click | Click at x,y in the latest screenshot's coordinates |
kasm_drag | Drag from one point to another with the button held (menus, windows, sliders, drag and drop) |
kasm_type | Type text into the focused field |
kasm_key | Keys/shortcuts, e.g. ctrl+l, Return, Tab |
kasm_scroll | Scroll, optionally at a point |
kasm_stop | Destroy the session |
Kasm Workspaces 1.19 or newer (tested on 1.19.0).
A Kasm API key: Admin → Settings → Developers → API Keys → Add, then edit its permissions. kasm-use 0.3 needs exactly these five (tested end to end with a key that has only these):
kasm_start
fails with Unauthorized).kasm_list.kasm_stop.It no longer calls Kasm's exec API (Sessions Modify) or screenshot API (Session Recordings
View), so you can remove those if you granted them for 0.2 or earlier. A missing permission shows
up as Unauthorized from the tool that needs it. Read Security model first:
these permissions are server-wide.
Your Kasm user ID, so sessions belong to you: Admin → Access Management → Users → open your user; the ID is in the page URL.
Any workspace image. Nothing is installed in the session for sessions kasm-use starts.
| Variable | Required | Meaning |
|---|---|---|
KASM_API_URL | yes | e.g. https://kasm.example.com |
KASM_API_KEY / KASM_API_KEY_SECRET | yes | the API key pair |
KASM_USER_ID | yes | the Kasm user sessions are created for |
KASM_VERIFY_TLS | no | false to accept a self-signed Kasm certificate (default true) |
KASM_USE_TOKEN | HTTP only | bearer token clients must send |
Your MCP client starts the server itself. With uv installed:
{
"mcpServers": {
"kasm": {
"command": "uvx",
"args": ["kasm-use"],
"env": {
"KASM_API_URL": "https://kasm.example.com",
"KASM_API_KEY": "…",
"KASM_API_KEY_SECRET": "…",
"KASM_USER_ID": "…"
}
}
}
}
Claude Code:
claude mcp add kasm -e KASM_API_URL=https://kasm.example.com -e KASM_API_KEY=… -e KASM_API_KEY_SECRET=… -e KASM_USER_ID=… -- uvx kasm-use
docker run -d -p 8000:8000 \
-e KASM_API_URL=https://kasm.example.com -e KASM_API_KEY=… -e KASM_API_KEY_SECRET=… \
-e KASM_USER_ID=… -e KASM_USE_TOKEN="$(openssl rand -hex 32)" \
ghcr.io/rchurro/kasm-use:latest
Clients connect to http://host:8000/mcp with the header Authorization: Bearer <KASM_USE_TOKEN>.
Health check: GET /healthz. Run one replica per Kasm user: the server remembers each
session's last screenshot size in memory to map click coordinates.
Keep it on a private network (LAN, VPN, Tailscale). Anyone with the token can drive your desktops.
pip install kasm-use # into Hermes's Python environment
cp -r hermes-plugin/kasm ~/.hermes/plugins/kasm
Enable kasm under plugins.enabled, set the environment variables above, and start a new
Hermes session (/new) so the tools load.
An agent with these tools drives a real desktop on your network, so treat it like handing someone your mouse and keyboard.
Two Kasm facts shape what kasm-use can and can't promise:
request_kasm returns is a login for KASM_USER_ID, not for one session. It opens
every session that user has (verified on Kasm 1.19.0: a token from one session opened another
session of the same user over VNC).So the boundary is kasm-use itself:
session_id (yours,
another user's, one from before a restart) is refused, including for kasm_look and kasm_stop.
kasm_list only shows kasm-use's own sessions.What that means for you:
KASM_USER_ID to it. That keeps the agent's sessions
and tokens away from your own sessions if something goes wrong in kasm-use. (It is a seatbelt,
not a wall: the key itself can still reach every user.)kasm-use talks to each session's KasmVNC server directly, through Kasm's own proxy
(wss://<kasm>/desktop/<id>/vnc/websockify), with the login token request_kasm returns.
The VNC client is built in and uses only the Python standard library.
zlib), returned as PNG.
Kasm's screenshot API isn't used for these sessions: it only refreshes while a viewer is
connected, so with nobody watching it returns stale frames.What this relies on. None of this is an official Kasm API; it's how Kasm's own web viewer connects, observed on Kasm 1.19.0:
username + session_token cookies that request_kasm returns, and
requires an Origin header matching the Kasm host.A Kasm update or a different install type could change any of these. If kasm-use stops connecting, that's the likely cause, and an issue with your Kasm version and install type helps.
MIT