fix: Preserve metadata in FastMCPProvider component wrappers#3057
Conversation
WalkthroughThis change modifies 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the quick merge, @jlowin! Just curious - do you guys have something like a release schedule? Would you be able to give me an estimate of when a version with this change would be available on PyPI? 🙂 |
|
@NeelayS we are currently in the beta period for FastMCP 3, so releases are slower than usual. I expect 3.0 beta2 to land maybe end of this week or early next week. 3 will probably not be released fully until later this month, depending also on the release of the MCP SDK v2 |
Gotcha, thanks! |
Description
When mounting FastMCP servers, component metadata (meta, title, icons) was not being forwarded through the provider wrapper classes. This caused MCP Apps to fail rendering in clients like Claude Desktop, since the
meta["ui"]configuration was lost during composition.The fix adds meta, title, and icons forwarding to all four
FastMCPProvider*wrapper classes: Tool, Resource, Prompt, and ResourceTemplate.Contributors Checklist
Review Checklist