fastmcp breaking changes
fastmcp 4.25.0 (November 9, 2026) is its newest release with breaking changes. The first: Signature changed openapi:FromOpenAPIOptions.headers. Every breaking API change we have recorded in fastmcp on npm: 17 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.30.10. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
fastmcp 4.25.0 breaking changes
- Signature changed
openapi:FromOpenAPIOptions.headers
Was headers?: (() => Promise<Record<string, string>> | Record<string, string>) | Record<string, string>; now headers?: ((context?: LoadContext<FastMCPSessionAuth>) => Promise<Record<string, string>> | Record<string, string>) |... npmjs.com
fastmcp 4.24.0 breaking changes
- Signature changed
Tool
Was type Tool<T extends FastMCPSessionAuth, Params extends ToolParameters = ToolParameters, OutputParams extends ToolParameters = ToolParameters> = {_meta?: {[key: string]: unknown; ui?: {resourceUri?: string;};}; annotations?... npmjs.com
fastmcp 4.23.12 breaking changes
- Behavior changed
Token grants now check the client secret, and authorization codes and refresh tokens are bound to the client that received them. Clients that omit or mismatch the secret may now be rejected. github.com
fastmcp 4.23.8 breaking changes
- Behavior changed
Calling start on an already started HTTP server now fails. Code that starts the server twice must be changed to start it once. github.com - Behavior changed
Authorization now rejects every address in 127.0.0.0/8 and any .localhost host as a CIMD host, not only the previously blocked ones. Clients that relied on those hosts must use other hosts. github.com - Signature changed
JsonSchemaObject
Was type JsonSchemaObject = {[key: string]: unknown; $schema?: string; additionalProperties?: boolean; properties?: Record<string, unknown>; required?: string[]; type: string;}; now type JsonSchemaObject = {[key: string]: unknown... npmjs.com - Signature changed
JsonSchemaObject.additionalProperties
Was additionalProperties?: boolean; now additionalProperties?: boolean | Record<string, unknown>. npmjs.com
fastmcp 4.23.7 breaking changes
- Signature changed
FastMCPSession.constructor
Was constructor({auth, authRequired, hasTools, icons, instructions, logger, name, onToolCall, ping, prompts, resources, resourcesTemplates, roots, sessionId, stateless, streamKeepalive, title, tools, transportType, utils, version... npmjs.com
fastmcp 4.23.5 breaking changes
- Signature changed
AudioContent
Was type AudioContent = {data: string; mimeType: string; type: "audio";}; now type AudioContent = {_meta?: Record<string, unknown>; annotations?: Annotations; data: string; mimeType: string; type: "audio";}. npmjs.com - Signature changed
ImageContent
Was type ImageContent = {data: string; mimeType: string; type: "image";}; now type ImageContent = {_meta?: Record<string, unknown>; annotations?: Annotations; data: string; mimeType: string; type: "image";}. npmjs.com - Signature changed
ResourceContent
Was type ResourceContent = {resource: {blob?: string; mimeType?: string; text?: string; uri: string;}; type: "resource";}; now type ResourceContent = {_meta?: Record<string, unknown>; annotations?: Annotations; resource: {_meta?... npmjs.com - Signature changed
ResourceContent.resource
Was resource: {blob?: string; mimeType?: string; text?: string; uri: string;}; now resource: {_meta?: Record<string, unknown>; blob?: string; mimeType?: string; text?: string; uri: string;}. npmjs.com - Signature changed
TextContent
Was type TextContent = {text: string; type: "text";}; now type TextContent = {_meta?: Record<string, unknown>; annotations?: Annotations; text: string; type: "text";}. npmjs.com
Older versions
3 older versions.
Show 3 older versions
fastmcp 4.23.4 breaking changes
- Signature changed
edge:EdgeTool.execute
Was execute: (params: TParams) => Promise<{content: Array<{data?: string; mimeType?: string; text?: string; type: string;}>;} | string>; now execute: (params: TParams) => Promise<{_meta?: Record<string, unknown>; content: Array<{data?... npmjs.com
fastmcp 4.22.9 breaking changes
- Behavior changed
Command-line calls with unrecognized commands or options now fail instead of being silently ignored. Scripts that pass extra or misspelled flags must be corrected. github.com - Behavior changed
Transport or stateless option values that have no effect are now rejected rather than accepted silently. Callers passing such values must remove them. github.com
fastmcp 4.22.6 breaking changes
- Behavior changed
Template variables in resource URIs now match only within a single path segment. Code that relied on a variable spanning several segments must change its template or handling. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.