| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:311d9e39-2efe-89f3-92b6-4f26a36c641a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D8E:1F2D8B:52A4BC1:71B63D4:6A5E3C8A |
| html-safe-nonce | beba8bd3726b200e2a853ab4a18162743cc05f36b056f5c240733ce02b2f90a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDhFOjFGMkQ4Qjo1MkE0QkMxOjcxQjYzRDQ6NkE1RTNDOEEiLCJ2aXNpdG9yX2lkIjoiMTMzNTA4NTE0NDAyMjU5Njc0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f07118b3a266c43c464254fef17b974690526c9ff5e1a128cff7f9cbdf01ffb6 |
| hovercard-subject-tag | pull_request:2452162217 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| twitter:image | https://avatars.githubusercontent.com/u/11777947?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11777947?s=400&v=4 |
| og:image:alt | Adds the Pagination feature to the prompts/list feature to fulfil the specification.
Motivation and Context
This adds the Pagination feature to the prompts/list feature as described in the specific... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4b946991e2bd4b122ac7bb3d405be22af15feed82daaafcd1fe0a1231d54061 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a421a3a9fbeebe1ed5ba7c8e5b803b098d65a30e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/java-sdk/pull/140/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F140%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F140%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fjava-sdk |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Reload | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| java-sdk | https://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
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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2Fnew%2Fchoose |
| denniskawurek | https://github.com/denniskawurek |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/java-sdk/tree/main |
| denniskawurek:add-pagination | https://github.com/denniskawurek/java-sdk/tree/add-pagination |
|
Conversation
17
| https://github.com/modelcontextprotocol/java-sdk/pull/140 |
|
Commits
13
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits |
|
Checks
21
| https://github.com/modelcontextprotocol/java-sdk/pull/140/checks |
|
Files changed
3
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
|
feat: Add Pagination for server requests
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#top |
|
Show all changes
13 commits
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
|
094088d
feat: Add Pagination for requests
denniskawurek Apr 9, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/094088d4988d9a4106bab500679c2145df045422 |
|
317d674
Merge branch 'main' into add-pagination
denniskawurek Jun 24, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/317d6744203c57164fb47e4c006dbfbafedb6e5c |
|
2625932
Merge branch 'main' into add-pagination
denniskawurek Jul 29, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/262593267f0bda5b88f747bc7e50810706f63914 |
|
bfc5e81
chore: Apply formatter
denniskawurek Jul 29, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/bfc5e81a5a012a80ec3a5b6ab03d5be9fe2e54a6 |
|
91a30a7
Merge remote-tracking branch 'upstream/main' into add-pagination
denniskawurek Aug 18, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/91a30a7b66a6d18f0be930f0c13aa9d24076c608 |
|
1998f17
feat: Handle invalid cursor in streamable transport provider
denniskawurek Aug 19, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/1998f1793595130f13406ea50616891ffc561124 |
|
d366e25
chore: Apply formatter
denniskawurek Aug 19, 2025
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/d366e25adb60034b8919eeb594f0d7738ea04c8b |
|
4a95718
Merge branch 'main' into add-pagination
denniskawurek May 17, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/4a95718925ba1a9966b19e5dd7cf4b267d9f5a29 |
|
e68bbd8
feat: Server handles pagination
denniskawurek May 17, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/e68bbd85703e94157ec53e72ffa3e6df63c488d4 |
|
532929c
fix: Handle absent params
denniskawurek May 17, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/532929ca3b880f7b4fc0cafc153cba8629fb1d92 |
|
d3be706
Merge branch 'main' into add-pagination
denniskawurek May 20, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/d3be706c48b080360b48d2331fa6df5a67e4d9e5 |
|
b369c17
Merge branch 'main' into add-pagination
denniskawurek Jun 30, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/b369c1756a24036455996ff41a8b306160b0c661 |
|
bb659cf
fix: Apply formatter and move ParameterizedTests
denniskawurek Jun 30, 2026
| https://github.com/modelcontextprotocol/java-sdk/pull/140/commits/bb659cf738e0fcb55d9d403ce9809b574ebb3a73 |
|
Clear filters
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
|
McpAsyncServer.java
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
McpStatelessAsyncServer.java
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-619ec8d6e2ba9cdf32ae43946adc3c6cee9209a4742afb8308ed3f8579d28689 |
|
AbstractMcpClientServerIntegrationTests.java
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-8a7092de2b895ef8883890498686ed9d8e2d24f1ca8ae03bf5c64f1e6f4045a0 |
| mcp-core/src/main/java/io/modelcontextprotocol/server/McpAsyncServer.java | https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
View file
| https://github.com/modelcontextprotocol/java-sdk/blob/bb659cf738e0fcb55d9d403ce9809b574ebb3a73/mcp-core/src/main/java/io/modelcontextprotocol/server/McpAsyncServer.java |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/java-sdk/pull/140/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
|
| https://github.com/modelcontextprotocol/java-sdk/pull/140/files#diff-43308c9508778eb339f4e3310a6d5ea62b6865e878b60367a810437623efc08f |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
| Please reload this page | https://github.com/modelcontextprotocol/java-sdk/pull/140/files |
|
| 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 |