MCP Apps SDKDocumentation Index
Fetch the complete documentation index at: https://sunpeak.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
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 |