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

    Interface McpUiHostCapabilities

    Capabilities supported by the host application.

    Hosts declare these capabilities during the initialization handshake. Guest UIs can check capabilities before attempting to use specific features.

    const result = await app.connect(transport);
    if (result.hostCapabilities.openLinks) {
    await app.sendOpenLink({ url: "https://example.com" });
    }

    McpUiInitializeResult for the initialization result that includes these capabilities

    interface McpUiHostCapabilities {
        experimental?: {};
        logging?: {};
        openLinks?: {};
        serverResources?: { listChanged?: boolean };
        serverTools?: { listChanged?: boolean };
    }
    Index

    Properties

    experimental?: {}

    Experimental features (structure TBD)

    logging?: {}

    Host accepts log messages via app.App.sendLog

    openLinks?: {}

    Host supports opening external URLs via app.App.sendOpenLink

    serverResources?: { listChanged?: boolean }

    Host can proxy resource reads to the MCP server

    Type Declaration

    • OptionallistChanged?: boolean

      Host supports resources/list_changed notifications

    serverTools?: { listChanged?: boolean }

    Host can proxy tool calls to the MCP server

    Type Declaration

    • OptionallistChanged?: boolean

      Host supports tools/list_changed notifications