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

    Interface McpUiInitializeRequest

    Initialization request sent from Guest UI to Host.

    This is the first message sent by the Guest UI after loading. The host responds with McpUiInitializeResult containing host capabilities and context. After receiving the response, the Guest UI MUST send McpUiInitializedNotification.

    This replaces the custom iframe-ready pattern used in pre-SEP MCP-UI.

    app.App.connect for the method that sends this request

    interface McpUiInitializeRequest {
        method: "ui/initialize";
        params: {
            appCapabilities: McpUiAppCapabilities;
            appInfo: {
                icons?: { mimeType?: string; sizes?: string[]; src: string }[];
                name: string;
                title?: string;
                version: string;
                websiteUrl?: string;
            };
            protocolVersion: string;
        };
    }
    Index

    Properties

    Properties

    method: "ui/initialize"
    params: {
        appCapabilities: McpUiAppCapabilities;
        appInfo: {
            icons?: { mimeType?: string; sizes?: string[]; src: string }[];
            name: string;
            title?: string;
            version: string;
            websiteUrl?: string;
        };
        protocolVersion: string;
    }

    Type Declaration

    • appCapabilities: McpUiAppCapabilities

      Features and capabilities this app provides

    • appInfo: {
          icons?: { mimeType?: string; sizes?: string[]; src: string }[];
          name: string;
          title?: string;
          version: string;
          websiteUrl?: string;
      }

      App identification (name and version)

    • protocolVersion: string

      Protocol version this app supports