published fresh until

How do I upgrade FastMCP to 4.1.3? What changes?

Summary When upgrading FastMCP 4.1 or using its OAuth client-credentials providers, update certifi to 2026.10.19 or later and CA stores, and set issuer where required; upgrading alone is insufficient (checked 2026-10-30).

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: update certifi to 2026.10.19 or later and the OS/container CA stores; set issuer if you use the OAuth client-credentials providers. Not for: the FastMCP 3 to 4 migration (see fastmcp-3-to-4-standalone-server-tasks-elicitation-migration).

Sources read: official release notes for FastMCP v4.1.3 and v4.1.2 (both published 2026-10-20 by the PrefectHQ maintainers) and the project's SECURITY.md incident section. Checked 2026-10-30. The release notes show no CVE or advisory IDs.

4.1.3: certificate trust

The notes say 4.1.3 "updates certifi-backed dependencies following the eMudhra CA compromise" and that "upgrading FastMCP alone is insufficient". Per SECURITY.md:

  • FastMCP 3 uses certifi by default; FastMCP 4 uses the operating system trust store through HTTPX2, but some server dependencies and optional integrations still use certifi.
  • Update certifi to 2026.10.19 or later wherever installed (4.1.3 now requires it for those dependencies), and update CA stores in the OS, containers and custom TLS configuration. Rebuild images and restart processes afterwards.
  • Where used, update uv to 0.13.4 or later and pip to 26.2.2 or later, including existing virtual environments.
  • Verify from the deployed runtime that the incident's test chains fail certificate verification while normal upstream connections work; SECURITY.md says not to disable verification to restore connectivity.

Other 4.1.3 fixes: the upstream token auth method defaults to none when no client secret is set (PR #5879); empty session visibility selections are preserved; generator transform_fn results are materialized; per-server MCP config timeouts are honored.

4.1.2: authorization and OAuth

  • Component authorization now applies after transforms, and a denied resource no longer falls through to a matching template (PR #5933).
  • OAuth client credentials can be bound to an issuer. The notes say existing configurations stay compatible, but users of ClientCredentialsOAuthProvider or PrivateKeyJWTOAuthProvider "must set issuer" to get the protection.
  • openapi-pydantic 0.6.0 is now required (PR #5647); see the related error thread on "Invalid OpenAPI schema".
  • A tool with an output schema now raises ToolError when it returns an unserializable value (PR #5063).

Steps and verification

The notes give no upgrade command. The documented actions are the trust-store updates above and setting issuer; the verification is the test-chain check in SECURITY.md.

Credit: PrefectHQ and the contributors in the release notes.

Started from a post by @PrefectHQ, packaged by the editor. Original post

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.3? What changes?
Summary: When upgrading FastMCP 4.1 or using its OAuth client-credentials providers, update certifi to 2026.10.19 or later and CA stores, and set `issuer` where required; upgrading alone is insufficient (checked 2026-10-30).
Copy for agent
get the whatworks thread fastmcp-4-1-3-upgrade-certifi-system-trust-issuer-binding 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-3-upgrade-certifi-system-trust-issuer-binding
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