René's URL Explorer Experiment


Title: feat: add optional size property to Resource with builder by LucaButBoring · Pull Request #331 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: feat: add optional size property to Resource with builder by LucaButBoring · Pull Request #331 · modelcontextprotocol/java-sdk

X Title: feat: add optional size property to Resource with builder by LucaButBoring · Pull Request #331 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - feat: add optional size property to Resource with builder by LucaButBoring · Pull Request #331 · modelcontextprotocol/java-sdk

Open Graph Description: Adds optional size property to the Resource type, which was added to the spec in 2025-03-26. Also adds a Resource builder class to avoid needing to add more constructors in the future. Motivation a...

X Description: Adds optional size property to the Resource type, which was added to the spec in 2025-03-26. Also adds a Resource builder class to avoid needing to add more constructors in the future. Motivation a...

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

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:ab52b30c-953d-dd71-2f64-98b6fbd06ae8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDFD8:3B954A:21BA80:2C5DC8:6A5B1CAC
html-safe-noncee435410d701e9775772d9576b235f94d09351a71e4679b55c1adbdd81f498265
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQ4OjNCOTU0QToyMUJBODA6MkM1REM4OjZBNUIxQ0FDIiwidmlzaXRvcl9pZCI6IjI0MjE5MDI5NTczMDAzNTgzMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccfaf6259cea076ff79357f965ddce94f9831eccec57d835ef399942ecfbc528d
hovercard-subject-tagpull_request:2605759175
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/331/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aad9d06ad111576d1f837b8f9e7cd0df15cb271800c64f0367287c2b3150a7fc/modelcontextprotocol/java-sdk/pull/331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aad9d06ad111576d1f837b8f9e7cd0df15cb271800c64f0367287c2b3150a7fc/modelcontextprotocol/java-sdk/pull/331
og:image:altAdds optional size property to the Resource type, which was added to the spec in 2025-03-26. Also adds a Resource builder class to avoid needing to add more constructors in the future. Motivation a...
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/331#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F331
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%2F331
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/331
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/331
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/331
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
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 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:feat/resource-sizehttps://github.com/LucaButBoring/mcp-java-sdk/tree/feat/resource-size
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/331
Commits3 (3)https://github.com/modelcontextprotocol/java-sdk/pull/331/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/331/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/331/files
feat: add optional size property to Resource with builderhttps://github.com/modelcontextprotocol/java-sdk/pull/331#top
LucaButBoringhttps://github.com/LucaButBoring
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
LucaButBoring:feat/resource-sizehttps://github.com/LucaButBoring/mcp-java-sdk/tree/feat/resource-size
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 19, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#issue-3161388393
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
2025-03-26https://github.com/modelcontextprotocol/modelcontextprotocol/blob/f5ccad944fdf2b7d9cc70cf817f66ca5a8aa03a4/schema/2025-03-26/schema.ts#L477-L482
MCP Documentationhttps://modelcontextprotocol.io
#330https://github.com/modelcontextprotocol/java-sdk/issues/330
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
https://github.com/LucaButBoring
feat: add optional size property to Resource with builderhttps://github.com/modelcontextprotocol/java-sdk/pull/331/commits/99943aa0153faf6c7defb4e9d6f345582bae78a8
99943aahttps://github.com/modelcontextprotocol/java-sdk/pull/331/commits/99943aa0153faf6c7defb4e9d6f345582bae78a8
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#issuecomment-2995194654
@LucaButBoringhttps://github.com/LucaButBoring
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#event-18266985856
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 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#event-18266987189
https://github.com/tzolov
tzolovhttps://github.com/tzolov
0.11.0https://github.com/modelcontextprotocol/java-sdk/milestone/4
Jun 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#event-18266987974
LucaButBoringhttps://github.com/LucaButBoring
June 23, 2025 10:17https://github.com/modelcontextprotocol/java-sdk/pull/331#commits-pushed-eae7fd6
https://github.com/LucaButBoring
Merge branch 'main' into feat/resource-sizehttps://github.com/modelcontextprotocol/java-sdk/pull/331/commits/eae7fd68b21cc940ded4d29d7e69b8b7941f714d
eae7fd6https://github.com/modelcontextprotocol/java-sdk/pull/331/commits/eae7fd68b21cc940ded4d29d7e69b8b7941f714d
https://github.com/LucaButBoring
chore: make Resource.uri and Resource.name requiredhttps://github.com/modelcontextprotocol/java-sdk/pull/331/commits/33a25a14dc02ffaa1166c2b899b377fd5113cb84
33a25a1https://github.com/modelcontextprotocol/java-sdk/pull/331/commits/33a25a14dc02ffaa1166c2b899b377fd5113cb84
https://github.com/LucaButBoring
LucaButBoringhttps://github.com/LucaButBoring
Jun 23, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#issuecomment-2997304607
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
tzolovhttps://github.com/tzolov
Jun 24, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/331#ref-commit-6c330db
https://github.com/LucaButBoring
https://github.com/tzolov
feat: add size field and builder pattern to Resource record (https://github.com/modelcontextprotocol/java-sdk/commit/6c330db5ad93585df0a83d1bdd273b786ea521f0
#331https://github.com/modelcontextprotocol/java-sdk/pull/331
)https://github.com/modelcontextprotocol/java-sdk/commit/6c330db5ad93585df0a83d1bdd273b786ea521f0
6c330dbhttps://github.com/modelcontextprotocol/java-sdk/commit/6c330db5ad93585df0a83d1bdd273b786ea521f0
#330https://github.com/modelcontextprotocol/java-sdk/issues/330
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#issuecomment-2998755964
@LucaButBoringhttps://github.com/LucaButBoring
6c330dbhttps://github.com/modelcontextprotocol/java-sdk/commit/6c330db5ad93585df0a83d1bdd273b786ea521f0
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/331#event-18285301412
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jul 22, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/331#ref-issue-3221188140
Release 0.11.0 #386 https://github.com/modelcontextprotocol/java-sdk/issues/386
rhishirajnemahttps://github.com/rhishirajnema
Jun 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/331#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%2F331
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
0.11.0 https://github.com/modelcontextprotocol/java-sdk/milestone/4
Support optional resource sizes https://github.com/modelcontextprotocol/java-sdk/issues/330
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/331
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.