| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:988ede03-6613-3413-153f-12ef9bcc33f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CF4:14ECB:53F96D:6CA578:6B00DA72 |
| html-safe-nonce | 3f1e42869bc89147ab4db8b22d743d66d97765993ec82cb6e550cfe7ede8c3cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0Y0OjE0RUNCOjUzRjk2RDo2Q0E1Nzg6NkIwMERBNzIiLCJ2aXNpdG9yX2lkIjoiMjAxMjg3Nzc4OTg5NTY0NTgxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 54362f7e0b2fdf578eddc68681cbc39e244848b049211ed43407f1bc1d1716ac |
| hovercard-subject-tag | pull_request:4304922889 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/3331/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cd8999cacf0faa73c3dff6e1335fda486b6b88e30286ccab33b501afa4619903/modelcontextprotocol/python-sdk/pull/3331 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd8999cacf0faa73c3dff6e1335fda486b6b88e30286ccab33b501afa4619903/modelcontextprotocol/python-sdk/pull/3331 |
| og:image:alt | MCPServer now validates and serializes TypedDict tool results through pydantic's own TypedDict support instead of mirroring the TypedDict into a hand-built BaseModel.
Fixes #3224
Fixes #3227
Mo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/3331#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3331 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3331 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues308 (308) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| fix/typeddict-native-output | https://github.com/modelcontextprotocol/python-sdk/tree/fix/typeddict-native-output |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| Commits2 (2) | https://github.com/modelcontextprotocol/python-sdk/pull/3331/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/3331/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/3331/files |
| Hand TypedDict tool results to pydantic natively | https://github.com/modelcontextprotocol/python-sdk/pull/3331#top |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| fix/typeddict-native-output | https://github.com/modelcontextprotocol/python-sdk/tree/fix/typeddict-native-output |
|
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Aug 18, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#issue-5182178699 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| #3227 | https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
| structuredContent for a TypedDict return injects nulls for NotRequired keys, violating the tool's own outputSchema #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| NotRequired TypedDict return annotation raises PydanticForbiddenQualifier at tool registration on Python 3.10 #3227 | https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
| #3225 | https://github.com/modelcontextprotocol/python-sdk/pull/3225 |
| @sainikhiljuluri | https://github.com/sainikhiljuluri |
| @gingeekrishna | https://github.com/gingeekrishna |
| MCP Documentation | https://modelcontextprotocol.io |
| #3337 | https://github.com/modelcontextprotocol/python-sdk/issues/3337 |
| #3100 | https://github.com/modelcontextprotocol/python-sdk/issues/3100 |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
|
| https://github.com/maxisbey |
| Hand TypedDict tool results to pydantic natively | https://github.com/modelcontextprotocol/python-sdk/pull/3331/commits/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| 1e90f40 | https://github.com/modelcontextprotocol/python-sdk/pull/3331/commits/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| #3227 | https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
| #3224 | https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| #3227 | https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Aug 18, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#issuecomment-5328692715 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://pr-3331.mcp-python-docs.pages.dev | https://pr-3331.mcp-python-docs.pages.dev |
| https://97f6bc13.mcp-python-docs.pages.dev | https://97f6bc13.mcp-python-docs.pages.dev |
| @maxisbey | https://github.com/maxisbey |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| August 18, 2026 13:21 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#event-29621490637 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Aug 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#pullrequestreview-4961471472 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| src/mcp/server/mcpserver/utilities/func_metadata.py | https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96#diff-5584d2273ac6a270822fe54fb95a27e03d6895afd1216e8bd71d1850e8f09676 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.com/apps/cubic-dev-ai |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
|
Aug 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#pullrequestreview-4961529127 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#pullrequestreview-4961529127 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Re-trigger cubic | https://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3331/ai_pr_review_1787059292840_a7d058aa-2fbc-4fa7-9d0a-06d64bdc5cb0?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3331 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Aug 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#pullrequestreview-4961604482 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| claude | https://github.com/apps/claude |
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#pullrequestreview-4961604482 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| src/mcp/server/mcpserver/utilities/func_metadata.py | https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96#diff-5584d2273ac6a270822fe54fb95a27e03d6895afd1216e8bd71d1850e8f09676 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| src/mcp/server/mcpserver/utilities/func_metadata.py | https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96#diff-5584d2273ac6a270822fe54fb95a27e03d6895afd1216e8bd71d1850e8f09676 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| docs/servers/structured-output.md | https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96#diff-6cdb67ce182e70a37d1f810c4d392afc68e9dcd0e7b7904fe608e6e33ce42b92 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
|
| https://github.com/maxisbey |
| Derive the output validator on FuncMetadata construction; review fixes | https://github.com/modelcontextprotocol/python-sdk/pull/3331/commits/053ffdac345b12c14e0175e22a0edec6f8f6413e |
| 053ffda | https://github.com/modelcontextprotocol/python-sdk/pull/3331/commits/053ffdac345b12c14e0175e22a0edec6f8f6413e |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Aug 19, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#ref-issue-5194736439 |
|
Recursive tool return type publishes an outputSchema with no root type, failing tools/list on 2025-11-25 sessions
#3337
| https://github.com/modelcontextprotocol/python-sdk/issues/3337 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Aug 20, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#issuecomment-5357355419 |
| 053ffda | https://github.com/modelcontextprotocol/python-sdk/commit/053ffdac345b12c14e0175e22a0edec6f8f6413e |
| #3337 | https://github.com/modelcontextprotocol/python-sdk/issues/3337 |
| #3100 | https://github.com/modelcontextprotocol/python-sdk/issues/3100 |
| #3118 | https://github.com/modelcontextprotocol/python-sdk/pull/3118 |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| 0cee624 | https://github.com/modelcontextprotocol/python-sdk/commit/0cee6249bad02d67a96678973f9db383519c64b4 |
| Aug 20, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#event-29749932642 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| August 20, 2026 14:36 | https://github.com/modelcontextprotocol/python-sdk/pull/3331#event-29749934701 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Aug 24, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#ref-pullrequest-5237822184 |
|
Give recursive tool return types an object-rooted output schema
#3376
| https://github.com/modelcontextprotocol/python-sdk/pull/3376 |
| https://github.com/anneheartrecord |
| anneheartrecord | https://github.com/anneheartrecord |
|
Aug 25, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3331#ref-pullrequest-4709093962 |
|
fix(mcpserver): preserve Annotated/Field metadata for dict[str, T] return types
#2939
| https://github.com/modelcontextprotocol/python-sdk/pull/2939 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3331 |
|
| https://github.com/apps/cubic-dev-ai |
|
cubic-dev-ai[bot]
| https://github.com/apps/cubic-dev-ai |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
|
| https://github.com/apps/claude |
|
claude[bot]
| https://github.com/apps/claude |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3331/files/1e90f40a0bb20e07f6f9ae824b5c90349f970a96 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
|
NotRequired TypedDict return annotation raises PydanticForbiddenQualifier at tool registration on Python 3.10
| https://github.com/modelcontextprotocol/python-sdk/issues/3227 |
|
structuredContent for a TypedDict return injects nulls for NotRequired keys, violating the tool's own outputSchema
| https://github.com/modelcontextprotocol/python-sdk/issues/3224 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3331 |
|
| https://github.com/maxisbey |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |