Skip to content
VS Code

TrigGuard for VS Code

io.github.trigguard-ai/trigguard

Deterministic execution authorization for AI agents and automated systems.

client:VS Code transport:stdio runtime:npm

Install TrigGuard in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "trigguard-api-key",
      "description": "TRIGGUARD_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "trigguard-org-id",
      "description": "TRIGGUARD_ORG_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "trigguard-gateway-url",
      "description": "TRIGGUARD_GATEWAY_URL",
      "password": true
    }
  ],
  "servers": {
    "trigguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trigguard/mcp"
      ],
      "env": {
        "TRIGGUARD_API_KEY": "${input:trigguard-api-key}",
        "TRIGGUARD_ORG_ID": "${input:trigguard-org-id}",
        "TRIGGUARD_GATEWAY_URL": "${input:trigguard-gateway-url}"
      }
    }
  }
}

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

TrigGuard in other clients