Skip to content
VS Code

agentvault for VS Code

io.github.bch1212/agentvault

Credential vault for AI agents — Fernet-encrypted keys, per-agent budgets, audit logs.

client:VS Code transport:stdio runtime:npm

Install agentvault in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentvault-api-url",
      "description": "AGENTVAULT_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentvault-agent-key",
      "description": "AGENTVAULT_AGENT_KEY",
      "password": true
    }
  ],
  "servers": {
    "agentvault": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentvault-mcp"
      ],
      "env": {
        "AGENTVAULT_API_URL": "${input:agentvault-api-url}",
        "AGENTVAULT_AGENT_KEY": "${input:agentvault-agent-key}"
      }
    }
  }
}

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

agentvault in other clients