Skip to content
VS Code

Bulwark for VS Code

io.github.bpolania/bulwark

AI agent governance: content scanning, audit logs, policy evaluation, session management.

client:VS Code transport:stdio runtime:oci

Install Bulwark in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bulwark-config",
      "description": "BULWARK_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bulwark-session-token",
      "description": "BULWARK_SESSION_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "bulwark": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/bpolania/bulwark:v0.2.0"
      ],
      "env": {
        "BULWARK_CONFIG": "${input:bulwark-config}",
        "BULWARK_SESSION_TOKEN": "${input:bulwark-session-token}"
      }
    }
  }
}

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

Bulwark in other clients