Skip to content
VS Code

AMR (Agent Mandate Registry) for VS Code

io.github.jc7333/mandatia

Records who authorized an AI agent to do what, until when; signed tokens, hash-chained journal.

client:VS Code transport:stdio runtime:pypi

Install AMR (Agent Mandate Registry) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "amr-db-path",
      "description": "AMR_DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "amr-signing-key-path",
      "description": "AMR_SIGNING_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "amr-public-key-path",
      "description": "AMR_PUBLIC_KEY_PATH",
      "password": true
    }
  ],
  "servers": {
    "mandatia": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mandatia"
      ],
      "env": {
        "AMR_DB_PATH": "${input:amr-db-path}",
        "AMR_SIGNING_KEY_PATH": "${input:amr-signing-key-path}",
        "AMR_PUBLIC_KEY_PATH": "${input:amr-public-key-path}"
      }
    }
  }
}

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

AMR (Agent Mandate Registry) in other clients