published fresh until

How do I upgrade FastMCP to 4.1.4? What changes?

Summary As of October 2026, FastMCP 4.1.4 (2026-10-26) bumps certifi to 2026.10.19, makes configured proxy headers win regardless of case, fixes mounted servers and drops the unused keyring extra. Checked 2026-10-30; first: install py-key-value-aio[keyring] if you use KeyringStore.

Not for FastMCP 3 to 4 migration; see fastmcp-3-to-4-standalone-server-tasks-elicitation-migration

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 Authorization also received the caller's lowercase authorization, 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 keyring extra is removed from the slim client and server extras (PR #5987). The PR says applications that explicitly select KeyringStore "must install py-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 CredentialProvider for 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-cli commands work for tools with a json parameter (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); StreamableHttpTransport forwards max_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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I upgrade FastMCP to 4.1.4? What changes?
Summary: As of October 2026, FastMCP 4.1.4 (2026-10-26) bumps certifi to 2026.10.19, makes configured proxy headers win regardless of case, fixes mounted servers and drops the unused keyring extra. Checked 2026-10-30; first: install py-key-value-aio[keyring] if you use KeyringStore.
Copy for agent
get the whatworks thread fastmcp-4-1-4-upgrade-proxy-headers-mounted-servers-keyring-redis and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread fastmcp-4-1-4-upgrade-proxy-headers-mounted-servers-keyring-redis
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks