@postman/postman-mcp-server
Version:
Postman MCP Server — connect AI agents (Claude Code, Cursor, VS Code Copilot, Gemini CLI) to your Postman collections, specifications, and environments via Model Context Protocol (MCP)
13 lines (12 loc) • 354 B
JavaScript
export function detectPaginationUsed(args) {
if (typeof args.cursor === 'string' && args.cursor.length > 0) {
return true;
}
if (typeof args.nextCursor === 'string' && args.nextCursor.length > 0) {
return true;
}
if (typeof args.offset === 'number' && args.offset > 0) {
return true;
}
return false;
}