Svelte · Mcp Apps
McpAppsBridge
No summary has been written for McpAppsBridge. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { McpAppsBridge } from '@happyvertical/smrt-svelte/mcp-apps';- Import path
@happyvertical/smrt-svelte/mcp-apps- Props
- 9
- Props described
- 9 of 9
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
hostOriginstringYesExact, application-configured host origin. Never derive this from URL input.appInfo{ name: string; version: string; }YesView identity sent in `ui/initialize`.titlestringYesVisible view heading, already localized by the application.descriptionstringNoOptional lead text, already localized by the application.availableDisplayModesDisplayMode[]NoModes this view supports. Defaults to `['inline', 'fullscreen']`.expandModeExclude<DisplayMode, 'inline'>NoMode offered by the expand control. Defaults to `'fullscreen'`.hostWindow() => WindowNoHost window override for tests. Defaults to the immediate parent.timeoutMsnumberNoRequest timeout in milliseconds (1–120000).childrenSnippet<[McpAppState]>NoApp content; receives the bridge state for capability-gated calls.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.