π The fast, Pythonic way to build MCP servers and clients.
docs: add v4.1.0 changelog entries
Jeremiah Lowind87d1715138a
diff --git a/docs/changelog.mdx b/docs/changelog.mdxindex 8ce48e9b3..80458d42b 100644--- a/docs/changelog.mdx+++ b/docs/changelog.mdx@@ -5,6 +5,155 @@ rss: truetag: NEW---+<Update label="v4.1.0" description="2026-10-08">++**[v4.1.0: Fourth and One](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.1.0)**++FastMCP 4.1.0 is a maintenance release at heart: a broad sweep of fixes across OpenAPI, proxies, auth, tasks, and the CLI, plus full Python 3.15 support. It doesn't change how most servers behave. A few security fixes do tighten inputs that FastMCP previously accepted, though, and our versioning policy keeps breaking changes out of patch releases, so this ships as a point-one release. The security changes: MultiAuth now qualifies client IDs by source, so existing MultiAuth sessions and tasks start new ownership scopes (finish pending tasks before upgrading). Regex tool search uses Pydantic's regex engine, which doesn't support lookarounds or backreferences. Skill files must resolve inside their configured directories. OpenAPI path parameters reject `.` and `..` segments. Separately, HTTP sessions now expire after the MCP SDK's 30-minute idle default instead of never, and CodeMode requires Monty 1.1, which renames `max_duration_secs` to `max_feed_duration_secs`. Thanks to our 48 contributors, including 21 first-time contributors.++### Breaking Changes β οΈ+* fix(http): preserve the SDK's default session idle timeout by [@asts-top](https://github.com/asts-top) in [#5229](https://github.com/PrefectHQ/fastmcp/pull/5229)+* Restore full Python 3.15 support by [@Kludex](https://github.com/Kludex) in [#5558](https://github.com/PrefectHQ/fastmcp/pull/5558)+### Enhancements β¨+* enhancement: Configure token introspection audiences by [@jlowin](https://github.com/jlowin) and [@sajdakabir](https://github.com/sajdakabir) in [#5461](https://github.com/PrefectHQ/fastmcp/pull/5461)+* fix: Make proxy HTTP header forwarding configurable by [@jlowin](https://github.com/jlowin) in [#5462](https://github.com/PrefectHQ/fastmcp/pull/5462)+* enhancement: Configure upload retention in memory by [@jlowin](https://github.com/jlowin) and [@warlocksmurf](https://github.com/warlocksmurf) in [#5463](https://github.com/PrefectHQ/fastmcp/pull/5463)+* Clarify maintainer review decisions by [@jlowin](https://github.com/jlowin) in [#5466](https://github.com/PrefectHQ/fastmcp/pull/5466)+* feat: persist encrypted CLI OAuth tokens by [@andreivince](https://github.com/andreivince) in [#5405](https://github.com/PrefectHQ/fastmcp/pull/5405)+* feat(auth): add TokenCache support to GoogleTokenVerifier and GoogleProvider by [@jerive](https://github.com/jerive) in [#5366](https://github.com/PrefectHQ/fastmcp/pull/5366)+* Add gitleaks secret scanning to prek by [@strawgate](https://github.com/strawgate) in [#5355](https://github.com/PrefectHQ/fastmcp/pull/5355)+* Keep review design decisions with maintainers by [@jlowin](https://github.com/jlowin) in [#5468](https://github.com/PrefectHQ/fastmcp/pull/5468)+### Security π+* fix!: Qualify MultiAuth client identities by [@jlowin](https://github.com/jlowin) in [#5455](https://github.com/PrefectHQ/fastmcp/pull/5455)+* fix!: Validate OpenAPI path parameter segments by [@jlowin](https://github.com/jlowin) in [#5457](https://github.com/PrefectHQ/fastmcp/pull/5457)+* fix!: Resolve skill files within their configured directories by [@jlowin](https://github.com/jlowin) and [@GEONWOOHAN](https://github.com/GEONWOOHAN) in [#5459](https://github.com/PrefectHQ/fastmcp/pull/5459)+* fix!: Use Pydanticβs regex engine for tool search by [@jlowin](https://github.com/jlowin) in [#5467](https://github.com/PrefectHQ/fastmcp/pull/5467)+### Fixes π+* fix: Share JWKS refreshes across key lookups by [@jlowin](https://github.com/jlowin) in [#5456](https://github.com/PrefectHQ/fastmcp/pull/5456)+* fix: Reuse shared OpenAPI composition members by [@jlowin](https://github.com/jlowin) in [#5460](https://github.com/PrefectHQ/fastmcp/pull/5460)+* Resolve app tool names against the transformed catalog by [@jlowin](https://github.com/jlowin) in [#5464](https://github.com/PrefectHQ/fastmcp/pull/5464)+* fix: keep generator iteration inside dependency lifetime by [@mikamikasuki](https://github.com/mikamikasuki) in [#5438](https://github.com/PrefectHQ/fastmcp/pull/5438)+* fix(tools): consume synchronous generators within dispatched invocation by [@HootRock](https://github.com/HootRock) in [#5376](https://github.com/PrefectHQ/fastmcp/pull/5376)+* fix(tools): reject results returned after timeout deadlines by [@HootRock](https://github.com/HootRock) in [#5379](https://github.com/PrefectHQ/fastmcp/pull/5379)+* Fix #5368: Tool.from_tool: a transform_fn that declares ctx: Context fails on eve by [@nandanadileep](https://github.com/nandanadileep) and [@chrikrah](https://github.com/chrikrah) in [#5371](https://github.com/PrefectHQ/fastmcp/pull/5371)+* fix(auth): preserve AuthKit issuer identity by [@mikamikasuki](https://github.com/mikamikasuki) and [@paddynatte](https://github.com/paddynatte) in [#5452](https://github.com/PrefectHQ/fastmcp/pull/5452)+* fix(auth): advertise resource_metadata only when a route serves it by [@alex-feel](https://github.com/alex-feel) in [#5363](https://github.com/PrefectHQ/fastmcp/pull/5363)+* fix: decode escaped JSON Pointer tokens during hydration by [@HuaTNA](https://github.com/HuaTNA) in [#5407](https://github.com/PrefectHQ/fastmcp/pull/5407)+* fix: read MCP config files as UTF-8 in the install commands by [@ch-z-hc](https://github.com/ch-z-hc) in [#5359](https://github.com/PrefectHQ/fastmcp/pull/5359)+* Add regression coverage for root-context schema caching by [@hulkbig](https://github.com/hulkbig) in [#5397](https://github.com/PrefectHQ/fastmcp/pull/5397)+* Keep the original cause when ErrorHandlingMiddleware re-raises an error unchanged by [@asasemahmed](https://github.com/asasemahmed) in [#5344](https://github.com/PrefectHQ/fastmcp/pull/5344)+* Resolve ASGIServer.http_client relative URLs against the server origin by [@asasemahmed](https://github.com/asasemahmed) in [#5341](https://github.com/PrefectHQ/fastmcp/pull/5341)+* Raise startup failures from run_server_async instead of hanging by [@asasemahmed](https://github.com/asasemahmed) in [#5340](https://github.com/PrefectHQ/fastmcp/pull/5340)+* Restrict Windows CLI state access without requiring SeSecurityPrivilege by [@asasemahmed](https://github.com/asasemahmed) in [#5312](https://github.com/PrefectHQ/fastmcp/pull/5312)+* Advertise the same list_changed capabilities over stdio as other transports by [@asasemahmed](https://github.com/asasemahmed) in [#5311](https://github.com/PrefectHQ/fastmcp/pull/5311)+* Validate responses to dict and nested-list elicitation choices by [@asasemahmed](https://github.com/asasemahmed) in [#5343](https://github.com/PrefectHQ/fastmcp/pull/5343)+* Inline enums shared by several fields in elicitation schemas by [@asasemahmed](https://github.com/asasemahmed) in [#5342](https://github.com/PrefectHQ/fastmcp/pull/5342)+* Honor the SDK ElicitResult returned by an elicitation handler by [@asasemahmed](https://github.com/asasemahmed) in [#5339](https://github.com/PrefectHQ/fastmcp/pull/5339)+* Look up call_tool output schemas across all tools/list pages by [@asasemahmed](https://github.com/asasemahmed) in [#5338](https://github.com/PrefectHQ/fastmcp/pull/5338)+* Deduplicate versions in PromptsAsTools and ResourcesAsTools list tools by [@asasemahmed](https://github.com/asasemahmed) in [#5331](https://github.com/PrefectHQ/fastmcp/pull/5331)+* Map File text formats to canonical text MIME types by [@asasemahmed](https://github.com/asasemahmed) in [#5334](https://github.com/PrefectHQ/fastmcp/pull/5334)+* Keep generated OpenAPI component names unique when a suffixed name is taken by [@asasemahmed](https://github.com/asasemahmed) in [#5337](https://github.com/PrefectHQ/fastmcp/pull/5337)+* Keep is_error when ResponseLimitingMiddleware truncates a result by [@asasemahmed](https://github.com/asasemahmed) in [#5309](https://github.com/PrefectHQ/fastmcp/pull/5309)+* Read +json OpenAPI resource responses as JSON text by [@asasemahmed](https://github.com/asasemahmed) in [#5310](https://github.com/PrefectHQ/fastmcp/pull/5310)+* Preserve provider challenge defaults through MultiAuth by [@taylorwilsdon](https://github.com/taylorwilsdon) in [#5454](https://github.com/PrefectHQ/fastmcp/pull/5454)+* Write generate-cli output as UTF-8 by [@asasemahmed](https://github.com/asasemahmed) and [@ch-z-hc](https://github.com/ch-z-hc) in [#5335](https://github.com/PrefectHQ/fastmcp/pull/5335)+* Strip internal visibility meta from prompt results and static resources by [@asasemahmed](https://github.com/asasemahmed) in [#5330](https://github.com/PrefectHQ/fastmcp/pull/5330)+* Register browser OAuth clients as public clients by [@goran-revops](https://github.com/goran-revops) in [#5231](https://github.com/PrefectHQ/fastmcp/pull/5231)+* fix(client): preserve unique JSON arrays by [@lzyruc](https://github.com/lzyruc) in [#5270](https://github.com/PrefectHQ/fastmcp/pull/5270)+* Keep filesystem reloads serialized during cancellation by [@sherxlg-gif](https://github.com/sherxlg-gif) in [#5184](https://github.com/PrefectHQ/fastmcp/pull/5184)+* Treat upstream HTTP errors from OpenAPI tools as HTTP status errors by [@asasemahmed](https://github.com/asasemahmed) in [#5308](https://github.com/PrefectHQ/fastmcp/pull/5308)+* chore(ty): pin the checked platform to the one CI uses (#5302) by [@sclfcz](https://github.com/sclfcz) in [#5303](https://github.com/PrefectHQ/fastmcp/pull/5303)+* fix(tools): take partial tool names and docstrings from the wrapped function by [@BlueX888](https://github.com/BlueX888) and [@Ares16x16](https://github.com/Ares16x16) in [#5269](https://github.com/PrefectHQ/fastmcp/pull/5269)+* fix(tools): keep structured content for object schemas without explicit type by [@BlueX888](https://github.com/BlueX888) in [#5271](https://github.com/PrefectHQ/fastmcp/pull/5271)+* fix: return current tool schemas from cached BM25 searches by [@baba9811](https://github.com/baba9811) in [#5153](https://github.com/PrefectHQ/fastmcp/pull/5153)+* fix(azure): send prompt=select_account to Entra instead of the consent URL by [@mayankkumar-cmd](https://github.com/mayankkumar-cmd) in [#5162](https://github.com/PrefectHQ/fastmcp/pull/5162)+* fix(auth): preserve upstream refresh error semantics by [@77cjj](https://github.com/77cjj) in [#5011](https://github.com/PrefectHQ/fastmcp/pull/5011)+* Clean up run_server_async when startup exits early by [@syf2211](https://github.com/syf2211) and [@asasemahmed](https://github.com/asasemahmed) in [#5469](https://github.com/PrefectHQ/fastmcp/pull/5469)+* Pass resource security policy through FileSystemProvider discovery by [@asasemahmed](https://github.com/asasemahmed) in [#5498](https://github.com/PrefectHQ/fastmcp/pull/5498)+* Forward annotations on proxied resources and resource templates by [@asasemahmed](https://github.com/asasemahmed) in [#5499](https://github.com/PrefectHQ/fastmcp/pull/5499)+* Forward the resources/read result meta through proxies by [@asasemahmed](https://github.com/asasemahmed) in [#5500](https://github.com/PrefectHQ/fastmcp/pull/5500)+* Fix proxy dropping log messages whose data is not a msg/extra dict by [@asasemahmed](https://github.com/asasemahmed) in [#5501](https://github.com/PrefectHQ/fastmcp/pull/5501)+* Forward stop_sequences in the proxy's sampling relay by [@asasemahmed](https://github.com/asasemahmed) in [#5502](https://github.com/PrefectHQ/fastmcp/pull/5502)+* Treat non-Bearer Authorization schemes as missing authentication by [@asasemahmed](https://github.com/asasemahmed) in [#5503](https://github.com/PrefectHQ/fastmcp/pull/5503)+* Reject positional-only parameters in prompts and resource templates by [@asasemahmed](https://github.com/asasemahmed) in [#5505](https://github.com/PrefectHQ/fastmcp/pull/5505)+* Carry domain and prefers_border onto the Prefab renderer resource by [@asasemahmed](https://github.com/asasemahmed) in [#5611](https://github.com/PrefectHQ/fastmcp/pull/5611)+* Keep GenerativeUI CSP on the renderer resource only by [@asasemahmed](https://github.com/asasemahmed) in [#5612](https://github.com/PrefectHQ/fastmcp/pull/5612)+* Keep OpenAPI path segments that contain a colon by [@asasemahmed](https://github.com/asasemahmed) in [#5613](https://github.com/PrefectHQ/fastmcp/pull/5613)+* Print install mcp-json and inspect JSON without Rich wrapping by [@asasemahmed](https://github.com/asasemahmed) in [#5615](https://github.com/PrefectHQ/fastmcp/pull/5615)+* Coerce optional parameters in fastmcp call by their non-null type by [@asasemahmed](https://github.com/asasemahmed) in [#5616](https://github.com/PrefectHQ/fastmcp/pull/5616)+* Return the existing component when an ignored duplicate is added by [@asasemahmed](https://github.com/asasemahmed) in [#5617](https://github.com/PrefectHQ/fastmcp/pull/5617)+* Keep a config client's servers connected when a new() clone connects by [@asasemahmed](https://github.com/asasemahmed) in [#5618](https://github.com/PrefectHQ/fastmcp/pull/5618)+* Strip discriminator under properties named default, const, enum or examples by [@asasemahmed](https://github.com/asasemahmed) in [#5619](https://github.com/PrefectHQ/fastmcp/pull/5619)+* Keep a finished task's status when it is cancelled by [@asasemahmed](https://github.com/asasemahmed) in [#5621](https://github.com/PrefectHQ/fastmcp/pull/5621)+* Forward --skip-source to the uv run subprocess in fastmcp run by [@asasemahmed](https://github.com/asasemahmed) in [#5623](https://github.com/PrefectHQ/fastmcp/pull/5623)+* Send numeric and boolean OpenAPI raw bodies as text by [@asasemahmed](https://github.com/asasemahmed) in [#5624](https://github.com/PrefectHQ/fastmcp/pull/5624)+* Map Anthropic stop_sequence to the MCP stopSequence stop reason by [@asasemahmed](https://github.com/asasemahmed) in [#5625](https://github.com/PrefectHQ/fastmcp/pull/5625)+* Escape the server spec and name in the generate-cli header docstring by [@asasemahmed](https://github.com/asasemahmed) in [#5626](https://github.com/PrefectHQ/fastmcp/pull/5626)+* Fix context docs: request_context.meta is a dict, not an attribute object by [@asasemahmed](https://github.com/asasemahmed) in [#5631](https://github.com/PrefectHQ/fastmcp/pull/5631)+* Validate strict tool input in JSON mode by [@asasemahmed](https://github.com/asasemahmed) in [#5504](https://github.com/PrefectHQ/fastmcp/pull/5504)+* Raise when a required OpenAPI path parameter is missing by [@asasemahmed](https://github.com/asasemahmed) in [#5614](https://github.com/PrefectHQ/fastmcp/pull/5614)+* Omit writeOnly properties from OpenAPI tool output schemas by [@asasemahmed](https://github.com/asasemahmed) in [#5336](https://github.com/PrefectHQ/fastmcp/pull/5336)+* fix(tasks): keep stored arguments alive with the other per-task keys by [@sclfcz](https://github.com/sclfcz) in [#5144](https://github.com/PrefectHQ/fastmcp/pull/5144)+* fix(auth): omit scopes from generic authorization code exchange by [@liang0417](https://github.com/liang0417) and [@kiranthakkar](https://github.com/kiranthakkar) in [#5183](https://github.com/PrefectHQ/fastmcp/pull/5183)+* Reject missing and unexpected arguments at task submission by [@asasemahmed](https://github.com/asasemahmed) in [#5622](https://github.com/PrefectHQ/fastmcp/pull/5622)+* fix(auth): preserve verifier-defined challenge scopes through wrappers by [@mikamikasuki](https://github.com/mikamikasuki) in [#5478](https://github.com/PrefectHQ/fastmcp/pull/5478)+* fix(server): VersionFilter get_tool/get_resource/get_prompt respect include_unversioned=False by [@Ashfaqbs](https://github.com/Ashfaqbs) and [@Purin1410](https://github.com/Purin1410) in [#4949](https://github.com/PrefectHQ/fastmcp/pull/4949)+* Stop asserting that the GitHub remote server lacks structured content by [@jlowin](https://github.com/jlowin) in [#5634](https://github.com/PrefectHQ/fastmcp/pull/5634)+* Skip skills whose SKILL.md is not valid UTF-8 during directory discovery by [@asasemahmed](https://github.com/asasemahmed) in [#5497](https://github.com/PrefectHQ/fastmcp/pull/5497)+* Fix tool body validation errors at the MCP boundary by [@qingshungLI](https://github.com/qingshungLI) and [@alastair](https://github.com/alastair) in [#5485](https://github.com/PrefectHQ/fastmcp/pull/5485)+* Detect client extensions without requiring clientInfo by [@alex-feel](https://github.com/alex-feel) in [#5196](https://github.com/PrefectHQ/fastmcp/pull/5196)+* Propagate child cancellation from gather by [@dennisimoo](https://github.com/dennisimoo) and [@lokesh0186](https://github.com/lokesh0186) in [#5161](https://github.com/PrefectHQ/fastmcp/pull/5161)+* fix(resources): separate URI fragments from query values by [@Harsh23Kashyap](https://github.com/Harsh23Kashyap) in [#5132](https://github.com/PrefectHQ/fastmcp/pull/5132)+* fix: preserve input requests in resource and prompt tools by [@HootRock](https://github.com/HootRock) and [@andreivince](https://github.com/andreivince) in [#5476](https://github.com/PrefectHQ/fastmcp/pull/5476)+* fix(docstrings): don't leak Returns/Raises into description for parameterless functions by [@Ashfaqbs](https://github.com/Ashfaqbs) and [@pvliesdonk](https://github.com/pvliesdonk) in [#5067](https://github.com/PrefectHQ/fastmcp/pull/5067)+* fix(client): hydrate formatted scalars and positional array items by [@FanouZeng-TT](https://github.com/FanouZeng-TT), [@MarcHuang168](https://github.com/MarcHuang168), [@lzyruc](https://github.com/lzyruc), and [@onk3sh](https://github.com/onk3sh) in [#5203](https://github.com/PrefectHQ/fastmcp/pull/5203)+### Docs π+* docs: credit contributors in v4.0.11 changelog entries by [@jlowin](https://github.com/jlowin) in [#5449](https://github.com/PrefectHQ/fastmcp/pull/5449)+* Clarify CodeMode execution context by [@jlowin](https://github.com/jlowin) in [#5458](https://github.com/PrefectHQ/fastmcp/pull/5458)+* docs: explain Inspector entrypoint initialization by [@andreivince](https://github.com/andreivince) and [@nick-youngblut](https://github.com/nick-youngblut) in [#5404](https://github.com/PrefectHQ/fastmcp/pull/5404)+* Docs: show post-call inspection of tool text results by [@Amazinghorseli](https://github.com/Amazinghorseli) and [@roli-lpci](https://github.com/roli-lpci) in [#5385](https://github.com/PrefectHQ/fastmcp/pull/5385)+* Document FastMCP Client use cases by [@andreivince](https://github.com/andreivince) in [#5482](https://github.com/PrefectHQ/fastmcp/pull/5482)+* docs: show tests for MCP mounted in FastAPI by [@andreivince](https://github.com/andreivince) and [@DeoLeung](https://github.com/DeoLeung) in [#5471](https://github.com/PrefectHQ/fastmcp/pull/5471)+* Document OpenTelemetry log export by [@andreivince](https://github.com/andreivince) in [#5483](https://github.com/PrefectHQ/fastmcp/pull/5483)+* docs: explain OpenAPI client timeouts by [@andreivince](https://github.com/andreivince) and [@dimitribarbot](https://github.com/dimitribarbot) in [#5470](https://github.com/PrefectHQ/fastmcp/pull/5470)+* Clarify Python projects and Cursor workspaces in install docs by [@andreivince](https://github.com/andreivince) and [@nick-youngblut](https://github.com/nick-youngblut) in [#5475](https://github.com/PrefectHQ/fastmcp/pull/5475)+* Remove comments from fastmcp.json docs examples by [@asasemahmed](https://github.com/asasemahmed) in [#5627](https://github.com/PrefectHQ/fastmcp/pull/5627)+* Fix mcp-json Advanced Configuration example output by [@asasemahmed](https://github.com/asasemahmed) in [#5628](https://github.com/PrefectHQ/fastmcp/pull/5628)+* Remove FASTMCP_SERVER_DEPENDENCIES from the settings reference by [@asasemahmed](https://github.com/asasemahmed) in [#5629](https://github.com/PrefectHQ/fastmcp/pull/5629)+* Fix versioning docs: get_tool takes a VersionSpec and returns None for a missing version by [@asasemahmed](https://github.com/asasemahmed) in [#5630](https://github.com/PrefectHQ/fastmcp/pull/5630)+* Fix authorization docs: AccessToken field types and built-in check count by [@asasemahmed](https://github.com/asasemahmed) in [#5632](https://github.com/PrefectHQ/fastmcp/pull/5632)+### Examples & Contrib π‘+* Don't evaluate properties when registering MCPMixin methods by [@asasemahmed](https://github.com/asasemahmed) in [#5620](https://github.com/PrefectHQ/fastmcp/pull/5620)+### Dependencies π¦+* chore(deps): bump the uv group across 2 directories with 2 updates by @dependabot[bot] in https://github.com/PrefectHQ/fastmcp/pull/5393++## New Contributors+* @mikamikasuki made their first contribution in [#5438](https://github.com/PrefectHQ/fastmcp/pull/5438)+* @HootRock made their first contribution in [#5376](https://github.com/PrefectHQ/fastmcp/pull/5376)+* @alex-feel made their first contribution in [#5363](https://github.com/PrefectHQ/fastmcp/pull/5363)+* @HuaTNA made their first contribution in [#5407](https://github.com/PrefectHQ/fastmcp/pull/5407)+* @andreivince made their first contribution in [#5404](https://github.com/PrefectHQ/fastmcp/pull/5404)+* @ch-z-hc made their first contribution in [#5359](https://github.com/PrefectHQ/fastmcp/pull/5359)+* @Amazinghorseli made their first contribution in [#5385](https://github.com/PrefectHQ/fastmcp/pull/5385)+* @hulkbig made their first contribution in [#5397](https://github.com/PrefectHQ/fastmcp/pull/5397)+* @jerive made their first contribution in [#5366](https://github.com/PrefectHQ/fastmcp/pull/5366)+* @goran-revops made their first contribution in [#5231](https://github.com/PrefectHQ/fastmcp/pull/5231)+* @lzyruc made their first contribution in [#5270](https://github.com/PrefectHQ/fastmcp/pull/5270)+* @sherxlg-gif made their first contribution in [#5184](https://github.com/PrefectHQ/fastmcp/pull/5184)+* @baba9811 made their first contribution in [#5153](https://github.com/PrefectHQ/fastmcp/pull/5153)+* @mayankkumar-cmd made their first contribution in [#5162](https://github.com/PrefectHQ/fastmcp/pull/5162)+* @77cjj made their first contribution in [#5011](https://github.com/PrefectHQ/fastmcp/pull/5011)+* @liang0417 made their first contribution in [#5183](https://github.com/PrefectHQ/fastmcp/pull/5183)+* @Ashfaqbs made their first contribution in [#4949](https://github.com/PrefectHQ/fastmcp/pull/4949)+* @qingshungLI made their first contribution in [#5485](https://github.com/PrefectHQ/fastmcp/pull/5485)+* @dennisimoo made their first contribution in [#5161](https://github.com/PrefectHQ/fastmcp/pull/5161)+* @FanouZeng-TT made their first contribution in [#5203](https://github.com/PrefectHQ/fastmcp/pull/5203)+* @GEONWOOHAN made their first contribution in [#5459](https://github.com/PrefectHQ/fastmcp/pull/5459)++**Full Changelog**: [v4.0.11...v4.1.0](https://github.com/PrefectHQ/fastmcp/compare/v4.0.11...v4.1.0)++</Update>+<Update label="v4.0.11" description="2026-10-04">**[v4.0.11: Fort Knocks](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.0.11)**diff --git a/docs/updates.mdx b/docs/updates.mdxindex ebedcb705..8796a2f08 100644--- a/docs/updates.mdx+++ b/docs/updates.mdx@@ -5,6 +5,16 @@ icon: "sparkles"tag: NEW---+<Update label="FastMCP 4.1.0" description="October 8, 2026" tags={["Releases"]}>+<Card+title="FastMCP v4.1.0: Fourth and One"+href="https://github.com/PrefectHQ/fastmcp/releases/tag/v4.1.0"+cta="Read the release notes"+>+FastMCP 4.1.0 is a maintenance release at heart: a broad sweep of fixes across OpenAPI, proxies, auth, tasks, and the CLI, plus full Python 3.15 support. It doesn't change how most servers behave. A few security fixes do tighten inputs that FastMCP previously accepted, though, and our versioning policy keeps breaking changes out of patch releases, so this ships as a point-one release. The security changes: MultiAuth now qualifies client IDs by source, so existing MultiAuth sessions and tasks start new ownership scopes (finish pending tasks before upgrading). Regex tool search uses Pydantic's regex engine, which doesn't support lookarounds or backreferences. Skill files must resolve inside their configured directories. OpenAPI path parameters reject `.` and `..` segments. Separately, HTTP sessions now expire after the MCP SDK's 30-minute idle default instead of never, and CodeMode requires Monty 1.1, which renames `max_duration_secs` to `max_feed_duration_secs`. Thanks to our 48 contributors, including 21 first-time contributors.+</Card>+</Update>+<Update label="FastMCP 4.0.11" description="October 4, 2026" tags={["Releases"]}><Cardtitle="FastMCP v4.0.11: Fort Knocks"