Skip to content

serverInfo should be within Meta instead of serverDiscover result #3144

Description

@Yuan325

Initial Checks

Description

It seems like the MCP specs was updated to move serverInfo into the _meta field (https://github.com/modelcontextprotocol/modelcontextprotocol/pull/3002/changes). This change is not currently reflected in the python sdk v2.

The official schema seems to also reflect that (serverInfo was removed from DiscoverResult): https://github.com/modelcontextprotocol/modelcontextprotocol/blob/88191b9f574d67d553ea9372278a14e09d762f55/schema/draft/schema.ts#L678

Example Code

Python & MCP Python SDK

v2 latest for 2026-07-28 version

Activity

  1. maxisbey commented on Jul 22, 2026

    @maxisbey
    Contributor

    Yep good find! I've got a local branch to work on this, unfortunately it's a little trickier than just a simple schema change as it requires new stamping logic throughout the code 🙃

    Will have the fix up today most likely :)

  2. added
    v2Affects the v2 line (2.x on main)
    P0Broken core functionality, security issues, critical missing feature
    on Jul 22, 2026
  3. maxisbey commented on Aug 16, 2026

    @maxisbey
    Contributor

    Fixed in #3143 and released in mcp 2.0.0 (DiscoverResult no longer has serverInfo; servers stamp io.modelcontextprotocol/serverInfo into every result's _meta, and Client.server_info reads it from there). Closing.

    AI Disclaimer

  4. added
    P1Significant bug affecting many users, highly requested feature
    and removed
    P0Broken core functionality, security issues, critical missing feature
    on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Significant bug affecting many users, highly requested featurev2Affects the v2 line (2.x on main)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions