Skip to content
VS Code

capsulate for VS Code

io.github.capsulatedev/capsulate

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

client:VS Code transport:stdio runtime:npm

Install capsulate in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "capsulate-api-key",
      "description": "CAPSULATE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "capsulate-base-url",
      "description": "CAPSULATE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "capsulate-team-id",
      "description": "CAPSULATE_TEAM_ID",
      "password": true
    }
  ],
  "servers": {
    "capsulate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@capsulate/mcp"
      ],
      "env": {
        "CAPSULATE_API_KEY": "${input:capsulate-api-key}",
        "CAPSULATE_BASE_URL": "${input:capsulate-base-url}",
        "CAPSULATE_TEAM_ID": "${input:capsulate-team-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

capsulate in other clients