Skip to content

Enable support for widgetState alternative on MCP app renderer #267

Description

@fredericbarthelet

There is no equivalent of widgetState and setWidgetState on ext apps ATM.
Any feature that uses it result in an error being thrown in MCP app rendered UI.
This is the case for data-llm for exemple.

We could implement with zustand a stub for this feature. The store will not be saved across browser refresh. But within a conversation, the store can be persistant across rerender

To be later on completed with modelcontextprotocol/ext-apps#125 to enable the actual transfer of context to LLM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions