Skip to main content
Glama

keychain_list_folders

List personal Bitwarden folders to organize and access password vault items. Use search and limit parameters to filter results.

Instructions

List Bitwarden folders (personal).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNo
limitNo

Implementation Reference

  • Implementation of the "list_folders" tool (the tool name in the code uses the prefix from toolPrefix, resulting in "keychain_list_folders" assuming toolPrefix="keychain").
    registerTool(
      `${deps.toolPrefix}.list_folders`,
      {
        title: 'List Folders',
        description: 'List Bitwarden folders (personal).',
        annotations: { readOnlyHint: true },
        inputSchema: {
          search: z.string().optional(),
          limit: z.number().int().min(1).max(500).optional(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        const sdk = await deps.getSdk(extra.authInfo);
        const folders = await sdk.listFolders(input);
        const results = folders
          .filter((x) => x && typeof x === 'object')
          .map((x) => {
            const rec = x as Record<string, unknown>;
            return { id: rec.id, name: rec.name };
          });
        return {
          structuredContent: { results },
          content: [{ type: 'text', text: `Found ${results.length} folder(s).` }],
        };
      },
    );

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