René's URL Explorer Experiment


Title: feat!: enforce required MCP spec fields in McpSchema; lenient wire deserialization by chemicL · Pull Request #928 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: feat!: enforce required MCP spec fields in McpSchema; lenient wire deserialization by chemicL · Pull Request #928 · modelcontextprotocol/java-sdk

X Title: feat!: enforce required MCP spec fields in McpSchema; lenient wire deserialization by chemicL · Pull Request #928 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - feat!: enforce required MCP spec fields in McpSchema; lenient wire deserialization by chemicL · Pull Request #928 · modelcontextprotocol/java-sdk

Open Graph Description: Motivation and Context Every wire-serialized record in McpSchema now validates spec-required fields at construction time. Wire deserialization is intentionally lenient: a missing required field is ...

X Description: Motivation and Context Every wire-serialized record in McpSchema now validates spec-required fields at construction time. Wire deserialization is intentionally lenient: a missing required field is ...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/928

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bf4a59c4-780f-0f84-9d2b-a5a1c6253e39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE44E:A0835:58420FE:73ED585:6A5DA6FF
html-safe-nonce1ac841d1fe386773b11941dfbe1ea66a35b7446b81e6b8c1c753aa1b18297a59
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDRFOkEwODM1OjU4NDIwRkU6NzNFRDU4NTo2QTVEQTZGRiIsInZpc2l0b3JfaWQiOiIxNzg3NTY4NjcwNjE1NTY5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca9fb755ee8620fed2bdccad1c35490d68004aab975ba49d76acf6bd39a2c7610
hovercard-subject-tagpull_request:3557441502
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/java-sdk/928/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/838c0dd9c6f8c8ec369ac5b1d1bcbc639b854a79d58dd599be7449adaa66a627/modelcontextprotocol/java-sdk/pull/928
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/838c0dd9c6f8c8ec369ac5b1d1bcbc639b854a79d58dd599be7449adaa66a627/modelcontextprotocol/java-sdk/pull/928
og:image:altMotivation and Context Every wire-serialized record in McpSchema now validates spec-required fields at construction time. Wire deserialization is intentionally lenient: a missing required field is ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechemicL
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/928#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F928
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F928
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%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/928
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/928
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/928
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 135 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
chemicLhttps://github.com/chemicL
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
json-schema-required-fieldshttps://github.com/modelcontextprotocol/java-sdk/tree/json-schema-required-fields
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/928
Commits5 (5)https://github.com/modelcontextprotocol/java-sdk/pull/928/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/928/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/928/files
feat!: enforce required MCP spec fields in McpSchema; lenient wire deserializationhttps://github.com/modelcontextprotocol/java-sdk/pull/928#top
chemicLhttps://github.com/chemicL
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
json-schema-required-fieldshttps://github.com/modelcontextprotocol/java-sdk/tree/json-schema-required-fields
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Apr 20, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#issue-4297507574
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
https://github.com/chemicL
chemicLhttps://github.com/chemicL
breaking-change https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abreaking-change
v2 https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Av2
Apr 20, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24687844090
https://github.com/chemicL
chemicLhttps://github.com/chemicL
April 20, 2026 17:32https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24687936965
https://github.com/chemicL
chemicLhttps://github.com/chemicL
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/53a1b4e578057f6930a272e1798a285084c19d9c..fe0b1853d92187a5fcd516ea857f5f685b2fcf38
53a1b4ehttps://github.com/modelcontextprotocol/java-sdk/commit/53a1b4e578057f6930a272e1798a285084c19d9c
fe0b185https://github.com/modelcontextprotocol/java-sdk/commit/fe0b1853d92187a5fcd516ea857f5f685b2fcf38
Compare https://github.com/modelcontextprotocol/java-sdk/compare/53a1b4e578057f6930a272e1798a285084c19d9c..fe0b1853d92187a5fcd516ea857f5f685b2fcf38
April 29, 2026 13:17https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24991646649
https://github.com/chemicL
chemicLhttps://github.com/chemicL
April 29, 2026 13:20https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24991754474
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Apr 29, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24991771852
https://github.com/chemicL
chemicLhttps://github.com/chemicL
April 29, 2026 13:26https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24991992002
https://github.com/chemicL
feat!: enforce required MCP spec fields in McpSchema; lenient wire de…https://github.com/modelcontextprotocol/java-sdk/pull/928/commits/0afacffbecb9c50e2790a300923e444760e87e3d
0afacffhttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/0afacffbecb9c50e2790a300923e444760e87e3d
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
https://github.com/chemicL
chemicLhttps://github.com/chemicL
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/fe0b1853d92187a5fcd516ea857f5f685b2fcf38..0afacffbecb9c50e2790a300923e444760e87e3d
fe0b185https://github.com/modelcontextprotocol/java-sdk/commit/fe0b1853d92187a5fcd516ea857f5f685b2fcf38
0afacffhttps://github.com/modelcontextprotocol/java-sdk/commit/0afacffbecb9c50e2790a300923e444760e87e3d
Compare https://github.com/modelcontextprotocol/java-sdk/compare/fe0b1853d92187a5fcd516ea857f5f685b2fcf38..0afacffbecb9c50e2790a300923e444760e87e3d
April 29, 2026 13:28https://github.com/modelcontextprotocol/java-sdk/pull/928#event-24992064687
chemicLhttps://github.com/chemicL
April 29, 2026 15:40https://github.com/modelcontextprotocol/java-sdk/pull/928#commits-pushed-882ae5b
https://github.com/chemicL
Change assertion to be independent of jackson behaviourhttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/882ae5b29e0ef0a5a9237aa70beeaf4ddafa297b
882ae5bhttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/882ae5b29e0ef0a5a9237aa70beeaf4ddafa297b
https://github.com/chemicL
Merge branch 'main' into json-schema-required-fieldshttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/64fd31d392d535302c1b13a2bc0947dcb21db3db
64fd31dhttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/64fd31d392d535302c1b13a2bc0947dcb21db3db
https://github.com/chemicL
Fix test assuming localhosthttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/e406ee55bdd5478e70d2b686cea62126af244a93
e406ee5https://github.com/modelcontextprotocol/java-sdk/pull/928/commits/e406ee55bdd5478e70d2b686cea62126af244a93
https://github.com/chemicL
Merge remote-tracking branch 'origin' into json-schema-required-fieldshttps://github.com/modelcontextprotocol/java-sdk/pull/928/commits/54d34d324126e932bb1787e84b2e69e703927f76
54d34d3https://github.com/modelcontextprotocol/java-sdk/pull/928/commits/54d34d324126e932bb1787e84b2e69e703927f76
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 4, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25144612637
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 4, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25144861675
https://github.com/tzolov
tzolovhttps://github.com/tzolov
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/54d34d324126e932bb1787e84b2e69e703927f76..599b43cac49ac47f3eea15267cb20506e6d0864c
54d34d3https://github.com/modelcontextprotocol/java-sdk/commit/54d34d324126e932bb1787e84b2e69e703927f76
599b43chttps://github.com/modelcontextprotocol/java-sdk/commit/599b43cac49ac47f3eea15267cb20506e6d0864c
Compare https://github.com/modelcontextprotocol/java-sdk/compare/54d34d324126e932bb1787e84b2e69e703927f76..599b43cac49ac47f3eea15267cb20506e6d0864c
May 4, 2026 18:17https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25144861763
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 4, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25145357645
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/928#pullrequestreview-4222602597
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/928/files/54d34d324126e932bb1787e84b2e69e703927f76
tzolovhttps://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/928#pullrequestreview-4222602597
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
tzolovhttps://github.com/tzolov
May 5, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/928#ref-commit-22a0efa
https://github.com/chemicL
https://github.com/tzolov
feat!: enforce required MCP spec fields in McpSchema; lenient wire de…https://github.com/modelcontextprotocol/java-sdk/commit/22a0efa57748a5c0a39f849745d72bb07837ffab
22a0efahttps://github.com/modelcontextprotocol/java-sdk/commit/22a0efa57748a5c0a39f849745d72bb07837ffab
#928https://github.com/modelcontextprotocol/java-sdk/pull/928
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
@deprecatedhttps://github.com/deprecated
https://github.com/tzolov
tzolovhttps://github.com/tzolov
2.0.0-M3https://github.com/modelcontextprotocol/java-sdk/milestone/19
May 5, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25164376859
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 5, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#issuecomment-4377098527
22a0efahttps://github.com/modelcontextprotocol/java-sdk/commit/22a0efa57748a5c0a39f849745d72bb07837ffab
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
https://github.com/tzolov
tzolovhttps://github.com/tzolov
May 5, 2026https://github.com/modelcontextprotocol/java-sdk/pull/928#event-25164380460
https://github.com/chemicL
chemicLhttps://github.com/chemicL
May 7, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/928#ref-issue-3798815193
Handle schema validation failures gracefully #741 https://github.com/modelcontextprotocol/java-sdk/issues/741
https://github.com/michaelboyles
michaelboyleshttps://github.com/michaelboyles
Jul 18, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/928#ref-issue-4916216273
Un-deprecate/add no-arg builders #1065 https://github.com/modelcontextprotocol/java-sdk/issues/1065
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F928
https://github.com/tzolov
tzolov https://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/928/files/54d34d324126e932bb1787e84b2e69e703927f76
https://github.com/tzolov
tzolov https://github.com/tzolov
breaking-change https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abreaking-change
v2 https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Av2
2.0.0-M3 https://github.com/modelcontextprotocol/java-sdk/milestone/19
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/928
https://github.com/chemicL
https://github.com/tzolov
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.