Skip to content
VS Code

Pretorin Compliance for VS Code

io.github.pretorin-ai/pretorin

Access Pretorin controls, evidence, narratives, and local Plan-backed Campaigns from AI tools.

client:VS Code transport:stdio runtime:pypi

Install Pretorin Compliance in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pretorin-api-key",
      "description": "PRETORIN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pretorin-mcp-allowed-project-roots",
      "description": "PRETORIN_MCP_ALLOWED_PROJECT_ROOTS",
      "password": true
    }
  ],
  "servers": {
    "pretorin": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pretorin"
      ],
      "env": {
        "PRETORIN_API_KEY": "${input:pretorin-api-key}",
        "PRETORIN_MCP_ALLOWED_PROJECT_ROOTS": "${input:pretorin-mcp-allowed-project-roots}"
      }
    }
  }
}

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

Pretorin Compliance in other clients