René's URL Explorer Experiment


Title: fix: model content annotations as nested objects by LucaButBoring · Pull Request #242 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: fix: model content annotations as nested objects by LucaButBoring · Pull Request #242 · modelcontextprotocol/java-sdk

X Title: fix: model content annotations as nested objects by LucaButBoring · Pull Request #242 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - fix: model content annotations as nested objects by LucaButBoring · Pull Request #242 · modelcontextprotocol/java-sdk

Open Graph Description: Updates all Content types to represent annotations as nested objects instead of directly on the content itself. The existing ctors have been moved to deprecated shim ctors for backwards-compat. Thi...

X Description: Updates all Content types to represent annotations as nested objects instead of directly on the content itself. The existing ctors have been moved to deprecated shim ctors for backwards-compat. Thi...

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

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:09b98840-caf9-a19d-f2b7-779b7dd6df29
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB20E:31CB1D:30D255:4144F6:6A5B863B
html-safe-nonceb52c3e3b7e3e4dbe4a38b5ba647bf8f4e56b4df4d94a9e9bf258c2a52805c686
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjBFOjMxQ0IxRDozMEQyNTU6NDE0NEY2OjZBNUI4NjNCIiwidmlzaXRvcl9pZCI6IjY3OTg2NzQyODM0NzkxMzk4OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac66f8067a30bc3025c158d6db23036e44dbd86c165e5fd0fc960a042dd2136711
hovercard-subject-tagpull_request:2525435157
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/242/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7091da1b9ff7e0ea02ae8edfca8e7a1f620537a35689abfa7ddeb3578ff718a9/modelcontextprotocol/java-sdk/pull/242
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7091da1b9ff7e0ea02ae8edfca8e7a1f620537a35689abfa7ddeb3578ff718a9/modelcontextprotocol/java-sdk/pull/242
og:image:altUpdates all Content types to represent annotations as nested objects instead of directly on the content itself. The existing ctors have been moved to deprecated shim ctors for backwards-compat. Thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLucaButBoring
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/242#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F242
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%2F242
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/242
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/242
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/242
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 979 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 133 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
LucaButBoringhttps://github.com/LucaButBoring
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
LucaButBoring:fix/content-annotationshttps://github.com/LucaButBoring/mcp-java-sdk/tree/fix/content-annotations
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/242
Commits5 (5)https://github.com/modelcontextprotocol/java-sdk/pull/242/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/242/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/242/files
fix: model content annotations as nested objectshttps://github.com/modelcontextprotocol/java-sdk/pull/242#top
LucaButBoringhttps://github.com/LucaButBoring
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
LucaButBoring:fix/content-annotationshttps://github.com/LucaButBoring/mcp-java-sdk/tree/fix/content-annotations
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
May 16, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#issue-3070026066
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
as modeled byhttps://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.json#L1970-L1973
six monthshttps://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2024-11-05/schema.json#L1924-L1941
everythinghttps://github.com/modelcontextprotocol/servers/tree/main/src/everything#tools
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
https://github.com/LucaButBoring
fix: model annotations as nested objectshttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/d55d404f6d566fd5292731baf0269027ecfe26a5
d55d404https://github.com/modelcontextprotocol/java-sdk/pull/242/commits/d55d404f6d566fd5292731baf0269027ecfe26a5
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.json#L1970-L1973https://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.json#L1970-L1973
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
May 16, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/242#ref-pullrequest-3070029930
feat: implement audio content #243 https://github.com/modelcontextprotocol/java-sdk/pull/243
LucaButBoringhttps://github.com/LucaButBoring
May 16, 2025 16:12https://github.com/modelcontextprotocol/java-sdk/pull/242#commits-pushed-253e360
https://github.com/LucaButBoring
fix: add backwards compat shims for old annotationshttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/253e360db545e84a8ef48dbb445517c32cc9b5f5
253e360https://github.com/modelcontextprotocol/java-sdk/pull/242/commits/253e360db545e84a8ef48dbb445517c32cc9b5f5
https://github.com/LucaButBoring
Merge branch 'main' into fix/content-annotationshttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/90eefe93552e1c85b3c6d969866a4bd78565bce9
90eefe9https://github.com/modelcontextprotocol/java-sdk/pull/242/commits/90eefe93552e1c85b3c6d969866a4bd78565bce9
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 15, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/242#pullrequestreview-2929083956
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/242/files/90eefe93552e1c85b3c6d969866a4bd78565bce9
tzolovhttps://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/242#pullrequestreview-2929083956
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@LucaButBoringhttps://github.com/LucaButBoring
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.javahttps://github.com/modelcontextprotocol/java-sdk/pull/242/files/90eefe93552e1c85b3c6d969866a4bd78565bce9#diff-7c583d4100f6f82ae04b845660c8859d1820e6acf314dbcf6038c4683ba72b9d
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
mcp/src/test/java/io/modelcontextprotocol/client/StdioMcpSyncClientTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/242/files/90eefe93552e1c85b3c6d969866a4bd78565bce9#diff-bbef0bf13aaf941c02e3b56c901d609fa380f974c0902a09c489caea27dd8c64
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 15, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#event-18156485510
https://github.com/tzolov
tzolovhttps://github.com/tzolov
area/mcp-schema https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fmcp-schema
Jun 15, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#event-18156488355
https://github.com/tzolov
tzolovhttps://github.com/tzolov
0.11.0https://github.com/modelcontextprotocol/java-sdk/milestone/4
Jun 15, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#event-18156488509
https://github.com/tzolov
tzolovhttps://github.com/tzolov
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
Jun 16, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#event-18171847577
LucaButBoringhttps://github.com/LucaButBoring
June 16, 2025 12:54https://github.com/modelcontextprotocol/java-sdk/pull/242#commits-pushed-8526daa
https://github.com/LucaButBoring
chore: generalize annotation tests to all transportshttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/8526daaab95da201eb738cc0a004a8825ffa7374
8526daahttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/8526daaab95da201eb738cc0a004a8825ffa7374
https://github.com/LucaButBoring
Merge branch 'main' ofhttps://github.com/modelcontextprotocol/java-sdk/pull/242/commits/917dd96c1b8b31fae7796e6b709915fb0a27bed1
https://github.com/modelcontextprotocol/java-sdkhttps://github.com/modelcontextprotocol/java-sdk
https://github.com/modelcontextprotocol/java-sdk/pull/242/commits/917dd96c1b8b31fae7796e6b709915fb0a27bed1
917dd96https://github.com/modelcontextprotocol/java-sdk/pull/242/commits/917dd96c1b8b31fae7796e6b709915fb0a27bed1
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 16, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#issuecomment-2977972819
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 17, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#issuecomment-2980851347
@LucaButBoringhttps://github.com/LucaButBoring
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
tzolovhttps://github.com/tzolov
Jun 17, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/242#ref-commit-fb40047
https://github.com/LucaButBoring
https://github.com/tzolov
refactor: consolidate content annotations into Annotations (https://github.com/modelcontextprotocol/java-sdk/commit/fb40047c39b7a36dd770000c9b66dbc50bdff8f4
#242https://github.com/modelcontextprotocol/java-sdk/pull/242
)https://github.com/modelcontextprotocol/java-sdk/commit/fb40047c39b7a36dd770000c9b66dbc50bdff8f4
fb40047https://github.com/modelcontextprotocol/java-sdk/commit/fb40047c39b7a36dd770000c9b66dbc50bdff8f4
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.json#L1970-L1973https://github.com/modelcontextprotocol/modelcontextprotocol/blob/c87a0da6d8c2436d56a6398023c80b0562224454/schema/2025-03-26/schema.json#L1970-L1973
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 17, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#issuecomment-2980880699
fb40047https://github.com/modelcontextprotocol/java-sdk/commit/fb40047c39b7a36dd770000c9b66dbc50bdff8f4
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 17, 2025https://github.com/modelcontextprotocol/java-sdk/pull/242#event-18193697033
rhishirajnemahttps://github.com/rhishirajnema
Jun 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/242#ref-commit-7f007e3
https://github.com/parth-iprime
https://github.com/jitokim
https://github.com/denniskawurek
https://github.com/chemicL
https://github.com/tzolov
https://github.com/LucaButBoring
https://github.com/pantanurag555
https://github.com/JooKS-me
https://github.com/sunyuhan1998
https://github.com/gongwn1
https://github.com/epaga
https://github.com/OrGivati
https://github.com/bzsurbhi
https://github.com/Kehrlann
https://github.com/134130
https://github.com/ZachGerman
https://github.com/ilayaperumalg
https://github.com/quaff
https://github.com/codezkk
https://github.com/Randgalt
https://github.com/He-Pin
https://github.com/Zizo-Vi
https://github.com/zhangjingcn
https://github.com/stantonk
https://github.com/arcaputo3
https://github.com/graemerocher
https://github.com/sdelamo
https://github.com/JunJieLiu51520
https://github.com/asaikali
https://github.com/sheegansrigm
https://github.com/leehaut
https://github.com/bedrin
https://github.com/uarlouski
https://github.com/vorburger
https://github.com/hbsjz-swl
https://github.com/mingo1996
https://github.com/codeboyzhou
https://github.com/ashakirin
https://github.com/jonathanhefner
https://github.com/rhtnr
https://github.com/sdeleuze
https://github.com/filiphr
https://github.com/scottslewis
https://github.com/rhishirajnema
link #115926 Upgrade MCP SDK fork to upstream v0.18.2 for streamable …https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
7f007e3https://github.com/GreywallSoftware/java-sdk/commit/7f007e3320002f99aa710a77aadbc6b59559c744
#7https://github.com/GreywallSoftware/java-sdk/pull/7
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%2F242
https://github.com/tzolov
tzolov https://github.com/tzolov
https://github.com/modelcontextprotocol/java-sdk/pull/242/files/90eefe93552e1c85b3c6d969866a4bd78565bce9
https://github.com/tzolov
tzolov https://github.com/tzolov
area/mcp-schema https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fmcp-schema
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
0.11.0 https://github.com/modelcontextprotocol/java-sdk/milestone/4
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/242
https://github.com/LucaButBoring
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.