MCP Virtual Computer
v0.2.11A persistent Docker or Fly computer with a Three.js interface and optional live Xfce desktop.
Values you need
| Variable | What it is | |
|---|---|---|
BACKEND | optional | Computer provider. Use docker for a local container or fly for a permanent Fly Machine. Default: docker |
COMPUTER_ID | required | Stable identity of the one persistent computer. Default: agent-workstation |
DESKTOP_ENVIRONMENT | optional | Start the real Xfce desktop instead of the virtual desktop. Default: true |
NETWORK_ACCESS | optional | Allow outbound network access from the computer. Default: true |
AUTO_INSTALL_DOCKER | optional | On Windows, install and start Docker Desktop lazily when needed. Default: true |
AUTO_INSTALL_FLYCTL | optional | Download flyctl into the user profile when it is missing. Default: true |
FLY_API_TOKEN | optional secret | Optional Fly API token. A cached flyctl login is also supported. |
EXPOSE_LIFECYCLE_TOOLS | optional | Also expose runtime status and network/desktop switching tools to the model. The MCP App can always use them. Default: false |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add mcp-virtual-computer -e COMPUTER_ID=agent-workstation -- uvx mcp-virtual-computer==0.2.11Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-virtual-computer": {
"args": [
"mcp-virtual-computer==0.2.11"
],
"command": "uvx",
"env": {
"COMPUTER_ID": "agent-workstation"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-virtual-computer": {
"args": [
"mcp-virtual-computer==0.2.11"
],
"command": "uvx",
"env": {
"COMPUTER_ID": "agent-workstation"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "COMPUTER_ID",
"id": "computer-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-virtual-computer": {
"args": [
"mcp-virtual-computer==0.2.11"
],
"command": "uvx",
"env": {
"COMPUTER_ID": "${input:computer-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-virtual-computer]
command = "uvx"
args = ["mcp-virtual-computer==0.2.11"]
env = { "COMPUTER_ID" = "agent-workstation" }For AI agents
- Ask the user for: COMPUTER_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: terminal_execute, computer_ui, runtime_status, set_network_access, set_desktop_environment, list_directory, read_file, write_file, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json