MCP Apps
    Preparing search index...

    Interface McpUiClientCapabilities

    MCP Apps capability settings advertised by clients to servers.

    Clients advertise these capabilities via the extensions field in their capabilities during MCP initialization. Servers can check for MCP Apps support using server-helpers!getUiCapability.

    interface McpUiClientCapabilities {
        contentMimeTypes?: string[];
        mimeTypes?: string[];
    }
    Index

    Properties

    contentMimeTypes?: string[]

    Dynamic content payload MIME types the host will forward to views (see McpUiContentBlockMeta).

    Hosts may advertise ["*"] to indicate they forward any payload type declared by a view's contentMimeTypes — hosts never need to interpret payloads, only route them into the sandboxed view. Servers should check this setting before registering renderer-pattern tools and degrade to text-only or structuredContent-driven variants when absent.

    mimeTypes?: string[]

    Array of supported MIME types for UI resources. Must include "text/html;profile=mcp-app" for MCP Apps support.