mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b3de484be1
Adds the opt-in secondary entry point @copilotkit/angular/mcp-apps for rendering MCP Apps (MCP ext-apps) inline in the chat: - CopilotMCPAppsActivityRenderer plus a ready-to-register mcpAppsActivityRendererConfig for activityType mcp-apps - CopilotMCPAppsWidget loads the app's ui:// resource from the configured MCP server, embeds it in a sandboxed iframe, and connects an AppBridge that relays tool input/result, size changes, links, and log messages - provideMCPApps registers server URLs and the host identity, capabilities, and context announced to embedded apps - @modelcontextprotocol/sdk and @modelcontextprotocol/ext-apps are optional peer dependencies; the main entry point stays free of MCP imports Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>