---
title: "fastmcp 4.25.0 Breaking Changes on npm | Since.dev"
description: "What each fastmcp release removed, renamed or changed: 17 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/fastmcp
last_updated: 2026-12-04
---

# 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

Latest version `4.30.10`. [Source repository](https://github.com/punkpeye/fastmcp)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.22.6](#v-4-22-6) to [4.25.0](#v-4-25-0): 16 breaking changes in 8 versions.

## fastmcp 4.25.0 breaking changes

fastmcp 4.25.0, released November 9, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/fastmcp/v/4.25.0)

## fastmcp 4.24.0 breaking changes

fastmcp 4.24.0, released November 3, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/fastmcp/v/4.24.0)

## fastmcp 4.23.12 breaking changes

fastmcp 4.23.12, released November 2, 2026: 1 breaking change.

- **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](https://github.com/punkpeye/fastmcp/releases/tag/v4.23.12)

## fastmcp 4.23.8 breaking changes

fastmcp 4.23.8, released October 27, 2026: 4 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](https://github.com/punkpeye/fastmcp/releases/tag/v4.23.8)
- **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](https://github.com/punkpeye/fastmcp/releases/tag/v4.23.8)
- **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](https://www.npmjs.com/package/fastmcp/v/4.23.8)
- **Signature changed** `JsonSchemaObject.additionalProperties`  

Was additionalProperties?: boolean; now additionalProperties?: boolean | Record\<string, unknown>. [npmjs.com](https://www.npmjs.com/package/fastmcp/v/4.23.8)

## fastmcp 4.23.7 breaking changes

fastmcp 4.23.7, released October 23, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/fastmcp/v/4.23.7)

## fastmcp 4.23.5 breaking changes

fastmcp 4.23.5, released October 20, 2026: 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](https://www.npmjs.com/package/fastmcp/v/4.23.5)
- **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](https://www.npmjs.com/package/fastmcp/v/4.23.5)
- **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](https://www.npmjs.com/package/fastmcp/v/4.23.5)
- **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](https://www.npmjs.com/package/fastmcp/v/4.23.5)
- **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](https://www.npmjs.com/package/fastmcp/v/4.23.5)

## Older versions

3 older versions.

### fastmcp 4.23.4 breaking changes

fastmcp 4.23.4, released October 20, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/fastmcp/v/4.23.4)

### fastmcp 4.22.9 breaking changes

fastmcp 4.22.9, released October 14, 2026: 2 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](https://github.com/punkpeye/fastmcp/releases/tag/v4.22.9)
- **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](https://github.com/punkpeye/fastmcp/releases/tag/v4.22.9)

### fastmcp 4.22.6 breaking changes

fastmcp 4.22.6, released October 14, 2026: 1 breaking change.

- **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](https://github.com/punkpeye/fastmcp/releases/tag/v4.22.6)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
