mcp-use TypeScript API
    Preparing search index...

    Interface ScalekitOAuthUser

    Verified Scalekit caller exposed to authenticated MCP callbacks.

    interface ScalekitOAuthUser {
        id: string;
        organizationId?: string;
        sessionId?: string;
        subjectType: "user" | "machine";
    }
    Index
    id: string

    Token sub. A person under authorization_code; the client under client_credentials.

    organizationId?: string

    Organization identifier from the access token's org_id claim.

    sessionId?: string

    Session identifier from the access token's sid claim.

    subjectType: "user" | "machine"

    Distinguishes a person from a machine client so tools do not store a client id as a user id.