Skip to content
VS Code

Werbot for VS Code

io.github.werbot/werbot

Authorized SSH for AI agents: policy per command, approvals, transcript

client:VS Code transport:stdio runtime:oci

Install Werbot in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "werbot-home",
      "description": "WERBOT_HOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "werbot-server",
      "description": "WERBOT_SERVER",
      "password": true
    }
  ],
  "servers": {
    "werbot": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/werbot/werbot:v1.0.0"
      ],
      "env": {
        "WERBOT_HOME": "${input:werbot-home}",
        "WERBOT_SERVER": "${input:werbot-server}"
      }
    }
  }
}

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

Werbot in other clients