Warden MCP Server
It is a Vaultwarden/Bitwarden MCP server that lets AI agents manage and retrieve vault data through the Bitwarden CLI, with configurable secret redaction and safety modes.
Inspect status, sync the vault, check CLI version, encode strings, and generate passwords/usernames.
Search and read vault items, usernames, passwords, TOTP codes, notes, URIs, exposed-password counts, and password history, with secrets redacted unless
reveal: true.Create/update/delete/restore login, note, card, identity, and SSH-key items; bulk-create logins; set login URIs.
Manage personal folders, organizations, collections, and move items into organizations/collections.
Create, download, and delete attachments.
Manage Bitwarden Sends: list, template, get/create/edit, remove passwords, delete, and receive shared Sends.
Run as stdio or a shared HTTP service; HTTP mode supports per-request credentials via
X-BW-*headers and optional env fallback.Enforce safety controls such as
READONLYandNOREVEALto hide/reject mutations or block secret reveals, attachment downloads, and Send content reads.
Enables programmatic management of Bitwarden vaults, allowing agents to create, search, read, update, and move vault items, manage attachments, and handle organization or collection operations.
Enables programmatic management of Vaultwarden vaults, allowing agents to create, search, read, update, and move vault items, manage attachments, and handle organization or collection operations.
warden-mcp

