MCP Virtual Computer
v0.2.11A persistent Docker or Fly computer with a Three.js interface and optional live Xfce desktop.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
terminal_execute
Execute a shell command in one persistent Debian Docker computer. Commands run in bash. Each call is independent — no state (shell variables, working directory) persists between calls (however filesystem does persist). Use the working_directory parameter or chain commands with && to control execution context. To write files or pass data without shell escaping, use the stdin parameter (e.g., command="cat > file.txt" with content in stdin). Commands time out after 120 seconds by default (override with the timeout parameter for long-running operations).
| Parameter | Type | Description |
|---|---|---|
args | array | List of arguments for direct execution (mutually exclusive with command). |
command | string | Shell command string (mutually exclusive with args). |
stdin | string | Content to pipe to stdin. |
timeout | integer | Timeout in seconds (defaults to server config). |
working_directory | string | Working directory for the command (must be absolute). |
computer_ui Open Virtual Computer
Open the interactive Three.js laptop and its computer screen.
runtime_status
Read genuine lazy container-runtime setup progress.
set_network_access
Change the running computer's real network access.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether the computer may access the network. |
set_desktop_environment
Switch the running computer between virtual and Xfce desktops.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Use a real Xfce desktop instead of the virtual desktop. |
list_directory
List a Docker directory for the interactive virtual Explorer.
| Parameter | Type | Description |
|---|---|---|
path | string | Directory path, absolute or relative to /workspace. |
read_file
Read a UTF-8 text file and show it being opened and scrolled on the virtual computer.
| Parameter | Type | Description |
|---|---|---|
path * | string | UTF-8 text file path, absolute or relative to /workspace. |
write_file
Write a UTF-8 text file and show it being typed and saved on the virtual computer.
| Parameter | Type | Description |
|---|---|---|
content * | string | Complete UTF-8 text to save. |
path * | string | UTF-8 text file path, absolute or relative to /workspace. |
create_parent_directories | boolean | Create missing parent folders before saving. |
edit_file
Replace exact UTF-8 text and show it being selected, overwritten, and saved.
| Parameter | Type | Description |
|---|---|---|
new_text * | string | Replacement UTF-8 text. |
old_text * | string | Exact text to select and replace; include context if ambiguous. |
path * | string | UTF-8 text file path, absolute or relative to /workspace. |
replace_all | boolean | Replace every exact match instead of requiring one match. |
look_at_screen
Return the live Xfce screen as PNG pixels and/or an AT-SPI snapshot.
| Parameter | Type | Description |
|---|---|---|
include_accessibility | boolean | Include the current AT-SPI accessibility snapshot. |
include_image | boolean | Include the current PNG framebuffer capture. |
click
Click an AT-SPI element reference or screen coordinates.
| Parameter | Type | Description |
|---|---|---|
button | string | Mouse button: left, middle, or right. |
clicks | integer | Click count from 1 to 3. |
element | string | AT-SPI ref from look_at_screen (for example atspi:8/0/2). |
x | integer | Desktop X coordinate. |
y | integer | Desktop Y coordinate. |
type
Type into the active Xfce control.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to type into the active control. |
clear | boolean | Select existing content with Ctrl+A before typing. |
delay_ms | integer | Delay between keystrokes in milliseconds. |
element | string | Optional AT-SPI ref to focus before typing. |
press_enter | boolean | Press Enter after typing. |
scroll
Scroll the live Xfce desktop.
| Parameter | Type | Description |
|---|---|---|
amount | integer | Number of wheel steps. |
direction | string | Scroll direction: up, down, left, or right. |
element | string | Optional AT-SPI ref to scroll over. |
x | integer | Optional desktop X coordinate. |
y | integer | Optional desktop Y coordinate. |
list_windows
List live Xfce windows.
switch_window
Activate and raise an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, exact title/class, or an unambiguous substring. |
move_window
Move or resize an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, title, or class. |
x * | integer | New desktop X coordinate. |
y * | integer | New desktop Y coordinate. |
height | integer | Optional new height. |
width | integer | Optional new width. |
maximize_window
Maximize an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, title, or class. |
restore_window
Restore an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, title, or class. |
minimize_window
Minimize an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, title, or class. |
close_window
Close an Xfce window.
| Parameter | Type | Description |
|---|---|---|
window * | string | Window ID, title, or class. |