MCP Vaultwarden MCP Server

MCP pour interagir avec Vaultwarden via la CLI Bitwarden.

Local serverstdio

What is the MCP Vaultwarden MCP server?

MCP pour interagir avec Vaultwarden via la CLI Bitwarden. The mcp vaultwarden mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 7 defined tools rather than through you.

What it actually does

Un serveur MCP (Model-Context-Protocol) qui expose une interface simple et robuste pour interagir avec une instance Vaultwarden auto-hébergée. Il agit comme un wrapper autour de la CLI officielle de Bitwarden (bw), permettant à des agents IA ou des scripts d'automatisation de gérer des secrets de manière programmatique.

Its toolset

Everything the assistant can do here goes through one of these:

  • get_secret — The get_secret tool exposed by this server
  • list_secrets — The list_secrets tool exposed by this server
  • get_secret_template — The get_secret_template tool exposed by this server
  • create_secret — The create_secret tool exposed by this server
  • update_secret — The update_secret tool exposed by this server
  • delete_secret — The delete_secret tool exposed by this server
  • sync — Force la synchronisation du coffre local avec le serveur distant

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration

You will need 4 environment variables: BITWARDEN_HOST, BW_CLIENTID, BW_CLIENTSECRET, BW_MASTER_PASSWORD. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Vaultwarden's toolset — get_secret, list_secrets, get_secret_template and 4 more — is a fair guide to whether it matches your workflow. It is maintained by fkom13; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp vaultwarden mcp server does with a few real requests.

Available tools

ToolWhat it does
get_secretThe get_secret tool exposed by this server.
list_secretsThe list_secrets tool exposed by this server.
get_secret_templateThe get_secret_template tool exposed by this server.
create_secretThe create_secret tool exposed by this server.
update_secretThe update_secret tool exposed by this server.
delete_secretThe delete_secret tool exposed by this server.
syncForce la synchronisation du coffre local avec le serveur distant.

How to install the MCP Vaultwarden MCP server

{
  "mcpServers": {
    "vaultwarden": {
      "command": "npx",
      "args": [
        "mcp-vaultwarden-server"
      ],
      "env": {
        "BITWARDEN_HOST": "https://votre-instance.vaultwarden.com",
        "BW_CLIENTID": "user.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "BW_CLIENTSECRET": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "BW_MASTER_PASSWORD": "votre-mot-de-passe-maitre"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
BITWARDEN_HOSTEndpoint or connection string the server talks to.Optional
BW_CLIENTIDConfiguration value read at startup.Optional
BW_CLIENTSECRETCredential the server authenticates with.Yes
BW_MASTER_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP Vaultwarden to get secret.
  • Use MCP Vaultwarden to list secrets.
  • Use MCP Vaultwarden to get secret template.

Frequently asked questions

It connects MCP Vaultwarden to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (get_secret, list_secrets, get_secret_template, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Vaultwarden directly.