Bitwarden (npx) MCP Server
CommunityContributed by Bitwarden
Securely access your Bitwarden vault and administer your organization through the Bitwarden CLI and Public API. Manage vault items, folders, collections, Sends, and password generation, plus organization members, groups, policies, and audit logs.
About the Bitwarden (npx) MCP Server
The Bitwarden (npx) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Securely access your Bitwarden vault and administer your organization through the Bitwarden CLI and Public API. Manage vault items, folders, collections, Sends, and password generation, plus organization members, groups, policies, and audit logs. This is a community-contributed MCP server by Bitwarden.
Install the Bitwarden (npx) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bitwarden/mcp-server"
],
"env": {
"BW_SESSION": "${input:BW_SESSION}",
"BW_CLIENT_ID": "${input:BW_CLIENT_ID}",
"BW_CLIENT_SECRET": "${input:BW_CLIENT_SECRET}"
},
"metadata": {
"inputs": [
{
"id": "BW_SESSION",
"label": "Bitwarden Session Token",
"description": "Session token that authenticates vault operations through the Bitwarden CLI. Required for vault management tools (items, folders, attachments, Sends, password generation). Obtain it by running 'bw login' then 'bw unlock --raw'.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "****************************************************",
"obtain": {
"url": "https://bitwarden.com/help/cli/#unlock",
"instructions": "1. Install the Bitwarden CLI (npm install -g @bitwarden/cli)\n2. Run 'bw login' and authenticate\n3. Run 'bw unlock --raw' to print a session token\n4. Copy the printed session token",
"button_label": "CLI Unlock Docs"
}
},
{
"id": "BW_CLIENT_ID",
"label": "Organization API Client ID",
"description": "Bitwarden Public API client ID (starts with 'organization.'). Required for organization administration tools (members, groups, collections, policies, audit logs, subscriptions). Note: the MCP server uses BW_CLIENT_ID with an underscore, distinct from the CLI's BW_CLIENTID.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "organization.****************************************",
"obtain": {
"url": "https://bitwarden.com/help/public-api/",
"instructions": "1. Open the Bitwarden Web Vault\n2. Switch to your organization\n3. Go to Settings > My Organization\n4. In the 'API Key' section click 'View API Key'\n5. Copy the client_id value",
"button_label": "Get Organization API Key"
}
},
{
"id": "BW_CLIENT_SECRET",
"label": "Organization API Client Secret",
"description": "Bitwarden Public API client secret paired with the client ID. Required for organization administration tools. Note: the MCP server uses BW_CLIENT_SECRET with an underscore, distinct from the CLI's BW_CLIENTSECRET.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "********************************",
"obtain": {
"url": "https://bitwarden.com/help/public-api/",
"instructions": "1. Open the Bitwarden Web Vault\n2. Switch to your organization\n3. Go to Settings > My Organization\n4. In the 'API Key' section click 'View API Key'\n5. Copy the client_secret value",
"button_label": "Get Organization API Key"
}
}
]
}
}Categories
Tags
Supported AI Clients
The Bitwarden (npx) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
1Password (npx)
Access secrets from 1Password vaults. List vaults, retrieve items, and search for credentials using a service account token.
Aikido Security (npx)
Scan code and secrets with Aikido Security directly from your AI coding agent. Exposes Aikido's Code and Secrets Scan as an MCP tool returning machine-readable findings you can triage, fix, or ignore.
Auth0 (npx)
Manage your Auth0 tenant through natural language: applications, APIs (resource servers), actions, forms, and logs via the Auth0 Management API. Authentication uses an OAuth 2.0 device-authorization browser flow handled by the server; tokens are stored in your OS keychain.
Codacy (npx)
Connect to Codacy to analyze code quality and security, run static analysis (SAST, secrets, dependency, and IaC scans), browse repositories, list issues, and surface coverage data from your Codacy account via npx.
DB Query Guard MCP
Governed database query review, SQL simulation, approvals, and audits as a paid remote MCP.
Doppler (npx)
Manage Doppler secrets, projects, configs, and environments through the Doppler API. Tools are auto-generated from the Doppler OpenAPI spec and support read-only and project/config scoping.
Install Bitwarden (npx) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.