SSyncDev

Bitwarden Public API and Secrets Manager (unofficial) MCP Server

Unofficial MCP server for the Bitwarden Public API and Secrets Manager, self-hosted or cloud.

Local serverstdio

What is the Bitwarden Public API and Secrets Manager (unofficial) MCP Server?

Bitwarden Public API and Secrets Manager (unofficial) is an MCP integration. Unofficial MCP server for the Bitwarden Public API and Secrets Manager, self-hosted or cloud.

Packages and local setup

The published npm package is the-real-bitwarden-mcp, version 0.3.1. Its declared MCP transport is stdio.

The package declares BITWARDEN_SELFHOST_API_BASE: Self-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_URL: Self-hosted instance: identity URL, e.g. https://vault.example.com/identity.; BITWARDEN_SELFHOST_CLIENT_ID: Self-hosted instance: organization Public API client id (organization. ).; BITWARDEN_SELFHOST_CLIENT_SECRET: Self-hosted instance: organization Public API client secret. It can manage members, groups, collections and policies, including creating Owners.; BITWARDEN_CLOUD_API_BASE: Bitwarden Cloud: API base URL, e.g. https://api.bitwarden.com. Used for license and subscription tools.; BITWARDEN_CLOUD_IDENTITY_URL: Bitwarden Cloud: identity URL, e.g. https://identity.bitwarden.com.; BITWARDEN_CLOUD_CLIENT_ID: Bitwarden Cloud: organization Public API client id (organization. ).; BITWARDEN_CLOUD_CLIENT_SECRET: Bitwarden Cloud: organization Public API client secret.; BWS_ACCESS_TOKEN: Optional: Secrets Manager machine account access token; enables the bws_ tools. A malformed token is fatal at startup.; BWS_ORG_ID: Optional: organization UUID for the Secrets Manager tools, used when a call passes no organizationId.; BWS_API_BASE: Optional: Secrets Manager API base URL; defaults to BITWARDEN_SELFHOST_API_BASE.; BWS_IDENTITY_URL: Optional: Secrets Manager identity URL; defaults to BITWARDEN_SELFHOST_IDENTITY_URL.; BITWARDEN_CONFIRM_WRITES: true: write tools return a preview unless the call carries confirm "YES". The model sets confirm itself, so this is friction, not a security boundary.; BITWARDEN_READ_ONLY: true: write tools stay listed but refuse to run, and bw_raw_request allows GET only.; LOG_LEVEL: Log level of the JSON log lines on stderr.; BW_MCP_MAX_RESPONSE_BYTES: Successful tool output above this many bytes is cut to valid JSON with a responseTruncated marker that says how to narrow or page the query..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 0.3.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related secrets & credentials MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
BITWARDEN_SELFHOST_API_BASESelf-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.Check documentation
BITWARDEN_SELFHOST_IDENTITY_URLSelf-hosted instance: identity URL, e.g. https://vault.example.com/identity.Check documentation
BITWARDEN_SELFHOST_CLIENT_IDSelf-hosted instance: organization Public API client id (organization. ).Check documentation
BITWARDEN_SELFHOST_CLIENT_SECRETSelf-hosted instance: organization Public API client secret. It can manage members, groups, collections and policies, including creating Owners.Check documentation
BITWARDEN_CLOUD_API_BASEBitwarden Cloud: API base URL, e.g. https://api.bitwarden.com. Used for license and subscription tools.Check documentation
BITWARDEN_CLOUD_IDENTITY_URLBitwarden Cloud: identity URL, e.g. https://identity.bitwarden.com.Check documentation
BITWARDEN_CLOUD_CLIENT_IDBitwarden Cloud: organization Public API client id (organization. ).Check documentation
BITWARDEN_CLOUD_CLIENT_SECRETBitwarden Cloud: organization Public API client secret.Check documentation
BWS_ACCESS_TOKENOptional: Secrets Manager machine account access token; enables the bws_ tools. A malformed token is fatal at startup.Check documentation
BWS_ORG_IDOptional: organization UUID for the Secrets Manager tools, used when a call passes no organizationId.Check documentation
BWS_API_BASEOptional: Secrets Manager API base URL; defaults to BITWARDEN_SELFHOST_API_BASE.Check documentation
BWS_IDENTITY_URLOptional: Secrets Manager identity URL; defaults to BITWARDEN_SELFHOST_IDENTITY_URL.Check documentation
BITWARDEN_CONFIRM_WRITEStrue: write tools return a preview unless the call carries confirm "YES". The model sets confirm itself, so this is friction, not a security boundary.Check documentation
BITWARDEN_READ_ONLYtrue: write tools stay listed but refuse to run, and bw_raw_request allows GET only.Check documentation
LOG_LEVELLog level of the JSON log lines on stderr.Check documentation
BW_MCP_MAX_RESPONSE_BYTESSuccessful tool output above this many bytes is cut to valid JSON with a responseTruncated marker that says how to narrow or page the query.Check documentation