Skip to content
VS Code

Warrant for VS Code

io.github.s0fractal/warrant

Record an agent's decisions with reasons anyone can re-execute offline — verify recomputes them.

client:VS Code transport:stdio runtime:pypi

Install Warrant in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "warrant-store",
      "description": "WARRANT_STORE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warrant-key",
      "description": "WARRANT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warrant-actor",
      "description": "WARRANT_ACTOR",
      "password": true
    }
  ],
  "servers": {
    "warrant": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "warrant-verify"
      ],
      "env": {
        "WARRANT_STORE": "${input:warrant-store}",
        "WARRANT_KEY": "${input:warrant-key}",
        "WARRANT_ACTOR": "${input:warrant-actor}"
      }
    }
  }
}

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

Warrant in other clients