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

    Interface McpUiHostContextChangedNotification

    Notification that host context has changed (Host → Guest UI).

    The host MAY send this notification when any context field changes, such as:

    • Theme toggled (light/dark)
    • Display mode changed (inline/fullscreen)
    • Device orientation changed
    • Window/panel resized

    This notification contains partial updates. Guest UIs SHOULD merge received fields with their current context state rather than replacing it entirely.

    McpUiHostContext for the full context structure

    interface McpUiHostContextChangedNotification {
        method: "ui/notifications/host-context-changed";
        params: McpUiHostContext;
    }
    Index

    Properties

    Properties

    method: "ui/notifications/host-context-changed"

    Partial context update containing only changed fields