Skip to main content
Glama

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
NameRequiredDescriptionDefault
termYes
revealNo

Implementation Reference

  • 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' }],
        };
      },
    );

Latest Blog Posts

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/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server