capsulate

v0.7.1
io.github.capsulatedev/capsulate Checked 3 days ago Published 20 days ago

Real Linux and Windows desktop VMs for AI agents: exec, files, computer-use and snapshots via MCP.

Values you need

VariableWhat it is
CAPSULATE_API_KEYrequired secret A cap_live_ API key from the dashboard (Settings → API & Keys).
CAPSULATE_BASE_URLoptional API base URL. Defaults to https://api.capsulate.dev.
CAPSULATE_TEAM_IDoptional 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-mcp
Add 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

  1. Ask the user for: CAPSULATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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