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.
DB Query Guard MCP
Governed database query review, SQL simulation, approvals, and audits as a paid remote MCP.
MCP Risk Ledger MCP
MCP server intake risk reports, tool review, approvals, and readiness as a paid remote MCP.
MCPShield
Security scanner for MCP servers - detects tool poisoning, prompt injection, and 90+ vulnerability patterns.
PromptGuard Scan MCP
Remote MCP for paid LLM security checks, prompt-injection scanning, jailbreak review, leakage signals, and release-readiness reporting.
ServerCard Trust MCP
MCP server-card validation, auth checks, trust packets, and readiness as a paid remote MCP.
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.