mcp-use TypeScript API
    Preparing search index...

    Variable ThemeProviderConst

    ThemeProvider: React.FC<{ children: React.ReactNode; colorScheme?: boolean }> = ...

    Applies host theme, style variables, and fonts to the document root.

    Subscribes to the runtime's host-context channel for theme, styles.variables, and styles.css.fonts. Theme-only consumers should use useViewTheme so locale and dimension updates do not rerender them.

    MCP App views render in srcdoc iframes; the document canvas stays transparent by default so rounded cards do not expose an opaque color-scheme backdrop.