@modelcontextprotocol/ext-apps - v1.1.2
    Preparing search index...

    Interface McpUiResourceMeta

    UI Resource metadata for security and rendering configuration.

    interface McpUiResourceMeta {
        csp?: McpUiResourceCsp;
        domain?: string;
        permissions?: McpUiResourcePermissions;
        prefersBorder?: boolean;
    }
    Index

    Properties

    Content Security Policy configuration for UI resources.

    domain?: string

    Dedicated origin for view sandbox.

    Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.

    Host-dependent: The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:

    • Hash-based subdomains (e.g., {hash}.claudemcpcontent.com)
    • URL-derived subdomains (e.g., www-example-com.oaiusercontent.com)

    If omitted, host uses default sandbox origin (typically per-conversation).

    "a904794854a047f6.claudemcpcontent.com"
    
    "www-example-com.oaiusercontent.com"
    

    Sandbox permissions requested by the UI resource.

    prefersBorder?: boolean

    Visual boundary preference - true if view prefers a visible border.

    Boolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.

    • true: request visible border + background
    • false: request no visible border + background
    • omitted: host decides border