keychain_get_password
Retrieve stored login passwords from your Bitwarden vault using search terms. Enable reveal mode to access password values securely through the Warden MCP Server.
Instructions
Get a login password by search term (bw get password). Returning a password requires reveal=true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| reveal | No |
Implementation Reference
- src/tools/registerTools.ts:1154-1181 (handler)The tool definition and handler implementation for `keychain_get_password` (aliased in the code as `${deps.toolPrefix}.get_password`).
`${deps.toolPrefix}.get_password`, { title: 'Get Password', description: 'Get a login password by search term (bw get password). Returning a password requires reveal=true.', annotations: { readOnlyHint: true }, inputSchema: { term: z.string(), reveal: z.boolean().optional(), }, _meta: toolMeta, }, async (input, extra) => { const sdk = await deps.getSdk(extra.authInfo); const password = await sdk.getPassword( { term: input.term }, { reveal: effectiveReveal(input) }, ); return { structuredContent: toolResult( 'password', password.value, password.revealed, ), content: [{ type: 'text', text: 'OK' }], }; }, );