mcp server vault for VS Code
io.github.aiwerk/mcp-server-vault
Bitwarden/Vaultwarden for agents: list tagged items, TOTP codes, one-time Sends, save new secrets.
client:VS Code
transport:stdio
runtime:npm
Install mcp server vault in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "vault-region",
"description": "VAULT_REGION",
"password": true
},
{
"type": "promptString",
"id": "vault-api-base",
"description": "VAULT_API_BASE",
"password": true
},
{
"type": "promptString",
"id": "vault-client-id",
"description": "VAULT_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "vault-client-secret",
"description": "VAULT_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "vault-master-password",
"description": "VAULT_MASTER_PASSWORD",
"password": true
}
],
"servers": {
"mcp-server-vault": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aiwerk/mcp-server-vault"
],
"env": {
"VAULT_REGION": "${input:vault-region}",
"VAULT_API_BASE": "${input:vault-api-base}",
"VAULT_CLIENT_ID": "${input:vault-client-id}",
"VAULT_CLIENT_SECRET": "${input:vault-client-secret}",
"VAULT_MASTER_PASSWORD": "${input:vault-master-password}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs