All areas Feed Weekly digests

mcpserver

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

9 items from 1 release, 2 breaking Sources: MCP Python SDK Last change:

Goes with

Changes

MCP Python SDK v2.1.0

  1. breaking Breaking

    Unexpected handler exceptions are logged once at ERROR with traceback, and clients see only 'Error executing tool <name>' (or the resource/prompt equivalent) instead of the exception text; use ToolError or ResourceError to send a message to the client.

  2. breaking Breaking

    Tools annotated to return TextContent, EmbeddedResource, Image, Audio, or lists or unions of them no longer advertise outputSchema or return structuredContent; pass structured_output=True to keep the previous shape.

  3. feature

    Prompt messages accept Image and Audio content.

  4. feature

    Prompt functions may return bare content blocks.

  5. feature

    Message, UserMessage and AssistantMessage are exported from mcp.server.mcpserver.

+4 more
  1. feature

    SseServerTransport and MCPServer.sse_app() accept a max_request_body_size parameter.

  2. fix

    TypedDict tool results omit NotRequired keys instead of serializing them as null.

  3. fix

    Registering TypedDict tool return types no longer fails on Python 3.10.

  4. fix

    Recursive tool return types get an object-rooted outputSchema that pre-2026 clients accept.