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