mcp-use TypeScript API
    Preparing search index...

    Interface BetterAuthOAuthUser

    Verified Better Auth claims exposed to authenticated MCP callbacks.

    interface BetterAuthOAuthUser {
        email?: string;
        emailVerified?: boolean;
        id: string;
        isAnonymous?: boolean;
        name?: string;
        picture?: string;
        roles: string[];
        sessionId?: string;
    }
    Index
    email?: string

    Primary email address, when included in the access token.

    emailVerified?: boolean

    Whether Better Auth has verified BetterAuthOAuthUser.email.

    id: string

    Better Auth subject identifier.

    isAnonymous?: boolean

    Whether the session belongs to an anonymous user.

    name?: string

    Display name, when included in the access token.

    picture?: string

    Profile image URL, when included in the access token.

    roles: string[]

    Roles from the access token's roles claim.

    sessionId?: string

    Better Auth session identifier.