Skip to content
VS Code

Gadriel AI Security Harness for VS Code

io.github.gadriel-ai/gadriel

AI Security Harness: SAST, secrets, deps, containers, config & OWASP LLM. Scans locally.

client:VS Code transport:stdio runtime:npm

Install Gadriel AI Security Harness in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gadriel-no-anonymous-auth",
      "description": "GADRIEL_NO_ANONYMOUS_AUTH",
      "password": true
    }
  ],
  "servers": {
    "gadriel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gadriel"
      ],
      "env": {
        "GADRIEL_NO_ANONYMOUS_AUTH": "${input:gadriel-no-anonymous-auth}"
      }
    }
  }
}

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

Gadriel AI Security Harness in other clients