You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,18 @@ An MCP server implementation that integrates with Contentful's Content Managemen
18
18
-**Content Types**: Manage content type definitions
19
19
-**Localization**: Support for multiple locales
20
20
-**Publishing**: Control content publishing workflow
21
+
-**Smart Pagination**: List operations return maximum 3 items per request to prevent context window overflow, with built-in pagination support
22
+
23
+
## Pagination
24
+
25
+
To prevent context window overflow in LLMs, list operations (like search_entries and list_assets) are limited to 3 items per request. Each response includes:
26
+
- Total number of available items
27
+
- Current page of items (max 3)
28
+
- Number of remaining items
29
+
- Skip value for the next page
30
+
- Message prompting the LLM to offer retrieving more items
31
+
32
+
This pagination system allows the LLM to efficiently handle large datasets while maintaining context window limits.
21
33
22
34
## Tools
23
35
@@ -33,6 +45,7 @@ An MCP server implementation that integrates with Contentful's Content Managemen
33
45
34
46
### Asset Management
35
47
48
+
-**list_assets**: List assets with pagination (3 items per page)
36
49
-**upload_asset**: Upload new assets with metadata
37
50
-**get_asset**: Retrieve asset details and information
38
51
-**update_asset**: Update asset metadata and files
0 commit comments