Skip to content

feat: add pagination support for listRoots operation#336

Closed
tzolov wants to merge 3 commits intomainfrom
add-roots-pagination-support
Closed

feat: add pagination support for listRoots operation#336
tzolov wants to merge 3 commits intomainfrom
add-roots-pagination-support

Conversation

@tzolov
Copy link
Copy Markdown
Contributor

@tzolov tzolov commented Jun 24, 2025

  • Add nextCursor field to ListRootsResult for cursor-based pagination
  • Implement automatic pagination in McpAsyncServerExchange.listRoots()
  • Update tests to verify pagination functionality
  • Automatically fetches and combines all pages into single result

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants