v4.21.2

maurosoria/dirsearchv4.21.2Sep 25, 2026by github-actions[bot]

Upgrading?

AI Summary

A bug fix release for FastMCP addressing errors when prompts or resources are unknown and improving authentication visibility.

Key Highlights

  • Answered error code -32602 for unknown prompt or resource templates.
  • Kept record value schemas in advertised tool inputs.
  • Hidden tools from sessions that failed authentication.
  • Preserved free-form object arguments in tool inputs.

Full Release Notes

## [4.21.2](https://github.com/punkpeye/fastmcp/compare/v4.21.1...v4.21.2) (2026-09-25)


### Bug Fixes

* answer -32602 when completion/complete names an unknown prompt or resource template ([f05b026](https://github.com/punkpeye/fastmcp/commit/f05b026e20ddb60703066f879d8a0d7ee3d0c18a))
* **edge:** keep record value schemas in advertised tool inputs ([d214e31](https://github.com/punkpeye/fastmcp/commit/d214e313b268fc103cc730d1edd385e5998647d0))
* hide canAccess tools from sessions that failed to authenticate ([28cdac4](https://github.com/punkpeye/fastmcp/commit/28cdac4b90c6bd9718a33b27030eb57445266fc8))
* keep free-form object arguments open in advertised tool inputs ([4a3b84d](https://github.com/punkpeye/fastmcp/commit/4a3b84d658736b5982be96e3e5f61349e77ca635))



Related Repositories