Skip to content
Useful MCP HubSign in

A FIELD GUIDE TO MCP

MCP pagination

Reading a long MCP list in chunks by returning the server’s continuation token, rather than choosing a page number.

Sources checked: 2026-11-27

What the cursor means

A cursor marks where the next chunk of a list begins. The server chooses each chunk’s size. A client passes the returned nextCursor back as cursor; it must not decode, edit or guess the token’s meaning.

Where it applies

The specification defines pagination for tools/list, resources/list, resources/templates/list and prompts/list. These discover available items; pagination is not execution, authorization or a guarantee that every item is visible to your account.

A concrete example

Hypothetically, resources/list returns three guides and nextCursor: "opaque-A". The client requests the next chunk using cursor: "opaque-A". The number three does not establish a fixed page size. Missing nextCursor means there are no further chunks indicated by that response.

An empty token can still continue the list

Version 2026-07-28 explicitly permits an empty-string cursor. Its value must not be treated as an end marker merely because it is falsy. Check whether a non-null cursor was supplied. That revision also requires request _meta fields even when short documentation examples omit them.

Limits and common mistakes

Invalid cursors should produce error -32602. The 2025-11-25 revision additionally forbids persisting cursors across sessions; do not present that older requirement as identical wording in every revision. This mechanism does not promise a stable snapshot while data changes, a client-selected chunk size or that one response contains the complete list.

Primary sources