Skip to content

Conversation

@jspahrsummers
Copy link
Member

@jspahrsummers jspahrsummers commented Oct 7, 2024

Adds optional cursor-based pagination to all list-type requests.

I've also split out the listing of resources and resource templates, which makes the interfaces simpler. Although this is a breaking change, I don't think anything actually exists that depends on this right now.

In keeping with our MCP design philosophy, pagination logic is entirely up to the server (including whether it exists at all): the server returns however many results it wants to, and an optional cursor if the client can request more.

Resolves #6.

@jspahrsummers jspahrsummers requested review from a team, ashwin-ant, dsp-ant and k6l3 October 7, 2024 14:51
@udaygajavalli
Copy link

Say I made an API call which is paginated at my server end upon receiving the tool/call. Does it support pagination?

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.

Support for Pagination

4 participants