Skip to content

Commit 1166bbc

Browse files
committed
Add link to MCP pagination spec
1 parent f326b42 commit 1166bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/cursor/cursor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import (
99
)
1010

1111
// Cursor represents pagination state with offset for next offset.
12+
//
13+
// We want to follow a pattern defined in MCP specification:
14+
// https://modelcontextprotocol.io/specification/2025-11-25/server/utilities/pagination
1215
type Cursor struct {
1316
Offset int32 `json:"offset"`
1417
}

0 commit comments

Comments
 (0)