MCP Virtual Computer
A VM for your agent. And for you.
- click the mug to switch between a virtual desktop or a real one
- unplug the network cable and cut network access
- use the computer screen like a normal screen
- model can use terminal, create/read/edit files, see the screen, click, type
- little fun thing: if either you or the llm types text, you see that on the keyboard; if one uses the cursor, you see the mouse move on the table.
- auto installs docker and all prerequresits (hopefully)
MCP client example
{
"mcpServers": {
"virtual-computer": {
"command": "uvx",
"args": ["mcp-virtual-computer"],
"env": {
"COMPUTER_ID": "agent-workstation",
"DESKTOP_ENVIRONMENT": "false",
"NETWORK_ACCESS": "true",
"AUTO_INSTALL_DOCKER": "true",
"EXPOSE_LIFECYCLE_TOOLS": "false"
}
}
}
}
What it exposes
terminal_execute— run a command in the configured Docker computer.read_file— read a UTF-8 text file relative to/workspaceor by absolute path.write_file— atomically write a UTF-8 text file.edit_file— replace one exact text match, or all matches when requested.computer_ui— open or attach the Three.js computer view.
With DESKTOP_ENVIRONMENT=true, it additionally exposes:
look_at_screen— return the current PNG framebuffer, AT-SPI snapshot, or both.click,type, andscroll— interact by AT-SPI element reference or coordinates.list_windowsandswitch_window— enumerate and activate real Xfce windows.move_window,maximize_window,restore_window,minimize_window, andclose_window— control a selected window by ID, title, or class.computer://screen/current.png— current live framebuffer resource.computer://screen/accessibility.json— Playwright-like AT-SPI tree with element refs, roles, names, actions, focus state, and screen bounds.
Set EXPOSE_LIFECYCLE_TOOLS=true to additionally expose runtime_status, set_network_access, and set_desktop_environment; these lifecycle tools are absent by default.
License and origin
MIT licensed. This project is a Docker-only fork of Kilntainers.
Metadata
Release files for mcp-virtual-computer 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_virtual_computer-0.2.7.tar.gz | 474.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_virtual_computer-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 967.3 kB
Release files / mcp_virtual_computer-0.2.7.tar.gz
| Download URL | mcp_virtual_computer-0.2.7.tar.gz |
|---|---|
| Size | 474.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21e8903b3deb21980f0ccfef96adde009ec46926c7273966207a31145ef99e3c
|
|
BLAKE2b-256 checksum How to use checksums |
2a009c72a4af30ada1afa7f1e69e90a99547a61266da6f0802a4528721330bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mcp_virtual_computer-0.2.7-py3-none-any.whl
| Download URL | mcp_virtual_computer-0.2.7-py3-none-any.whl |
|---|---|
| Size | 492.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fa4e97aeec3105197dd267186189aa56e1ff5e613786635f2f762235d8a56f3
|
|
BLAKE2b-256 checksum How to use checksums |
94102a4efa758a164d20f6a4dc1731770f062c67263fbf2d0ab0c735eba53668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|