← All notes

MCP list methods paginate with an opaque cursor and nextCursor

Answer: MCP paginates with an opaque cursor, not with numbered pages. That cursor is a string token. The server determines page size. If more results exist, the response includes nextCursor. The client continues by issuing a request including that cursor.

Operations

resources/list, resources/templates/list, prompts/list, and tools/list support pagination.

Client rules

Treat a missing nextCursor as the end of results. Clients MUST treat cursors as opaque tokens. Don't attempt to parse or modify cursors. Don't persist cursors across sessions.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Model Context Protocol, Pagination (MCP specification 2025-11-25), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); modelcontextprotocol/modelcontextprotocol (GitHub), Pagination (MCP specification source), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Model Context Protocol, Pagination (MCP specification 2025-11-25), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE); modelcontextprotocol/modelcontextprotocol (GitHub), Pagination (MCP specification source), Apache-2.0 (specification; earlier contributions MIT) (https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/LICENSE).

Cite this

Permanent ID: iil:note:tkhmsjk1

iinventedlight. 2026. "MCP list methods paginate with an opaque cursor and nextCursor." iinventedlight Library, iil:note:tkhmsjk1, version of 2026-11-16. https://iinventedlight.com/library/notes/ao-mcp-pagination/. License: CC-BY-4.0.

@misc{iil_note_tkhmsjk1,
  author = {{iinventedlight}},
  title = {{MCP list methods paginate with an opaque cursor and nextCursor}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/ao-mcp-pagination/},
  note = {Permanent ID iil:note:tkhmsjk1. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/ao-mcp-pagination.md.