What is MCP Vaultwarden Connector?
MCP Vaultwarden Connector is an MCP server that exposes a simple interface to interact with a self-hosted Vaultwarden instance. It wraps the official Bitwarden CLI (bw), automatically managing sessions and unlocking the vault on demand, making it suitable for AI agents and automation scripts.
How to use MCP Vaultwarden Connector?
Install via NPM (recommended) or from source. Configure the client to launch the server with environment variables: BITWARDEN_HOST, BW_CLIENTID, BW_CLIENTSECRET, and BW_MASTER_PASSWORD. Then invoke tools like get_secret, list_secrets, create_secret, etc., through the MCP protocol.
Key features of MCP Vaultwarden Connector
- Auto-unlock with session caching for vault access.
- Lock mechanism prevents concurrent unlock conflicts.
- Full CRUD operations on secrets.
- JSON templates for creating new items.
- Relies on official
bw CLI for all cryptographic operations.
Use cases of MCP Vaultwarden Connector
- AI agents fetching credentials from a self-hosted Vaultwarden.
- Scripted automation for rotating secrets or provisioning access.
- Integration with CI/CD pipelines to manage deployment secrets.
- Non-interactive management of vault items (create, update, delete).
コメント