MCP Apps Kit - v0.5.0
    Preparing search index...

    Interface CreateClientOptions

    Options for createClient

    interface CreateClientOptions {
        autoResize?: boolean;
        forceAdapter?: "mcp" | "openai" | "mock";
    }
    Index

    Properties

    autoResize?: boolean

    Enable automatic size change notifications (MCP adapter only)

    When enabled, the UI automatically reports its size changes to the host using a ResizeObserver on document.body and document.documentElement. The host can then resize the UI container accordingly.

    true
    
    forceAdapter?: "mcp" | "openai" | "mock"

    Force a specific protocol adapter Useful for testing or development