@mcp-z/oauth
    Preparing search index...

    Function getActiveAccount

    @mcp-z/oauth - Multi-account OAuth orchestration and secure token storage for MCP servers

    Provides account management functions, account tools generation, and secure logging utilities. Designed to work with any storage backend (file, Redis, DuckDB) via Keyv interface.

    • Get active account ID for a service.

      Key: {service}:active

      Parameters

      • store: Keyv

        Keyv storage instance

      • params: ServiceKeyParams

        Service identification (service)

      Returns Promise<string>

      Active account ID or undefined if none set