This PR implements full support for MCP Apps (Model Context Protocol) as per the specification in #1301. It enables interactive UIs within the chat interface while maintaining strict security and performance standards.
McpAppFrame React component with a strict sandbox="allow-scripts" iframe to prevent XSS and unauthorized access.ResizeObserver and postMessage bridge to ensure the iframe adapts perfectly to the content height without scrollbars.ui:// resources, allowing MCP apps to load assets while maintaining auth headers._meta fields are preserved throughout the tool call lifecycle.https://www.youtube.com/watch?v=TYvf72gKCJU
Fixes #1301 /claim #1301
sharondrm
@sharondrm
Archestra
@archestra-ai