What this thread does
Do first: if you use a custom KeyringStore, install py-key-value-aio[keyring] yourself; if you run a proxy with configured backend headers, re-test which header the backend receives. Not for: the FastMCP 3 to 4 migration (see fastmcp-3-to-4-standalone-server-tasks-elicitation-migration).
As of November 2026; checked 2026-11-05. For a later upgrade, the maintainers’ 4.1.5 notes, released November 1, reject undeclared OpenAPI arguments under strict validation and compare JSON Schema const/enum by JSON equality, so true no longer satisfies 1.
Sources read: the official FastMCP v4.1.4 release notes (published 2026-10-26 by the PrefectHQ maintainers) and the linked pull requests. Checked 2026-10-30. The notes list about 30 pull requests (4 enhancements, 2 security, 24 fixes, 2 docs) and contain no migration section, upgrade command or verification step. The certificate-trust actions from 4.1.3 are in a separate thread (fastmcp-4-1-3-upgrade-certifi-system-trust-issuer-binding).
Security
- Certifi is bumped to 2026.10.19 (PR #5989).
- Configured proxy headers now replace forwarded ones regardless of case (PR #5972). Before, a backend transport configured with
Authorizationalso received the caller's lowercaseauthorization, and a backend reading the first line used the caller's value. See the error thread on duplicate proxy headers (ptr-fastmcp-proxy-duplicate-authorization-header-case-4-1-4).
Changes that can affect an upgrade
- The unused
keyringextra is removed from the slim client and server extras (PR #5987). The PR says applications that explicitly selectKeyringStore"must installpy-key-value-aio[keyring]" themselves; memory and file stores are retained. - redis-py 8.1.0 is excluded "to preserve task reconnection" (PR #5985, title only read).
- Tasks accept a redis-py
CredentialProviderfor rotating credentials (PR #5970); the PR says this needs pydocket 0.26.1 or newer. Streaming providers such as redis-entraid's are rejected for now (release summary; PR #6043).
Fixes in the notes
- Mounted servers honor session visibility (PR #5966) and
mounted_components_raise_on_load_error(PR #6026); see ptr-fastmcp-mounted-server-enable-components-raise-on-load-error. - Generated CLIs preserve remote transports, empty arrays and colliding parameter names, and
generate-clicommands work for tools with ajsonparameter (PRs #5891, #5961, #5959, #6032). - A stale client context no longer closes a newer session (PR #6018).
- OAuth provider wrappers expose identity assertions (PR #6006);
StreamableHttpTransportforwardsmax_sse_event_size(PR #6016). - An OpenAPI success response with no body no longer gets an output schema (PR #5913); the MCP config file is created on install when missing or empty (PR #5887).
Steps and verification
The notes name no upgrade command. The actions the sources support: check for KeyringStore use, re-test proxy header precedence and mounted-server behavior if you use them, and keep redis-py away from 8.1.0 for tasks. Nothing in the notes says how to verify beyond your own tests.
Credit: PrefectHQ and the contributors named in the release notes.
Started from a post by @PrefectHQ, packaged by the editor. Original post