Vaultwarden MCP
Security-first Bitwarden/Vaultwarden secrets for AI agents: allowlists, use-without-reveal, approval
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@metodex/vaultwarden-mcpclaude mcp add vaultwarden-mcp -e 'VW_POLICY=<VW_POLICY>' -e 'VW_SESSION_FILE=<VW_SESSION_FILE>' -e 'BITWARDENCLI_APPDATA_DIR=<BITWARDENCLI_APPDATA_DIR>' -e 'VW_APPROVAL=never' -- npx -y @metodex/vaultwarden-mcp@0.3.2 serve
{
"mcpServers": {
"vaultwarden-mcp": {
"command": "npx",
"args": [
"-y",
"@metodex/vaultwarden-mcp@0.3.2",
"serve"
],
"env": {
"VW_POLICY": "<VW_POLICY>",
"VW_SESSION_FILE": "<VW_SESSION_FILE>",
"BITWARDENCLI_APPDATA_DIR": "<BITWARDENCLI_APPDATA_DIR>",
"VW_APPROVAL": "never"
}
}
}
}
Environment variables
VW_POLICYrequired Path to the policy (allowlist) JSON fileVW_SESSION_FILErequired Path to a file holding the bw session keyBITWARDENCLI_APPDATA_DIRbw CLI state directory (logged-in account)VW_APPROVALAsk the user before releasing secrets: never | always
Frequently asked questions
What is Vaultwarden MCP?
Security-first Bitwarden/Vaultwarden secrets for AI agents: allowlists, use-without-reveal, approval
How do I install Vaultwarden MCP?
It runs on your machine. In Claude Code: claude mcp add vaultwarden-mcp -e 'VW_POLICY=<VW_POLICY>' -e 'VW_SESSION_FILE=<VW_SESSION_FILE>' -e 'BITWARDENCLI_APPDATA_DIR=<BITWARDENCLI_APPDATA_DIR>' -e 'VW_APPROVAL=never' -- npx -y @metodex/vaultwarden-mcp@0.3.2 serve. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Vaultwarden MCP need an API key?
Yes. It expects VW_POLICY, VW_SESSION_FILE, which you set in its configuration.
Is Vaultwarden MCP open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Vaultwarden MCP?
It is published by metodex-tech. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.