Skip to content
VS Code

keymaster mcp for VS Code

io.github.ainoakari/keymaster-mcp

Read-only runtime secret retrieval from HashiCorp Vault via Keymaster for autonomous AI agents.

client:VS Code transport:stdio runtime:npm

Install keymaster mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "user-keymaster-url",
      "description": "USER_KEYMASTER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "user-keymaster-token",
      "description": "USER_KEYMASTER_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "keymaster-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@akari-os/keymaster-mcp"
      ],
      "env": {
        "USER_KEYMASTER_URL": "${input:user-keymaster-url}",
        "USER_KEYMASTER_TOKEN": "${input:user-keymaster-token}"
      }
    }
  }
}

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

keymaster mcp in other clients