Skip to main content
Glama

keychain_get_uri

Retrieve login URIs from a Bitwarden vault by searching with a specific term, enabling secure access to stored credentials.

Instructions

Get a login URI by search term (bw get uri).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYes

Implementation Reference

  • The `keychain_get_uri` (registered as `get_uri` in the tool prefix) handler function that executes the `getUri` method via the `KeychainSdk`.
      `${deps.toolPrefix}.get_uri`,
      {
        title: 'Get URI',
        description: 'Get a login URI by search term (bw get uri).',
        annotations: { readOnlyHint: true },
        inputSchema: {
          term: z.string(),
        },
        _meta: toolMeta,
      },
      async (input, extra) => {
        const sdk = await deps.getSdk(extra.authInfo);
        const uri = await sdk.getUri(input);
        return {
          structuredContent: toolResult('uri', uri.value, uri.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