SuperAPI AI Directory

kasm-use

kasm-use is an open-source MCP-based tool that lets AI agents view and operate Kasm Workspaces desktop sessions through natural language. It can start sessions, take screenshots to observe, click, type, press keys, scroll, and stop sessions. It works with MCP clients such as Claude Code, Claude Desktop, OpenCode, and Cursor, and can also be used as a Hermes Agent plugin. The project drives the desktop through the Kasm API and the session's own KasmVNC connection, requires no components preinstalled in the image, and supports watching or taking over sessions in the Kasm dashboard. It is currently in an early stage and has mainly been tested on Kasm 1.19.0 with specific images and clients.

Open website

About this tool

kasm-use is used to let AI agents use desktops in Kasm Workspaces like a human. Unlike other Kasm MCP servers that only manage sessions (start, list, stop), kasm-use lets agents actually see the desktop and perform actions, similar to computer-use or browser-use, but running in the user's own Kasm environment.

Main capabilities: agents can use tools to start sessions, view screenshots, click, type text, press keys, scroll, and stop sessions. Sessions are created as a specified Kasm user and appear in the Kasm dashboard, where users can open the session to watch the agent work or handle login and CAPTCHA themselves.

Usage: it supports local stdio mode, where the MCP client starts the server and uv must be installed; it also supports running as a service over streamable HTTP, with clients connecting to http://host:8000/mcp and carrying Authorization: Bearer <KASM_USE_TOKEN>, with health check at GET /healthz. It can also be enabled as a Hermes Agent plugin. Before use, Kasm Workspaces 1.19 or later, a Kasm API key (requiring Images View, User, Users Auth Session, Sessions View, and Sessions Delete permissions), and a Kasm user ID are required.

Use cases: letting AI agents operate disposable desktops in your own Kasm environment, for example driving workspaces such as Chrome, a terminal, or Minetest, suitable for experiments and testing that require remote desktop automation.

Limitations and security: the project is in an early stage and relies on undocumented Kasm interfaces, so other versions and installation types may be incompatible. The Kasm API key is a server-level permission and cannot be restricted to a single user; the tools only operate sessions started by this process, and old sessions are no longer managed after a restart. Input actions only report "sent"; results must be confirmed with the next screenshot. CAPTCHA, passwords, MFA, and payments require human takeover. It is slower than local browser tools because every step requires a screenshot round trip. Using disposable workspaces and running the service in a private network are recommended.