v4.22.8

punkpeye/fastmcpv4.22.8Oct 14, 2026by github-actions[bot]

Upgrading?

AI Summary

Corrects JSON-RPC error responses for malformed URIs and missing arguments, and enhances OpenAPI media type recognition.

Key Highlights

  • Returns -32602 for malformed percent-escaped resource URIs.
  • Fixes warnings for client capabilities in sessions closed before initialization.
  • OpenAPI now recognizes JSON and form media types with different casing or parameters.

Full Release Notes

## [4.22.8](https://github.com/punkpeye/fastmcp/compare/v4.22.7...v4.22.8) (2026-10-14)


### Bug Fixes

* answer -32602 for a resource URI with a malformed percent-escape ([5db96fe](https://github.com/punkpeye/fastmcp/commit/5db96fe372672714094ae0291d87198e82322cdd))
* do not warn about client capabilities for a session closed before initialize ([3dda1cb](https://github.com/punkpeye/fastmcp/commit/3dda1cbdd523dd618f633a4cb71b3ec6c8e49f54))
* **edge:** answer -32602 when prompts/get omits a required argument ([65f56e1](https://github.com/punkpeye/fastmcp/commit/65f56e12d401c0cfeef311a130586b1d9bb44693))
* **openapi:** recognize JSON and form media types declared with different casing or parameters ([de510f6](https://github.com/punkpeye/fastmcp/commit/de510f6fe8fc56b8edec1891b78350706f2664f3))



Related Repositories