Skip to main content

MCP Pagination CLI

Command-line interface for paginating through MCP server tools, resources, and prompts.

Commands Overview

List Tools with Pagination

Basic Usage

Options

Pagination with Cursor

JSON Output

Output:

Iterate Through All Pages

List Resources with Pagination

List Prompts with Pagination

Exit Codes

Error Handling

Invalid Cursor

Out of Range Cursor

Examples

Quick Tool Count

Export All Tools to File

Filter by Annotation in Shell

See Also