MCP Apps
    Preparing search index...

    Interface McpUiAppCapabilities

    Capabilities provided by the View (App).

    McpUiInitializeRequest for the initialization request that includes these capabilities

    interface McpUiAppCapabilities {
        availableDisplayModes?: McpUiDisplayMode[];
        experimental?: Record<string, object>;
        preferredDisplayMode?: McpUiDisplayMode;
        tools?: { listChanged?: boolean };
    }
    Index

    Properties

    availableDisplayModes?: McpUiDisplayMode[]

    Display modes the app supports.

    experimental?: Record<string, object>

    Experimental features keyed by identifier.

    preferredDisplayMode?: McpUiDisplayMode

    Display mode in which the app prefers to be first shown.

    A hint: the host chooses how it first shows the app and may ignore this value. The app reads the mode it is displayed in from hostContext.displayMode. Must also be listed in availableDisplayModes.

    tools?: { listChanged?: boolean }

    Type Declaration

    • OptionallistChanged?: boolean

      App supports tools/list_changed notifications.

    App exposes MCP-style tools that the host can call.