Rbw
FreeNot checkedModel Context Protocol (MCP) server that enables interaction with the Bitwarden password manager vault via 'rbw'.
About
Model Context Protocol (MCP) server that enables interaction with the Bitwarden password manager vault via 'rbw'.
README
Model Context Protocol (MCP) server that enables interaction with the Bitwarden password manager vault via the rbw (Rust Bitwarden) command-line interface. The server allows AI models to securely communicate with a user's Bitwarden vault through defined tool interfaces.
Prerequisites
- Node.js 22
rbw(Rust Bitwarden CLI) installed and configured.
Installation
Option One: Configuration in your AI app
Open up your application configuration, e.g. for Claude Desktop:
{
"mcpServers": {
"rbw": {
"command": "npx",
"args": ["-y", "rbw-mcp"]
}
}
}
Option Two: Local checkout
Requires that this repository be checked out locally. Once that's done:
npm install
npm run build
Setup
Install
rbw: Follow the instructions for your platform on the official rbw repository. For example, on Debian/Ubuntu:sudo apt-get update sudo apt-get install rbwConfigure
rbw: Configurerbwto connect to your Bitwarden account.rbw configUnlock your vault: Before running the MCP server, you must unlock your vault. This starts the
rbw-agentand allows subsequent commands to run without prompting for a password.rbw unlockThe server will check if the vault is unlocked on startup.
Testing
Running unit tests
The project includes Jest unit tests.
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm test -- --coverage
Inspection and development
MCP Inspector
Use the MCP Inspector to test the server interactively:
# Start the inspector
npm run inspect
This will:
- Start the MCP server
- Launch the inspector UI in your browser
- Allow you to test all available tools interactively
Available tools
The server provides the following rbw CLI tools:
| Tool | Description | Required Parameters | Notes |
|---|---|---|---|
lock |
Lock the vault by clearing cached keys from the agent. | None | Executes rbw lock. |
unlock |
Unlock the vault. This will trigger an interactive prompt for your master password if needed. | None | Executes rbw unlock. |
sync |
Sync vault data from the Bitwarden server. | None | Executes rbw sync. |
status |
Check if the vault is unlocked. | None | Executes rbw unlocked. |
list |
Lists items from the vault. Can be filtered by a search term. | Optional: search, ignoreCase |
Executes rbw list --fields name,user,id,folder and filters results in-memory. |
get |
Get a specific field for an item (defaults to password). | id (required). Optional: field |
Executes rbw get <id> or rbw get --field .... Use list to find the exact ID first. |
code |
Get a TOTP code for an item. | id |
Executes rbw code <id>. Use list to find the exact ID first. |
generate |
Generate a secure password or passphrase. By default, generates a strong password with symbols. | Optional: length, diceware, noSymbols |
Executes rbw generate. |
delete |
Delete an item from your vault. | id |
Executes rbw rm <id>. |
create |
Create a new login item in your vault. | name (required). Optional: username, password, notes, uri |
Executes rbw add. Uses EDITOR='tee' for non-interactive input. |
edit |
Edit the password and/or notes for an existing item in your vault. | id (required). Optional: password, notes |
Executes rbw edit. Uses EDITOR='tee' for non-interactive input. |
Security considerations
- Use
rbw-agent: It is highly recommended to userbwwith its agent to handle the master password securely. - Validate all inputs: All tool inputs are strictly validated using Zod schemas.
Troubleshooting
Common issues
"Vault is locked" error on startup
- Run
rbw unlockin your terminal before starting the server.
- Run
rbwcommand not found- Ensure that
rbwis installed and that its location is in your system'sPATH.
- Ensure that
Tests failing
- Ensure all development dependencies are installed with
npm install.
- Ensure all development dependencies are installed with
Installing Rbw
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/dceluis/rbw-mcpFAQ
Is Rbw MCP free?
Yes, Rbw MCP is free — one-click install via Unyly at no cost.
Does Rbw need an API key?
No, Rbw runs without API keys or environment variables.
Is Rbw hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Rbw in Claude Desktop, Claude Code or Cursor?
Open Rbw on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Rbw with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
