Skip to content

Commit 5e463a2

Browse files
committed
Clarify that empty cursors are valid cursors
1 parent 33576f5 commit 5e463a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/specification/draft/server/utilities/pagination.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ The following MCP operations support pagination:
9292
3. Clients **MUST** treat cursors as opaque tokens:
9393
- Don't make assumptions about cursor format
9494
- Don't attempt to parse or modify cursors
95+
- Don't make any determination based on cursor value other than whether a
96+
non-null value was provided (e.g. an empty string is a valid cursor and
97+
thus **MUST NOT** be treated as the end of results)
9598
- Don't persist cursors across sessions
9699

97100
## Error Handling

0 commit comments

Comments
 (0)