rbw-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rbw-mcpfind my GitHub credentials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rbw-mcp
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 buildSetup
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 -- --coverageInspection and development
MCP Inspector
Use the MCP Inspector to test the server interactively:
# Start the inspector
npm run inspectThis 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 the vault by clearing cached keys from the agent. | None | Executes |
| Unlock the vault. This will trigger an interactive prompt for your master password if needed. | None | Executes |
| Sync vault data from the Bitwarden server. | None | Executes |
| Check if the vault is unlocked. | None | Executes |
| Lists items from the vault. Can be filtered by a search term. | Optional: | Executes |
| Get a specific field for an item (defaults to password). |
| Executes |
| Get a TOTP code for an item. |
| Executes |
| Generate a secure password or passphrase. By default, generates a strong password with symbols. | Optional: | Executes |
| Delete an item from your vault. |
| Executes |
| Create a new login item in your vault. |
| Executes |
| Edit the password and/or notes for an existing item in your vault. |
| Executes |
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.
rbwcommand not foundEnsure that
rbwis installed and that its location is in your system'sPATH.
Tests failing
Ensure all development dependencies are installed with
npm install.
This server cannot be installed
Maintenance
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dceluis/rbw-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server