-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Context
An MCP App guest UI is self contained - and is required to include all of its dependencies (running in an isolated iframe). Use cases of MCP Apps will invlove multiple UI instances from the same server - and we might run into the question of "bloated" duplicate dependencies (i.e React, component libraries, etc).
This is not a new problem and is common in all microfrontend-based environements, however here we're looking at a lot of 3rd-party iframes that will have a 3rd-party host, so many of the existing solutions won't work.
We can imagine every host would need or try to solve it somehow at some point.
Not sure if this should be a part of the spec/recommendations (module federation? sharing resources between instances somehow?) - but opening here for a discussion.