All areas Feed Weekly digests

headers

The tracked changes tagged headers, newest release first. Every sentence is an item's summary.

9 items from 5 releases, 5 breaking Sources: MCP TypeScript SDK, MCP Python SDK, OpenAI Python SDK, Google GenAI Python SDK Last change:

Goes with

Changes

Google GenAI Python SDK v2.34.0

  1. fix

    Stops per-request Authorization and X-Server-Timeout headers from leaking into client default headers (refs #3158).

MCP TypeScript SDK @modelcontextprotocol/server@2.4.0

  1. breaking Breaking

    A tool with x-mcp-header on a number-typed parameter is answered with -32020 errors on the server and is no longer listed by clients on 2026-07-28 connections other than stdio; use an integer (z.int()) or remove the annotation.

  2. breaking Breaking

    x-mcp-header on a number-typed tool parameter is now rejected, matching the 2026-07-28 spec, and such tools must be excluded from tools/list; integer, string and boolean are unaffected.

MCP TypeScript SDK @modelcontextprotocol/client@2.4.0

  1. breaking Breaking

    Tool parameters with x-mcp-header on a number type are now rejected, matching the 2026-07-28 spec; clients must exclude such tools from tools/list, and integer, string and boolean are unaffected.

OpenAI Python SDK v3.36.0

  1. fix

    Preserves client headers in legacy Beta Realtime connections.

MCP Python SDK v2.3.0

  1. breaking Breaking

    Tools with an invalid x-mcp-header annotation now fail at registration with InvalidSignature instead of being silently dropped by clients; only plain str, int or bool parameters, valid header tokens, and case-distinct names are accepted.

  2. breaking Breaking

    Mcp-Param-* validation no longer runs tools/list for each tools/call, so middleware no longer sees that request and middleware changes to tools/list no longer affect validation.

    middlewareheaderstools
  3. feature

    Added Server(get_tool_input_schema=...) so a low-level server can supply tool schemas for header validation without a tools/list handler.

  4. feature

    Client.call_tool now re-lists tools and retries once after a HeaderMismatch (-32020) rejection.