You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because it always passes convert_result=True to self._tool_manager.call_tool (it would be nice if that was exposed as a parameter). And the convert_result result function (in mcp.server.fastmcp.utilities.func_metadata) is implemented like that but doesn't have any useful type hints.
This has changed after version 1.9.4 (i.e. in 1.9.4 it was still just a sequence of ContentBlock).
Thanks for the report. Closing this as it's been fixed in v2, which is now released (see #2816). If you still run into this on v2, feel free to reopen.
Activity
Return `CallToolResult` from `convert_result` instead of a tuple
chore(deps): upgrade fastmcp to 3.x, mcp to 1.27.1, and pydantic to 2…
maxisbey commentedon Jul 29, 2026
Thanks for the report. Closing this as it's been fixed in v2, which is now released (see #2816). If you still run into this on v2, feel free to reopen.
AI Disclaimer