René's URL Explorer Experiment


Title: feat: add pagination support for listRoots operation by tzolov · Pull Request #336 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: feat: add pagination support for listRoots operation by tzolov · Pull Request #336 · modelcontextprotocol/java-sdk

X Title: feat: add pagination support for listRoots operation by tzolov · Pull Request #336 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - feat: add pagination support for listRoots operation by tzolov · Pull Request #336 · modelcontextprotocol/java-sdk

Open Graph Description: Add nextCursor field to ListRootsResult for cursor-based pagination Implement automatic pagination in McpAsyncServerExchange.listRoots() Update tests to verify pagination functionality Automaticall...

X Description: Add nextCursor field to ListRootsResult for cursor-based pagination Implement automatic pagination in McpAsyncServerExchange.listRoots() Update tests to verify pagination functionality Automaticall...

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

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:699b072e-c4fd-db39-1878-d854e46ee17a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7C8:399EED:129A215:18026D2:6A5B0B01
html-safe-nonce1e4bbcfcd45a238ad9bde98c9aa7a170f3c7977bb73121a6c685a5f0a296d0c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0M4OjM5OUVFRDoxMjlBMjE1OjE4MDI2RDI6NkE1QjBCMDEiLCJ2aXNpdG9yX2lkIjoiNTYzMTg4MzQ2MTg5MDA4MzU4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace168d0741afb4e89e4eb578c1b90d71f71f2628e8ac4243ff324b32356131548
hovercard-subject-tagpull_request:2614196425
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/336/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6a972be25c04a7f869ba5c4103dbba8c20983cc495cccdd6b337150be68f28cc/modelcontextprotocol/java-sdk/pull/336
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6a972be25c04a7f869ba5c4103dbba8c20983cc495cccdd6b337150be68f28cc/modelcontextprotocol/java-sdk/pull/336
og:image:altAdd nextCursor field to ListRootsResult for cursor-based pagination Implement automatic pagination in McpAsyncServerExchange.listRoots() Update tests to verify pagination functionality Automaticall...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametzolov
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/336#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F336
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%2F336
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/336
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/336
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/336
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
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
tzolovhttps://github.com/tzolov
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
add-roots-pagination-supporthttps://github.com/modelcontextprotocol/java-sdk/tree/add-roots-pagination-support
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/336
Commits3 (3)https://github.com/modelcontextprotocol/java-sdk/pull/336/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/336/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/336/files
feat: add pagination support for listRoots operationhttps://github.com/modelcontextprotocol/java-sdk/pull/336#top
tzolovhttps://github.com/tzolov
mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
add-roots-pagination-supporthttps://github.com/modelcontextprotocol/java-sdk/tree/add-roots-pagination-support
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#issue-3171055374
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/tzolov
feat: add pagination support for listRoots operationhttps://github.com/modelcontextprotocol/java-sdk/pull/336/commits/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57
555c16ahttps://github.com/modelcontextprotocol/java-sdk/pull/336/commits/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57
https://github.com/tzolov
tzolovhttps://github.com/tzolov
0.11.0https://github.com/modelcontextprotocol/java-sdk/milestone/4
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#event-18289710207
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 24, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/336#pullrequestreview-2953378309
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/336/files/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57
mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.javahttps://github.com/modelcontextprotocol/java-sdk/pull/336/files/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57#diff-6640c46e52051f022f3ff0c0bb34a1d93e59ef175e81396924fe88b045ec22ef
chemicLhttps://github.com/chemicL
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2163704171
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2164376546
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.javahttps://github.com/modelcontextprotocol/java-sdk/pull/336/files/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57#diff-6640c46e52051f022f3ff0c0bb34a1d93e59ef175e81396924fe88b045ec22ef
chemicLhttps://github.com/chemicL
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2163705527
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2163956418
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.javahttps://github.com/modelcontextprotocol/java-sdk/pull/336/files/555c16acfcb8453cd2d5bee70ea0d75d7c87ed57#diff-6640c46e52051f022f3ff0c0bb34a1d93e59ef175e81396924fe88b045ec22ef
chemicLhttps://github.com/chemicL
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2163707533
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#discussion_r2163954990
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/tzolov
refactor: make listRoots() return unmodifiable list and add comprehen…https://github.com/modelcontextprotocol/java-sdk/pull/336/commits/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd
4aeeb1fhttps://github.com/modelcontextprotocol/java-sdk/pull/336/commits/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 24, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#issuecomment-3000421323
@chemicLhttps://github.com/chemicL
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 25, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/336#pullrequestreview-2957736946
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/336/files/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd
mcp/src/test/java/io/modelcontextprotocol/server/McpAsyncServerExchangeTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/336/files/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd#diff-90ddf2bf002de19de643c5796dd525d98df56e651aab3f56023b099d23d91032
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 25, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/336#pullrequestreview-2957739936
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/336/files/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd
mcp/src/test/java/io/modelcontextprotocol/server/McpAsyncServerExchangeTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/336/files/4aeeb1f8a53dc539a9a52b5dca1c19e4eb2445cd#diff-90ddf2bf002de19de643c5796dd525d98df56e651aab3f56023b099d23d91032
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/tzolov
test: add mock verification to McpAsyncServerExchangeTestshttps://github.com/modelcontextprotocol/java-sdk/pull/336/commits/7bc872692ed5d87967dcc23e936b3ebd62b28cf6
7bc8726https://github.com/modelcontextprotocol/java-sdk/pull/336/commits/7bc872692ed5d87967dcc23e936b3ebd62b28cf6
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 26, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#issuecomment-3008514744
@chemicLhttps://github.com/chemicL
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/chemicL
chemicLhttps://github.com/chemicL
Jun 27, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/336#pullrequestreview-2965326532
View reviewed changes https://github.com/modelcontextprotocol/java-sdk/pull/336/files/7bc872692ed5d87967dcc23e936b3ebd62b28cf6
chemicLhttps://github.com/chemicL
https://github.com/modelcontextprotocol/java-sdk/pull/336#pullrequestreview-2965326532
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
tzolovhttps://github.com/tzolov
Jun 27, 2025 https://github.com/modelcontextprotocol/java-sdk/pull/336#ref-commit-1cbace3
https://github.com/tzolov
feat: add pagination support for listRoots operation (https://github.com/modelcontextprotocol/java-sdk/commit/1cbace33539a0526df2e5f588c162978dd66f0d6
#336https://github.com/modelcontextprotocol/java-sdk/pull/336
)https://github.com/modelcontextprotocol/java-sdk/commit/1cbace33539a0526df2e5f588c162978dd66f0d6
1cbace3https://github.com/modelcontextprotocol/java-sdk/commit/1cbace33539a0526df2e5f588c162978dd66f0d6
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 27, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#issuecomment-3012163561
1cbace3https://github.com/modelcontextprotocol/java-sdk/commit/1cbace33539a0526df2e5f588c162978dd66f0d6
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/tzolov
tzolovhttps://github.com/tzolov
Jun 27, 2025https://github.com/modelcontextprotocol/java-sdk/pull/336#event-18352191486
rhishirajnemahttps://github.com/rhishirajnema
Jun 25, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/336#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%2F336
https://github.com/chemicL
chemicL https://github.com/chemicL
https://github.com/modelcontextprotocol/java-sdk/pull/336/files/7bc872692ed5d87967dcc23e936b3ebd62b28cf6
0.11.0 https://github.com/modelcontextprotocol/java-sdk/milestone/4
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/336
https://github.com/tzolov
https://github.com/chemicL
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.