Brian Hung
mcp-components-ui
Turns a team's React components into MCP tools that render in chat and return what the user chose.
expense({ … })json-render specthe user clicksthe answer anda confirmTokenModelpicks a componentMCP serverZod-checks the propsChat hostsandboxed ui:// iframesubmit_answercalled by the UIcomponents/ui/one tool per fileThe model never calls submit_answer. A guarded write needs the token that only a click mints.