MCP Apps Kit - v0.5.0
    Preparing search index...
    • Build a single React UI.

      Convenience function for building just one UI.

      Parameters

      • key: string

        Unique key for this UI

      • def: ReactUIDef

        React UI definition

      • options: BuildOptions = {}

        Build options

      Returns Promise<string>

      The compiled HTML string

      const html = await buildReactUI("my-widget", defineReactUI({
      component: MyWidget,
      name: "My Widget",
      }));