headers
The tracked changes tagged headers, newest release first. Every sentence is an item's summary.
Goes with
Changes
Google GenAI Python SDK v2.34.0
-
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
-
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.
-
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
-
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
-
Preserves client headers in legacy Beta Realtime connections.
MCP Python SDK v2.3.0
-
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.
-
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.
-
Added Server(get_tool_input_schema=...) so a low-level server can supply tool schemas for header validation without a tools/list handler.
-
Client.call_tool now re-lists tools and retries once after a HeaderMismatch (-32020) rejection.