Vaultwarden / Bitwarden MCP server for credential-aware AI agents.
warden-mcp lets MCP clients search, create, update, move, and read
Vaultwarden or Bitwarden vault items through the official Bitwarden CLI (bw).
It is built for agents and automation that need credentials, TOTP codes, secure
notes, attachments, Sends, folders, organizations, and collections without
re-implementing Bitwarden client-side crypto.
Use it when an agent needs to log in to real systems during a browser or admin workflow, but you do not want passwords hardcoded in prompts, config files, or one-off scripts.
Quick Start
Use stdio mode when a local MCP host launches the server directly. It is the simplest and most portable setup for desktop agents.
Prerequisites:
Node.js 22.x
npm 10.x
a Vaultwarden or Bitwarden account
either a Bitwarden API key pair or username/password login
Run the server:
BW_HOST=https://vaultwarden.example.com \
BW_CLIENTID=user.xxxxx \
BW_CLIENTSECRET=xxxxx \
BW_PASSWORD='your-master-password' \
npx -y @icoretech/warden-mcp@latest --stdioUsername login also works:
BW_HOST=https://vaultwarden.example.com \
BW_USER=user@example.com \
BW_PASSWORD='your-master-password' \
npx -y @icoretech/warden-mcp@latest --stdioIf the package is useful, star the repository so other agent builders can find it.
Related MCP server: VaultBridge
Install In MCP Hosts
Most local hosts should use stdio. The examples below use API-key auth; replace
BW_CLIENTID and BW_CLIENTSECRET with BW_USER if you prefer username login.
Claude Code
The repository also includes a local Claude Code plugin with a pinned package version, configuration prompts, and read-only/no-reveal defaults. See the plugin setup and privacy notice. It runs over stdio and does not provide an OAuth-based remote connector.
For a separate manual MCP setup without the plugin, use the command below.
Unlike the plugin defaults, this configuration permits writes and accepts
explicit reveal: true requests for supported secret fields.
claude mcp add-json warden '{"command":"npx","args":["-y","@icoretech/warden-mcp@latest","--stdio"],"env":{"BW_HOST":"https://vaultwarden.example.com","BW_CLIENTID":"user.xxxxx","BW_CLIENTSECRET":"xxxxx","BW_PASSWORD":"your-master-password"}}'Codex
codex mcp add warden \
--env BW_HOST=https://vaultwarden.example.com \
--env BW_CLIENTID=user.xxxxx \
--env BW_CLIENTSECRET=xxxxx \
--env BW_PASSWORD='your-master-password' \
-- npx -y @icoretech/warden-mcp@latest --stdioCodex TOML config:
[mcp_servers.warden]
command = "npx"
args = ["-y", "@icoretech/warden-mcp@latest", "--stdio"]
startup_timeout_sec = 30
[mcp_servers.warden.env]
BW_HOST = "https://vaultwarden.example.com"
BW_CLIENTID = "user.xxxxx"
BW_CLIENTSECRET = "xxxxx"
BW_PASSWORD = "your-master-password"startup_timeout_sec = 30 gives npx enough time for a cold first launch.
Cursor, Claude Desktop, And JSON Config Hosts
{
"mcpServers": {
"warden": {
"command": "npx",
"args": ["-y", "@icoretech/warden-mcp@latest", "--stdio"],
"env": {
"BW_HOST": "https://vaultwarden.example.com",
"BW_CLIENTID": "user.xxxxx",
"BW_CLIENTSECRET": "xxxxx",
"BW_PASSWORD": "your-master-password"
}
}
}
}Common locations:
Host | Config file |
Cursor |
|
Claude Desktop |
|
Codex |
|
Why Use It
Agent login flows - fetch usernames, passwords, and TOTP codes during real browser automation without storing secrets in the agent prompt
Item redaction - password, TOTP, and item-note reads require an explicit
reveal: trueto return their valuesVault administration - create, update, move, restore, and delete common Bitwarden item types, folders, organization collections, attachments, and Sends
Shared HTTP mode - one long-running service can front multiple vault hosts or identities through per-request
X-BW-*headersText-only client support - safe identifiers are mirrored into text output for MCP hosts that ignore
structuredContentVaultwarden-first CI - the integration suite exercises real local Vaultwarden and
bwauth/session flows, not only mocked SDK behavior
How It Works
flowchart LR
Agent["AI agent or MCP client"] --> Transport["stdio or Streamable HTTP"]
Transport --> Server["warden-mcp"]
Server --> BW["Bitwarden CLI (bw)"]
BW --> Vault["Vaultwarden or Bitwarden"]
Server --> State["per-profile bw state"]warden-mcp shells out to bw and keeps profile state under
KEYCHAIN_BW_HOME_ROOT. In HTTP mode, profile selection and credentials come
from request headers. In stdio mode, credentials are loaded from BW_* env vars
when the process starts.
The HTTP server exposes:
Endpoint | Purpose |
| liveness check; does not validate vault credentials |
| session and runtime guardrail metrics |
| MCP Streamable HTTP endpoint |
Run As A Shared HTTP Service
HTTP mode is useful when one service should serve multiple clients or multiple vault profiles.
Start the server:
npx -y @icoretech/warden-mcp@latestVerify liveness:
curl -fsS http://localhost:3005/healthzMCP tool calls must include these headers unless env fallback is explicitly enabled:
Header | Meaning |
| HTTPS origin only, for example |
| master password used to unlock the vault |
| Bitwarden API key client id |
| Bitwarden API key client secret |
| username/email alternative to API key login |
| optional unlock interval in seconds; default |
Example HTTP MCP config for hosts that support custom headers:
{
"mcpServers": {
"warden": {
"url": "http://localhost:3005/sse?v=2",
"headers": {
"X-BW-Host": "https://vaultwarden.example.com",
"X-BW-ClientId": "user.xxxxx",
"X-BW-ClientSecret": "xxxxx",
"X-BW-Password": "your-master-password"
}
}
}
}Some browser-hosted MCP clients can connect to an HTTP/SSE endpoint but cannot
send custom X-BW-* headers. For those clients, run a single-tenant HTTP server
with env fallback:
BW_HOST=https://vaultwarden.example.com \
BW_CLIENTID=user.xxxxx \
BW_CLIENTSECRET=xxxxx \
BW_PASSWORD='your-master-password' \
KEYCHAIN_ALLOW_ENV_FALLBACK=true \
npx -y @icoretech/warden-mcp@latestOnly use KEYCHAIN_ALLOW_ENV_FALLBACK=true behind a trusted network boundary.
Every client that can reach the endpoint inherits the configured vault identity.
For hosted clients that require HTTPS, put a reverse proxy, private tunnel, VPN,
or equivalent protected endpoint in front of warden-mcp, then connect to:
https://warden-mcp.example.com/sse?v=2Docker
docker run --rm \
-p 127.0.0.1:3005:3005 \
-v warden-mcp-data:/data \
ghcr.io/icoretech/warden-mcp:latestThe production image runs as the non-root node user with uid/gid 1000, sets
HOME=/data, and stores Bitwarden profile state under /data/bw-profiles by
default. If you use a bind mount, make it writable by uid/gid 1000.
Runtime Requirements
warden-mcp requires Node.js 22.x and npm 10.x when running from npm or source.
The Docker image includes the supported Node runtime.
The server resolves bw in this order:
BW_BIN, when setbundled
@bitwarden/clidependencysystem
bwfromPATH
The bundled @bitwarden/cli version is currently 2026.10.1. This project keeps
that version vetted instead of blindly tracking every upstream release, because
auth and unlock behavior can change in ways that break automation.
If bw is missing, install the CLI explicitly or point BW_BIN to a known
binary:
npm install -g @bitwarden/cli@2026.10.1
BW_BIN=/absolute/path/to/bw npx -y @icoretech/warden-mcp@latest --stdioThe npm package bundles the vetted Bitwarden CLI dependency tree, including its
security fixes, so npm installations use the same CLI dependencies as the Docker
image. External BW_BIN or system CLI installs use their own dependency trees
and must be maintained separately.
Security Model
There is no built-in authentication layer in v1. Protect the transport before you expose it.
Bind locally by default - use
WARDEN_MCP_HOST=127.0.0.1, Docker-p 127.0.0.1:3005:3005, a firewall, VPN, or an authenticated reverse proxyUse TLS for HTTP mode -
X-BW-*headers carry vault credentialsAvoid env fallback on shared networks -
KEYCHAIN_ALLOW_ENV_FALLBACK=truemakes server-side vault credentials available to headerless clientsUse read-only mode when writes are not needed -
READONLY=trueorKEYCHAIN_READONLY=truehides mutating tools and rejects direct write callsUse no-reveal mode for untrusted agent contexts -
NOREVEAL=trueorKEYCHAIN_NOREVEAL=trueoverrides explicit reveals, blocks attachment downloads and Send content reads, and limits owned Send results to metadataKeep debug logs off in production - do not enable
KEYCHAIN_DEBUG_BWorKEYCHAIN_DEBUG_HTTPunless actively troubleshootingRestrict profile storage - protect
KEYCHAIN_BW_HOME_ROOT, which stores localbwprofile stateProtect
/metricszif needed - it is unauthenticated for scraper compatibility and exposes runtime/session counters
Redacted fields include item notes (including secure-note bodies), login
passwords, TOTP seeds/codes, card numbers and codes, identity
SSNs/passport/license numbers, hidden custom fields, native SSH private keys
and those stored through the secure-note convention, signed attachment URLs,
and password history entries. Public SSH keys and fingerprints remain visible.
Returning notes or private keys requires reveal: true with no-reveal disabled.
No-reveal applies to both MCP text and structured results, including Send
results returned by writes. Clients can still see item and Send names,
usernames, URIs, and other metadata. Choose a vault account whose visible
metadata is appropriate for the client.
Configuration
Variable | Default | Purpose |
|
| HTTP listen port |
| all interfaces | HTTP bind host |
|
| force stdio mode without |
|
| advertised MCP server name |
|
| public tool namespace |
|
| public tool separator; set |
|
| root for per-profile |
|
| allow HTTP calls to inherit server |
|
| run |
|
| hide and reject mutating tools |
|
| suppress reveals and block attachment and Send content reads |
| unset | set |
|
| max tracked HTTP sessions |
|
| inactive session TTL |
|
| session cleanup interval |
|
| memory fuse; set |
|
| periodic metrics logging; |
KEYCHAIN_TEXT_COMPAT_MODE=structured_json mirrors supported
structuredContent into plain text. That helps MCP clients that only pass
content[] to the model, but any revealed secret will also appear in the text
transcript.
Tool Reference
Tool names default to keychain_*. Change the prefix with TOOL_PREFIX and the
separator with TOOL_SEPARATOR.
Start with these:
keychain_status- inspect rawbwstatuskeychain_sync- pull latest vault data withbw synckeychain_search_items- find items by name, URI, username, folder, collection, or typekeychain_get_item- read a full item by id, redacted by defaultkeychain_get_username,keychain_get_password,keychain_get_totp- fetch common login values; password and TOTP requirereveal: truekeychain_create_login,keychain_update_item,keychain_move_item_to_organization- common write paths
Full tool groups:
Group | Tools |
Vault/session |
|
Items |
|
Folders |
|
Organizations and collections |
|
Attachments |
|
Sends |
|
Direct |
|
Notes:
keychain_create_loginscreates several independent login items in one call and reports per-item failures without aborting the whole batchkeychain_set_login_urisreplaces or merges a login item's URI list without editing the entire item payloadkeychain_delete_itemssupports bulk soft-delete or hard-delete by idkeychain_get_itemexposes safe attachment metadata, includingid,fileName, and size, while redacting signed download URLsWith no-reveal off,
keychain_get_attachmentaccepts an attachment id or an unambiguous filename and returns{ filename, bytes, contentBase64 }.keychain_send_getcan return owned Send text, andkeychain_receivecan return shared Send text or files.With no-reveal on,
keychain_send_listandkeychain_send_getreturn only selected metadata such as the Send ID and name. Attachment downloads, requests for Send text, and allkeychain_receivecalls are blocked.Ambiguous login lookups return
AMBIGUOUS_LOOKUPwith visible candidate ids; retry with the exact item id
Local Development
Use Docker Compose when you need the full Vaultwarden-backed stack.
cp .env.example .env
make upmake up starts local Vaultwarden, an HTTPS proxy for bw, bootstraps a test
account, and runs the MCP server in the foreground.
Useful commands:
Command | Purpose |
| watch-mode server from source |
| compile TypeScript to |
| run the compiled server |
| Biome autofix plus |
| build, then run all compiled tests |
| build, then run compose-backed integration tests |
| build, then run Node test coverage |
| run the compose-backed Vaultwarden integration path |
| run the organization-focused compose stack |
| stop the local compose stack |
For a quick live MCP smoke against local Vaultwarden, see agent-instructions/testing.md.
Compatibility
Vaultwarden is the continuously proven target in CI. Official Bitwarden compatibility is intended, but it is not continuously proven without a real Bitwarden tenant.
@bitwarden/cli upgrades are treated as compatibility decisions. The suite
checks direct bw auth behavior, SDK behavior, and MCP integration behavior
against a local Vaultwarden instance before a CLI bump should ship.
Known Limitations
bw list items --search, and thereforekeychain_search_items, does not reliably search inside custom field valueskeychain_create_ssh_keycreates secure notes with standard SSH key fields; native SSH key items are recognized bykeychain_search_itemsand supported bykeychain_get_itemhigh-risk
bwfeatures such as export/import are intentionally not exposedVaultwarden report pages are not mirrored as MCP tools; the current report-like helper is
keychain_get_exposed
Project Links
npm package:
@icoretech/warden-mcpDocker image:
ghcr.io/icoretech/warden-mcpChangelog: CHANGELOG.md
Security policy: SECURITY.md
Threat model: THREAT_MODEL.md
Repository guidance: AGENTS.md
Contributing
Issues and PRs are welcome. Run npm run lint and the relevant test command
before opening a PR; use make test when behavior depends on real Vaultwarden
or bw interaction.
License
Available Tools
53 toolskeychain_create_attachmentCreate AttachmentA
Attach base64-encoded file bytes to an existing item. Returns the updated item summary with normal redaction rules, so secrets stay hidden unless reveal is allowed.
Inputs: itemId (required), filename (required), contentBase64 (required), reveal.
keychain_create_cardCreate CardA
Create a payment card item. Use this for cardholder name, brand, number, expiry, and code, not for login credentials or notes. Accepts custom fields plus folder/organization/collection scoping, and returned summaries redact the card number, code, and hidden fields.
Inputs: name (required), code, brand, notes, +9 more.
keychain_create_folderCreate FolderA
Create a personal Bitwarden folder. Use this to organize items outside organization collections.
Inputs: name (required).
keychain_create_identityCreate IdentityA
Create an identity item. Use this for personal, contact, and address data instead of a login or card. Accepts structured identity fields plus custom fields and scoping, and returned summaries redact sensitive identity fields and hidden custom fields.
Inputs: name (required), notes, fields, favorite, +4 more.
keychain_create_loginCreate LoginA
Create a login item with username/password/TOTP/URI data. Use this for website or app credentials instead of a secure note, card, or identity. Accepts custom fields and attachments, supports folder/organization/collection scoping, and returns a redacted item summary by default.
Inputs: name (required), totp, uris, notes, +8 more.
keychain_create_loginsCreate LoginsA
Create multiple login items in one call. Use this when you need several independent credentials at once, with the same login-item behavior as create_login. Set continueOnError to keep going after a failure and receive per-item ok/error results; returned items are redacted by default.
Inputs: items (required), continueOnError.
keychain_create_noteCreate NoteA
Create a secure note item. Use this for free-form text or secrets that do not belong in a login, card, identity, or SSH key item. Accepts custom fields plus folder/organization/collection scoping, and returns a redacted item summary by default.
Inputs: name (required), notes, fields, favorite, +3 more.
keychain_create_org_collectionCreate Org CollectionA
Create a new organization-scoped collection inside the required organizationId. Use this for shared vault grouping; returns the created collection summary.
Inputs: name (required), organizationId (required).
keychain_create_ssh_keyCreate SSH KeyA
Create an SSH key object stored as a secure note with standard fields. Use this when you need a public/private key pair plus optional fingerprint or comment, not a login or payment card. The private key is stored in a hidden field and redacted in returned summaries; folder, organization, and collection scoping is supported.
Inputs: name (required), publicKey (required), privateKey (required), notes, +6 more.
keychain_delete_attachmentDelete AttachmentADestructive
Delete an attachment from its parent item using itemId plus attachmentId. The attachment id comes from item attachment metadata; this is destructive for that attachment and then refetches the parent item. Returns the updated item summary with normal redaction rules.
Inputs: itemId (required), attachmentId (required), reveal.
keychain_delete_folderDelete FolderADestructive
Delete a personal Bitwarden folder. Destructive: there is no restore helper in this server.
Inputs: id (required).
keychain_delete_itemDelete ItemADestructive
Delete a vault item by id. By default this is a soft delete to trash and can be restored with restore_item; set permanent=true to hard delete through bw. Returns only the requested id, not the deleted item contents.
Inputs: id (required), permanent.
keychain_delete_itemsDelete ItemsADestructive
Delete multiple vault items by id in one session. Soft-deletes to trash by default; set permanent=true to hard delete every id. Returns per-id ok/error results so partial failures are visible.
Inputs: ids (required), permanent.
keychain_delete_org_collectionDelete Org CollectionADestructive
Delete an organization collection. Destructive: there is no restore helper in this server.
Inputs: id (required), organizationId (required).
keychain_edit_folderEdit FolderA
Rename an existing personal Bitwarden folder by id. This mutates only folder metadata, not the items inside it, and returns the updated folder id/name summary.
Inputs: id (required), name (required).
keychain_edit_org_collectionEdit Org CollectionA
Rename an existing organization-scoped collection inside the required organizationId. This mutates collection metadata only and returns the updated collection summary.
Inputs: id (required), name (required), organizationId (required).
keychain_encodeEncodeARead-only
Base64-encode a string with bw encode. This never mutates the vault; it only returns encoded text.
Inputs: value (required). Returns: encoded
keychain_generateGenerateARead-only
Generate a password or passphrase with bw generate. This never mutates the vault; pass reveal=true to return the value, and NOREVEAL or KEYCHAIN_NOREVEAL force redaction.
Inputs: words, length, number, reveal, +10 more. Returns: result
keychain_generate_usernameGenerate UsernameARead-only
Generate a username like the Bitwarden generator (random word, plus-addressed email, catch-all, forwarded alias). This never mutates the vault; pass reveal=true to return the value, and NOREVEAL or KEYCHAIN_NOREVEAL force redaction.
Inputs: type, email, domain, reveal, +2 more. Returns: result
keychain_get_attachmentGet AttachmentARead-only
Download an attachment from a parent item and return raw bytes as contentBase64. NOREVEAL blocks downloads. Pass itemId plus an attachment id, or an unambiguous filename selector resolved from the item metadata before calling bw get attachment. The response includes filename, byte count, and base64 content for local decoding. If the expected attachment filename is missing from keychain_get_item metadata, run keychain_sync and keychain_get_item again before retrying.
Inputs: itemId (required), attachmentId (required).
keychain_get_collectionGet CollectionARead-only
Get a collection by id (bw get collection). Use organizationId when you need to disambiguate an organization-scoped lookup.
Inputs: id (required), organizationId.
keychain_get_exposedGet ExposedARead-only
Check the exposed-password count returned by bw get exposed for a search term. Terms follow bw lookup behavior and may be ambiguous; use an exact item id or precise selector when possible. Not-found results return a null scalar value instead of a thrown not-found error.
Inputs: term (required). Returns: result
keychain_get_folderGet FolderARead-only
Get one personal Bitwarden folder by stable folder id via bw get folder. Use this to verify a folder id before item updates; returns safe folder metadata only.
Inputs: id (required).
keychain_get_itemGet ItemARead-only
Get the full vault item by stable item id. Secret fields (including item notes and SSH private keys) and signed attachment URLs are redacted by default; pass reveal=true only when the caller is allowed to receive secrets, and NOREVEAL can still force redaction. When attachments are present and NOREVEAL is off, use keychain_get_attachment with this item id plus the listed attachment id or filename to download file bytes. If an expected recently-added attachment is missing, run keychain_sync and call keychain_get_item again before retrying.
Inputs: id (required), reveal.
keychain_get_notesGet NotesARead-only
Get item notes matched by bw get notes for a search term. Notes are treated as secret output here: value is null unless reveal=true and NOREVEAL is not active. Terms can be ambiguous, so prefer an exact item id when possible.
Inputs: term (required), reveal. Returns: result
keychain_get_organizationGet OrganizationARead-only
Get one Bitwarden organization by stable organization id via bw get organization. Use list_organizations first when the id is unknown; returns organization metadata only.
Inputs: id (required).
keychain_get_org_collectionGet Org CollectionARead-only
Get an organization collection by id (bw get org-collection). organizationId is optional and narrows the org-scoped lookup when provided.
Inputs: id (required), organizationId.
keychain_get_passwordGet PasswordARead-only
Get a login password by search term (bw get password). The value is null unless reveal=true, and NOREVEAL or KEYCHAIN_NOREVEAL can still force redaction.
Inputs: term (required), reveal. Returns: result
keychain_get_password_historyGet Password HistoryARead-only
Get an item password history (if any). Returning passwords requires reveal=true.
Inputs: id (required), reveal. Returns: result
keychain_get_totpGet TOTPARead-only
Get the current TOTP code by search term (bw get totp). The value is null unless reveal=true, and NOREVEAL or KEYCHAIN_NOREVEAL can still force redaction.
Inputs: term (required), reveal. Returns: result
keychain_get_uriGet URIARead-only
Get the first login URI matched by bw get uri for a search term. Terms can be names, ids, or other bw-supported selectors and may be ambiguous, so use an exact item id when possible. URI values are returned as non-secret scalar results.
Inputs: term (required). Returns: result
keychain_get_usernameGet UsernameARead-only
Get a login username matched by bw get username for a search term. Usernames are treated as non-secret scalar output, but exact item ids are safest for ambiguous names.
Inputs: term (required). Returns: result
keychain_list_collectionsList CollectionsARead-only
List collections in the current vault, optionally filtered by organizationId. Use list_org_collections when you already know the organization and only want organization-scoped collections.
Inputs: limit, search, organizationId.
keychain_list_foldersList FoldersARead-only
List personal Bitwarden folders visible to the current user. Use this to discover folder ids for item organization; returns safe folder id/name summaries only.
Inputs: limit, search.
keychain_list_organizationsList OrganizationsARead-only
List organizations available to the current Bitwarden user so you can discover the organizationId required for org-scoped tools.
Inputs: limit, search.
keychain_list_org_collectionsList Org CollectionsARead-only
List organization-scoped collections for the required organizationId. Use this after discovering an organization to find collection ids; returns safe id/name summaries.
Inputs: organizationId (required), limit, search.
keychain_move_item_to_organizationMove Item To OrganizationA
Move an existing vault item into the required organizationId. Optionally pass collectionIds to assign organization collections during the move; collection ids are organization collections, not personal folders. Returns the moved item summary with normal redaction rules.
Inputs: id (required), organizationId (required), collectionIds.
keychain_receiveReceiveARead-only
Receive a Bitwarden Send from an HTTPS url. NOREVEAL blocks receipt in every format. Provide password when the Send is protected; obj=true returns the parsed JSON object, downloadFile=true downloads file bytes as base64, and the default returns received text. This reads a shared Send and does not create or modify vault items.
Inputs: url (required), obj, password, downloadFile.
keychain_restore_itemRestore ItemA
Restore a soft-deleted vault item from trash by id. Use this after delete_item or delete_items when permanent was omitted or false; hard-deleted items cannot be restored. Returns the restored item summary with normal redaction rules.
Inputs: id (required).
keychain_sdk_versionCLI VersionARead-only
Return the Bitwarden CLI version reported by bw --version. Use this read-only check when diagnosing CLI/runtime compatibility without touching vault data.
Inputs: no named parameters. Returns: version
keychain_search_itemsSearch ItemsARead-only
Search vault items by text and filters (org/folder/collection/url). This wraps bw list items --search, which does not reliably search custom field values.
Inputs: url, text, type, limit, +4 more.
keychain_send_createSend CreateA
Quick-create a Bitwarden Send through bw send. Use type=text with text, or type=file with filename plus contentBase64; deleteInDays controls expiration deletion, maxAccessCount limits accesses, password protects the Send, and emails grant email-gated access. For advanced JSON templates or edits, use send_create_encoded and send_edit instead.
Inputs: type (required), name, text, notes, +8 more.
keychain_send_create_encodedSend Create (Encoded JSON)A
Create a Send with the advanced bw send create flow. Provide an encodedJson template or raw json to encode, or create directly from text/file fields; file uses filename plus contentBase64 and hidden only affects text Sends. Use this when you need template-level fields beyond the quick send_create options.
Inputs: file, json, text, hidden, +1 more.
keychain_send_deleteSend DeleteADestructive
Delete a Bitwarden Send by id through bw send delete. This is destructive for the Send and its shared content; it does not delete any vault item that may have been used to create it. The visible text includes the requested Send id, and structured output includes both that id and the bw result payload when available.
Inputs: id (required).
keychain_send_editSend Edit (Encoded JSON)B
Edit an existing Send with the advanced bw send edit flow. Provide encodedJson or raw json containing the Send edit payload; raw json is encoded before invoking bw. Optional itemId maps to --itemid for item-linked Send edits.
Inputs: json, itemId, encodedJson.
keychain_send_getSend GetARead-only
Get Sends owned by you. Use text=true to return text content; file Sends return metadata including accessUrl. NOREVEAL returns only Send IDs, names and types and blocks text reads. To download file Send bytes, call receive with that accessUrl and downloadFile=true.
Inputs: id (required), text.
keychain_send_listSend ListARead-only
List all the Sends owned by you (bw send list). NOREVEAL returns only Send IDs, names and types. This is read-only and does not mutate the vault.
Inputs: no named parameters.
keychain_send_remove_passwordSend Remove PasswordADestructive
Remove a Send's saved password so recipients no longer need that password. This is destructive for the Send password only; it does not delete the Send content. Use send_delete when the entire Send should be removed.
Inputs: id (required).
keychain_send_templateSend TemplateARead-only
Get a Bitwarden Send JSON template from bw send template. Choose a text or file template with object values send.text/text or send.file/file before using encoded create/edit flows. This is read-only and does not create a Send.
Inputs: object (required).
keychain_set_login_urisSet Login URIsA
Set or update the URI list on a login item. mode=replace overwrites the full list; mode=merge updates existing URIs and adds new ones by URI. Match values can be domain, host, startsWith, exact, regex, or never.
Inputs: id (required), uris (required), mode, reveal.
keychain_statusVault StatusARead-only
Returns Bitwarden CLI status (locked/unlocked, server, user). This is a lazy check: not-ready status does not mean later keychain tool calls cannot unlock or recover on demand.
Inputs: no named parameters. Returns: status
keychain_syncSync VaultARead-only
Pull the latest vault data from the server (bw sync). Returns the last sync timestamp.
Inputs: no named parameters.
keychain_update_itemUpdate ItemA
Update selected fields of an item by id. The patch is applied to the current item, so omitted fields stay unchanged while explicit nulls and empty arrays overwrite the stored folder, collection, login URI, or custom-field values. Use this for partial edits instead of reconstructing the full item.
Inputs: id (required), patch (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 53 tools
Most tools map to a distinct resource+action and descriptions actively disambiguate similar pairs (list_collections vs list_org_collections, get_collection vs get_org_collection, send_create vs send_create_encoded). The singular/plural pairs (create_login vs create_logins, delete_item vs delete_items) and the scalar get_* family (get_uri/notes/username/password/totp) are close enough that an agent could occasionally pick the wrong one, but the descriptions steer selection well.
Tools uniformly use the keychain_ prefix and snake_case, mostly following verb_noun (keychain_create_item, keychain_delete_folder, keychain_list_organizations). The main deviation is the Send family, which uses noun_verb order (keychain_send_list, keychain_send_create, keychain_send_edit) instead of keychain_<verb>_send, but it is internally consistent within that group.
53 tools is heavy and well beyond a comfortable working set, even for a broad Bitwarden CLI wrapper. Several operations exist in both single and batch forms (create_login/create_logins, delete_item/delete_items) and in raw vs encoded variants (send_create/send_create_encoded), suggesting consolidation opportunities that would reduce the surface substantially.
The surface covers full lifecycle for items, folders, collections, org collections, sends, and attachments (create/get/edit/delete/restore), plus generation, encoding, sync, field-specific retrieval, and all item types (login, note, card, identity, SSH key). With batch variants, soft/hard delete, and restore helpers, there are essentially no dead ends for the stated vault-management purpose.
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
An MCP server that provides agents access to the KeldynAI platform
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
AlicenseBqualityAmaintenanceA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.102510,733,245 npm40,176Apache 2.0- AlicenseNot gradedqualityDmaintenanceSecret management MCP server for AI coding agents that prevents secrets from entering the LLM context window by returning metadata only and using side-channel injection. Integrates with Bitwarden and offers hooks for auto-capture and leak prevention.1MIT

wundervaultofficial
AlicenseAqualityBmaintenanceMCP server for Wundervault zero-knowledge secret management. Lets AI Agents use secrets via the Model Context Protocol — secrets are decrypted using a broker that runs on your local computer on a protected account that your agent cannot access the plaintext.1586 npm2AGPL 3.0- AlicenseBqualityDmaintenanceMCP server that enables AI models to securely interact with a Bitwarden password manager vault via the rbw CLI.111MIT