Overview
TheApp class provides accessor methods for reading host state received during the initialization handshake. These methods return undefined before connect() completes.
| Method | Returns | Description |
|---|---|---|
getHostCapabilities() | McpUiHostCapabilities | Feature detection — what the host supports |
getHostVersion() | { name, version } | Host identification |
getHostContext() | McpUiHostContext | Theme, locale, display mode, dimensions, and more |