capsulate
v0.7.1Real Linux and Windows desktop VMs for AI agents: exec, files, computer-use and snapshots via MCP.
Values you need
| Variable | What it is | |
|---|---|---|
CAPSULATE_API_KEY | required secret | A cap_live_ API key from the dashboard (Settings → API & Keys). |
CAPSULATE_BASE_URL | optional | API base URL. Defaults to https://api.capsulate.dev. |
CAPSULATE_TEAM_ID | optional | Team to bill. Defaults to the API key's team. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add capsulate -e 'CAPSULATE_API_KEY=<CAPSULATE_API_KEY>' -- npx -y --package=@capsulate/mcp@0.7.1 capsulate-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"capsulate": {
"args": [
"-y",
"--package=@capsulate/mcp@0.7.1",
"capsulate-mcp"
],
"command": "npx",
"env": {
"CAPSULATE_API_KEY": "<CAPSULATE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"capsulate": {
"args": [
"-y",
"--package=@capsulate/mcp@0.7.1",
"capsulate-mcp"
],
"command": "npx",
"env": {
"CAPSULATE_API_KEY": "<CAPSULATE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CAPSULATE_API_KEY",
"id": "capsulate-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"capsulate": {
"args": [
"-y",
"--package=@capsulate/mcp@0.7.1",
"capsulate-mcp"
],
"command": "npx",
"env": {
"CAPSULATE_API_KEY": "${input:capsulate-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.capsulate]
command = "npx"
args = ["-y", "--package=@capsulate/mcp@0.7.1", "capsulate-mcp"]
env = { "CAPSULATE_API_KEY" = "<CAPSULATE_API_KEY>" }For AI agents
- Ask the user for: CAPSULATE_API_KEY. 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: capsulate_launch, capsulate_list, capsulate_get, capsulate_destroy, capsulate_exec, capsulate_run_code, capsulate_write_file, capsulate_read_file, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json