Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

by metodex-tech

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VW_AUTHNoAuth mode: `oidc`, `token` or `none`. `none` is only allowed on loopback.inferred
VW_POLICYNoPolicy file path./policy/allowlist.json
BW_SESSIONNoBitwarden CLI session key. Alternative to VW_SESSION_FILE.
BW_CLI_PATHNoPath to the Bitwarden CLI.bw
VW_APPROVALNoDefault approval mode (`never` / `always`).never
VW_ALLOWLISTNoAlias for VW_POLICY; policy file path.
VW_AUDIT_LOGNoAlso append audit JSON lines to this file. Audit lines are always written to stderr.
VW_HTTP_HOSTNoHTTP listen address.127.0.0.1
VW_HTTP_PORTNoHTTP listen port.3000
VW_STATE_DIRNoPersist use_secret maxUses counters in use-counts.json here.
VW_TRANSPORTNoTransport mode. `http` is equivalent to `serve --http`.stdio
VW_USERS_DIRNoEnables multi-user mode: one sub-directory per OIDC user.
VW_HTTP_TOKENNoStatic bearer token for HTTP auth (at least 24 characters).
VW_PUBLIC_URLNoExternal base URL, e.g. https://vault-mcp.example.com. Required for OIDC.
VW_OIDC_ISSUERNoOIDC issuer URL.
VW_SESSION_FILENoFile with the Bitwarden CLI session key. Alternatively set BW_SESSION.$CREDENTIALS_DIRECTORY/bw-session if present
VW_ALLOWED_HOSTSNoHost header allowlist for DNS-rebinding protection.public URL host + loopback
VW_ALLOWED_USERSNoComma-separated `sub`, email or username allowlist.everyone authenticated
VW_OIDC_AUDIENCENoExpected OIDC token audience (`aud`).
VW_HTTP_TOKEN_FILENoFile containing the static bearer token for HTTP auth (at least 24 characters).
VW_OIDC_REQUIRED_SCOPESNoComma-separated scopes every OIDC token must have.
VW_SESSION_IDLE_SECONDSNoIdle MCP session expiry in seconds.1800
BITWARDENCLI_APPDATA_DIRNoBitwarden CLI state directory.bw default

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_secretA

Return one secret field of a vault item, only if that item id and field are listed in the server-side allowlist. Every call is audited. Prefer use_secret when the value only needs to be sent to an API.

vault_statusA

Return only whether the Bitwarden CLI vault is unlocked, locked, unauthenticated, or in an unknown state.

list_item_metadataA

List item IDs, names, and types only. Passwords, notes, fields, attachments, and secret values are never returned.

use_secretA

Send an HTTPS request with a vault secret injected server-side. Write {{secret}} where the secret goes (URL, header value, or body); the value is substituted by the server and is never returned to you. Responses are masked. Only URLs allowlisted for that item/field in the server policy are permitted; the policy may also require human approval and limit uses or lifetime.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 4 tools

Disambiguation4/5

get_secret and use_secret both involve secret access and could initially look overlapping, but the descriptions clearly distinguish returning a value versus server-side injection without disclosure. vault_status and list_item_metadata are cleanly separate from the secret-access tools.

Naming Consistency4/5

Three names follow a clear verb_noun pattern (get_secret, list_item_metadata, use_secret), while vault_status is noun-based and lacks a verb. This is a minor inconsistency but the overall convention remains readable and predictable.

Tool Count5/5

Four tools is well-scoped for a security-sensitive secret broker: check status, discover allowed items, retrieve a secret, and use a secret. Each tool has a distinct role and none feels redundant.

Completeness4/5

The surface covers the core secret-consumption lifecycle: vault state, item discovery, controlled retrieval, and server-side use. Write or administrative operations are intentionally absent for security, though a way to inspect policy/allowlist details could be a useful minor addition.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues