kdbx for VS Code
io.github.yarrasys/kdbx
Read-only access to secrets in a local KeePassXC vault. Runs commands with them injected.
client:VS Code
transport:stdio
runtime:oci
Install kdbx in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "keepassxc-dir",
"description": "KEEPASSXC_DIR",
"password": true
},
{
"type": "promptString",
"id": "kdbx-env",
"description": "KDBX_ENV",
"password": true
}
],
"servers": {
"kdbx": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/yarrasys/kdbx:0.3.1"
],
"env": {
"KEEPASSXC_DIR": "${input:keepassxc-dir}",
"KDBX_ENV": "${input:kdbx-env}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs