mcp-use TypeScript API
    Preparing search index...

    Interface MCPAuthorizationInfo

    OAuth availability inferred after an anonymous MCP connection succeeds.

    interface MCPAuthorizationInfo {
        authenticated: boolean;
        mode: "mixed";
        resource?: string;
        scopesSupported?: string[];
    }
    Index
    authenticated: boolean

    Whether this client currently has OAuth access tokens.

    mode: "mixed"

    Mixed auth means public MCP operations succeeded while OAuth is available.

    resource?: string

    Canonical protected-resource identifier from RFC 9728 metadata.

    scopesSupported?: string[]

    Scopes advertised by the protected resource, when provided.