Follow-up to #107
Issue #107 (closed by docs-only PR) asked for pagination on mmx search query because the API returns at most 10 results per call.
Investigation result
The /v1/coding_plan/search endpoint does not currently expose any pagination parameter. The canonical reference client (MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py, web_search) only sends {"q": query} and the response is just { organic: [...], related_searches: [...] } — no count, page, limit, or offset is accepted or returned.
In other words, the 10-result cap is a hard limit imposed by the API, not by the CLI. The CLI cannot expose pagination flags that the server will not honor.
What is needed on the API side
To make #107 actionable, the /v1/coding_plan/search endpoint needs to accept a pagination mechanism. The simplest options would be:
- Add a
count parameter (1–N, default 10) so callers can request larger pages, and
- Add an
offset or page parameter (1-indexed or 0-indexed) so callers can paginate beyond the first page.
Both should be added to:
MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py (web_search tool)
- Any underlying API gateway that proxies the request
Once the API supports these, the CLI can be updated to expose --page and --limit flags (and the SDK's SearchSDK.query can accept the same options).
Tracking
Closing the docs gap for #107 in this repo was done in the matching PR. This issue tracks the API-side work.
Refs #107.
Follow-up to #107
Issue #107 (closed by docs-only PR) asked for pagination on
mmx search querybecause the API returns at most 10 results per call.Investigation result
The
/v1/coding_plan/searchendpoint does not currently expose any pagination parameter. The canonical reference client (MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py,web_search) only sends{"q": query}and the response is just{ organic: [...], related_searches: [...] }— nocount,page,limit, oroffsetis accepted or returned.In other words, the 10-result cap is a hard limit imposed by the API, not by the CLI. The CLI cannot expose pagination flags that the server will not honor.
What is needed on the API side
To make #107 actionable, the
/v1/coding_plan/searchendpoint needs to accept a pagination mechanism. The simplest options would be:countparameter (1–N, default 10) so callers can request larger pages, andoffsetorpageparameter (1-indexed or 0-indexed) so callers can paginate beyond the first page.Both should be added to:
MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py(web_searchtool)Once the API supports these, the CLI can be updated to expose
--pageand--limitflags (and the SDK'sSearchSDK.querycan accept the same options).Tracking
Closing the docs gap for #107 in this repo was done in the matching PR. This issue tracks the API-side work.
Refs #107.