Skip to content

List Pagination Support#33

Merged
patvice merged 4 commits intomainfrom
list-pagination-support
Jul 3, 2025
Merged

List Pagination Support#33
patvice merged 4 commits intomainfrom
list-pagination-support

Conversation

@patvice
Copy link
Owner

@patvice patvice commented Jul 3, 2025

MCP servers can support pagination for their lists. We are going to have client will automatically paginate the lists to include all items from the list you wanted to pull. We do this by recursively call our list method with the new cursor item until no cursor items are left.

Pagination is supported for tools, resources, prompts, and resource templates.

Testing

For testing, we added a new MCP server that has two items in each list. We have one item in each list response per page. This allows us to spin up a new test to test out the functionality on each list item.

patvice added 4 commits July 1, 2025 12:28
try port rotation to get more consitancy on server builds

check if envs are set

add ports to the test running command

remove the listene command

more spec changes to support changing ports dynamically

add dependency install

bundle install from bun install

change order of dep install

fixed action syntax

rename
@patvice patvice force-pushed the list-pagination-support branch from 2b5a9b5 to bb3f8de Compare July 3, 2025 15:35
@patvice patvice merged commit 7edc5bc into main Jul 3, 2025
4 checks passed
@patvice patvice deleted the list-pagination-support branch July 3, 2025 15:37
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.

1 participant