Bitwarden Public API and Secrets Manager (unofficial)
io.github.mguttmann/the-real-bitwarden-mcp
v0.3.1Updated Oct 27, 2026stdio · npm
Unofficial MCP server for the Bitwarden Public API and Secrets Manager, self-hosted or cloud.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add the-real-bitwarden-mcp -e BITWARDEN_CONFIRM_WRITES=true -e BITWARDEN_READ_ONLY=false -e LOG_LEVEL=warn -e BW_MCP_MAX_RESPONSE_BYTES=1048576 -- npx -y [email protected]Configuration
16 settings.
BITWARDEN_SELFHOST_CLIENT_SECRETEnv var· optional· secretSelf-hosted instance: organization Public API client secret. It can manage members, groups, collections and policies, including creating Owners.BITWARDEN_CLOUD_CLIENT_SECRETEnv var· optional· secretBitwarden Cloud: organization Public API client secret.BWS_ACCESS_TOKENEnv var· optional· secretOptional: Secrets Manager machine account access token; enables the bws_* tools. A malformed token is fatal at startup.BITWARDEN_SELFHOST_API_BASEEnv var· optionalSelf-hosted instance: API base URL, e.g. https://vault.example.com/api. Configure all four BITWARDEN_SELFHOST_* or all four BITWARDEN_CLOUD_* variables (or both); a partial set is fatal.BITWARDEN_SELFHOST_IDENTITY_URLEnv var· optionalSelf-hosted instance: identity URL, e.g. https://vault.example.com/identity.BITWARDEN_SELFHOST_CLIENT_IDEnv var· optionalSelf-hosted instance: organization Public API client id (organization.<uuid>).
Show 10 moreShow fewer
BITWARDEN_CLOUD_API_BASEEnv var· optionalBitwarden Cloud: API base URL, e.g. https://api.bitwarden.com. Used for license and subscription tools.BITWARDEN_CLOUD_IDENTITY_URLEnv var· optionalBitwarden Cloud: identity URL, e.g. https://identity.bitwarden.com.BITWARDEN_CLOUD_CLIENT_IDEnv var· optionalBitwarden Cloud: organization Public API client id (organization.<uuid>).BWS_ORG_IDEnv var· optionalOptional: organization UUID for the Secrets Manager tools, used when a call passes no organizationId.BWS_API_BASEEnv var· optionalOptional: Secrets Manager API base URL; defaults to BITWARDEN_SELFHOST_API_BASE.BWS_IDENTITY_URLEnv var· optionalOptional: Secrets Manager identity URL; defaults to BITWARDEN_SELFHOST_IDENTITY_URL.BITWARDEN_CONFIRM_WRITESEnv var· optionaltrue: write tools return a preview unless the call carries confirm "YES". The model sets confirm itself, so this is friction, not a security boundary.Default:trueBITWARDEN_READ_ONLYEnv var· optionaltrue: write tools stay listed but refuse to run, and bw_raw_request allows GET only.Default:falseLOG_LEVELEnv var· optionalLog level of the JSON log lines on stderr.Default:warnBW_MCP_MAX_RESPONSE_BYTESEnv var· optionalSuccessful tool output above this many bytes is cut to valid JSON with a responseTruncated marker that says how to narrow or page the query.Default:1048576
Links
Listed in the official MCP Registry since Oct 27, 2026. Mirrored daily; last checked Nov 26, 2026.