mcp-use TypeScript API
    Preparing search index...

    Type Alias ViewCspViolation

    Browser CSP violation observed while an MCP App is running.

    type ViewCspViolation = {
        blockedUri: string;
        columnNumber?: number | null;
        directive: string;
        effectiveDirective?: string;
        lineNumber?: number | null;
        originalPolicy?: string;
        sourceFile?: string | null;
        timestamp: number;
    }
    Index
    blockedUri: string

    URI blocked by the policy.

    columnNumber?: number | null

    Source column associated with the violation.

    directive: string

    CSP directive reported by the browser.

    effectiveDirective?: string

    Effective CSP directive reported by the browser.

    lineNumber?: number | null

    Source line associated with the violation.

    originalPolicy?: string

    Original policy text reported by the browser.

    sourceFile?: string | null

    Source file associated with the violation.

    timestamp: number

    Unix timestamp in milliseconds when the violation occurred.