Skip to content
VS Code

GuardianShield for VS Code

io.github.sparkvibe-io/guardianshield

AI security layer: code scanning, PII detection, prompt injection, secrets, CVEs

client:VS Code transport:stdio runtime:pypi

Install GuardianShield in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "guardianshield-profile",
      "description": "GUARDIANSHIELD_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "guardianshield-audit-path",
      "description": "GUARDIANSHIELD_AUDIT_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "guardianshield-debug",
      "description": "GUARDIANSHIELD_DEBUG",
      "password": true
    }
  ],
  "servers": {
    "guardianshield": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "guardianshield"
      ],
      "env": {
        "GUARDIANSHIELD_PROFILE": "${input:guardianshield-profile}",
        "GUARDIANSHIELD_AUDIT_PATH": "${input:guardianshield-audit-path}",
        "GUARDIANSHIELD_DEBUG": "${input:guardianshield-debug}"
      }
    }
  }
}

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

GuardianShield in other clients