github PrefectHQ/fastmcp v3.0.1
v3.0.1: Threecovery Mode

10 hours ago

First patch after 3.0 — mostly smoothing out rough edges discovered in the wild. The big ones: middleware state that wasn't surviving the trip to tool handlers now does, Tool.from_tool() accepts callables again, OpenAPI schemas with circular references no longer crash discovery, and decorator overloads now return the correct types in function mode. Also adds verify_id_token to OIDCProxy for providers (like some Azure AD configs) that issue opaque access tokens but standard JWT id_tokens.

What's Changed

Enhancements 🔧

  • Add verify_id_token option to OIDCProxy by @jlowin in #3248

Fixes 🐞

  • Fix v3.0.0 changelog compare link by @jlowin in #3223
  • Fix MDX parse error in upgrade guide prompts by @jlowin in #3227
  • Fix non-serializable state lost between middleware and tools by @jlowin in #3234
  • Accept callables in Tool.from_tool() by @jlowin in #3235
  • Preserve skill metadata through provider wrapping by @jlowin in #3237
  • Fix circular reference crash in OpenAPI schemas by @jlowin in #3245
  • Fix NameError with future annotations and Context/Depends parameters by @jlowin in #3243
  • Fix ty ignore syntax in OpenAPI provider by @jlowin in #3253
  • Use max_completion_tokens instead of deprecated max_tokens in OpenAI handler by @jlowin in #3254
  • Fix ty compatibility with upgraded deps by @jlowin in #3257
  • Fix decorator overload return types for function mode by @jlowin in #3258

Docs 📚

  • Sync README with welcome.mdx, fix install count by @jlowin in #3224
  • Document dict-to-Message prompt migration in upgrade guides by @jlowin in #3225
  • Fix v2 upgrade guide: remove incorrect v1 import advice by @jlowin in #3226
  • Animated banner by @jlowin in #3231
  • Document mounted server state store isolation in upgrade guide by @jlowin in #3236

Full Changelog: v3.0.0...v3.0.1

Don't miss a new fastmcp release

NewReleases is sending notifications on new releases.