github PrefectHQ/fastmcp v4.2.0a2
v4.2.0a2: Skill Waters Run Deep

pre-release2 hours ago

The second 4.2 alpha carries every fix from 4.1.5 plus the ones that only land on 4.2: Skills discovery through proxies pages its backends with a bound, pre-4.2 Prefab backend addresses rebind through 4.2 proxies, large tool catalogs expand their schemas faster, and kept-alive stdio transports respect each client's timeout. Before tagging, this build ran against pydantic-ai, langchain, agno, Microsoft Agent Framework, and the OpenAI Agents SDK. Skills support remains experimental; this prerelease is intended for integration testing.

Behavior changes since a1: JSON Schema const and enum compare by JSON equality, so true no longer passes for 1; prompts/get with a missing argument returns invalid params (-32602); OpenAPI upstream errors are cut to 1 KB with HTML bodies dropped, and strict input validation rejects undeclared OpenAPI arguments; a later client with a different timeout restarts an idle kept-alive stdio subprocess, while one nested inside a live client shares its session's timeout and logs a warning.

Thanks to our 22 contributors, including 13 first-time contributors.

What's Changed

Breaking Changes ⚠️

  • Make Skill a storage-neutral object with folders as one loader by @zzstoatzz in #6065

Enhancements ✨

Security 🔒

  • Verify advertised skill frontmatter when reading content by @zzstoatzz in #6090
  • Check skill limits before reading directory and remote files by @zzstoatzz in #6092
  • fix: preserve _list_query_params in FastMCPProviderResourceTemplate.wrap by @RS-ITACHI in #6130
  • Read composite action inputs from env and pin actions by digest by @gaker in #6168
  • Scope the /marvin App token to the permissions it uses by @zzstoatzz in #6206

Fixes 🐞

Docs 📚

New Contributors

Full Changelog: v4.1.4...v4.2.0a2

Don't miss a new fastmcp release

NewReleases is sending notifications on new releases.