Overview
Returns information about the host application, including its name, version, and supported capabilities.Wraps getHostVersion · getHostCapabilities
MCP Apps SDK reference
Import
Signature
Returns
Host application name and version.
Host-supported capabilities.
HostVersion
Host application name.
Host application version.
HostCapabilities
Whether the host supports calling server tools.
Whether the host supports opening external links.
Whether the host supports structured logging.
Whether the host supports sending messages.
Whether the host supports display mode changes.
Usage
McpUiHostCapabilities for the full protocol-level capabilities type.