Bitwarden Public API and Secrets Manager (unofficial)
by github.com/mguttmann · v0.3.1 · updated Oct 27, 2026
Unofficial MCP server for the Bitwarden Public API and Secrets Manager, self-hosted or cloud.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
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.
BITWARDEN_SELFHOST_IDENTITY_URLSelf-hosted instance: identity URL, e.g. https://vault.example.com/identity.
BITWARDEN_SELFHOST_CLIENT_IDSelf-hosted instance: organization Public API client id (organization.<uuid>).
BITWARDEN_SELFHOST_CLIENT_SECRETsecretSelf-hosted instance: organization Public API client secret. It can manage members, groups, collections and policies, including creating Owners.
BITWARDEN_CLOUD_API_BASEBitwarden Cloud: API base URL, e.g. https://api.bitwarden.com. Used for license and subscription tools.
BITWARDEN_CLOUD_IDENTITY_URLBitwarden Cloud: identity URL, e.g. https://identity.bitwarden.com.
BITWARDEN_CLOUD_CLIENT_IDBitwarden Cloud: organization Public API client id (organization.<uuid>).
BITWARDEN_CLOUD_CLIENT_SECRETsecretBitwarden Cloud: organization Public API client secret.
BWS_ACCESS_TOKENsecretOptional: Secrets Manager machine account access token; enables the bws_* tools. A malformed token is fatal at startup.
BWS_ORG_IDOptional: organization UUID for the Secrets Manager tools, used when a call passes no organizationId.
BWS_API_BASEOptional: Secrets Manager API base URL; defaults to BITWARDEN_SELFHOST_API_BASE.
BWS_IDENTITY_URLOptional: Secrets Manager identity URL; defaults to BITWARDEN_SELFHOST_IDENTITY_URL.
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.
BITWARDEN_READ_ONLYtrue: write tools stay listed but refuse to run, and bw_raw_request allows GET only.
LOG_LEVELLog level of the JSON log lines on stderr.
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.
More from github.com/mguttmann
Snipe-IT (unofficial)
github.com/mguttmann
Unofficial MCP server for the Snipe-IT REST API: assets, users, licenses, guarded writes.
UniFi Site Manager and Network (unofficial)
github.com/mguttmann
Unofficial MCP server for the UniFi Site Manager and Network cloud APIs, with a write-confirm guard.
Hetzner Cloud (unofficial)
github.com/mguttmann
Unofficial MCP server for the Hetzner Cloud API: one typed tool per operation, read and write.
Action1 RMM (unofficial)
github.com/mguttmann
Unofficial MCP server for the Action1 RMM API: fleet queries, scripts, updates, guarded changes.
More MCP servers
Texas Grocery
github.com/mgwalkerjr95
MCP server for HEB grocery store integration - search products, manage carts, clip coupons, and more
Embedded / IoT Mentor
github.com/mh-mansouri
Embedded/IoT mentor: picks the board and toolchain, estimates cost and battery life.
Ghostfolio MCP
github.com/mhajder
MCP server for Ghostfolio portfolio management and financial data access
GLPI MCP
github.com/mhajder
MCP server for GLPI IT service management (tickets, assets, users, knowledge base)
LibreNMS MCP
github.com/mhajder
MCP server for LibreNMS network monitoring - query devices, ports, alerts, and manage infrastructure
NetBox MCP
github.com/mhajder
MCP server for NetBox DCIM/IPAM with read-only and dry-run modes