@modelcontextprotocol/ext-apps - v0.2.2
    Preparing search index...

    Interface McpUiSandboxResourceReadyNotificationInternal

    Notification containing HTML resource for the sandbox proxy to load.

    interface McpUiSandboxResourceReadyNotification {
        method: "ui/notifications/sandbox-resource-ready";
        params: {
            csp?: { connectDomains?: string[]; resourceDomains?: string[] };
            html: string;
            sandbox?: string;
        };
    }
    Index

    Properties

    Properties

    method: "ui/notifications/sandbox-resource-ready"
    params: {
        csp?: { connectDomains?: string[]; resourceDomains?: string[] };
        html: string;
        sandbox?: string;
    }

    Type Declaration

    • Optionalcsp?: { connectDomains?: string[]; resourceDomains?: string[] }

      CSP configuration from resource metadata.

      • OptionalconnectDomains?: string[]

        Origins for network requests (fetch/XHR/WebSocket).

      • OptionalresourceDomains?: string[]

        Origins for static resources (scripts, images, styles, fonts).

    • html: string

      HTML content to load into the inner iframe.

    • Optionalsandbox?: string

      Optional override for the inner iframe's sandbox attribute.