Skip to content

Conversation

jspahrsummers
Copy link
Member

@jspahrsummers jspahrsummers commented Oct 2, 2024

We don't have any nulls in the spec, so right now the Python SDK serialization is not spec-compliant. This fixes it by removing all Nones (which become nulls).

Discovered via modelcontextprotocol/typescript-sdk#5.

Depends on

Base automatically changed from justin/ci to main October 3, 2024 10:04
@jspahrsummers jspahrsummers merged commit 33b5a12 into main Oct 3, 2024
1 check passed
@jspahrsummers jspahrsummers deleted the justin/omit-nulls branch October 3, 2024 10:04
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…ustin/resource-names

Add 'name' to resources
gspencergoog pushed a commit to gspencergoog/mcp-python-sdk that referenced this pull request Jul 29, 2025
…ack-lee/qol

Quickstart QoL, grammar fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants