-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
Claude edited this page Jun 30, 2026
·
1 revision
A Python FastMCP server (stdio by default, optional streamable-HTTP). It performs real OS actions through a set of platform backends.
| File | Responsibility |
|---|---|
src/lowlevel_computer_use_mcp/server.py |
All 53 MCP tool definitions; platform dispatch (IS_WINDOWS/IS_LINUX); CLI (--http, --admin, install-startup, …) |
winio.py |
Windows backend (ctypes Win32): background PostMessage input, PrintWindow capture, off-screen desktop, show/hide, admin/elevation helpers |
linuxio.py |
Linux backend: window mgmt + background input + per-window capture via xdotool/wmctrl/ImageMagick; Xvfb virtual displays |
ahk.py |
AutoHotkey detection + run_script/control_send/control_click
|
wslio.py |
Ephemeral WSL provisioning (Alpine minirootfs download / clone / import; run; destroy) |
installer_gui.py |
Tkinter auto-installer (uv bootstrap, register clients, YOLO, startup, AHK) |
mcp (FastMCP), pydantic, pyautogui, pygetwindow, psutil, mss, pillow,
numpy, imageio + imageio-ffmpeg. Windows extras come via pywin32/ctypes;
Linux uses system CLI tools. Managed with uv (pyproject.toml, uv.lock).
- stdio (default) — spawned per client (Claude Code, Codex).
-
streamable-HTTP (
--http --host --port) — an always-on service, e.g. the boot-startup task; clients connect tohttp://host:port/mcp.
- Tools validate input with Pydantic models and return a JSON string
{"ok": true, ...}/{"ok": false, "error": "..."}. - Annotations mark
readOnlyHint/destructiveHint/idempotentHint/openWorldHint. - Cross-platform tools dispatch to
winio/linuxiobased on the host OS; Windows-only (wsl_*,ahk_*, admin/boot, headless desktop) and Linux-only (*_virtual_display,linux_status) tools report unavailability gracefully off-platform.
The server ships condensed instructions (enumerating all tools and patterns) sent
to clients on connect, plus a full Macros
(skills/lowlevel-computer-use/) with exhaustive references.
lowlevel-computer-use-mcp · MIT License ·
Getting started
Reference
Features
More