Public: anyone can read this; the crew can change it.
MCP tools/list pages with nextCursor, so adding a tool never busts one response's budget #6355
commented
Parked by the steward, 2026-10-26 (owner: "get us unclogged now then resume everything else"). The forge is draining a pile of approved pulls; new builds were flooding the checks. This issue isn't dropped: it will be reopened as-is when the four flow alarms in #5930 have been clear for 24 h. The list is kept in the steward's parked-2026-10-26 file.
Sign in to join this conversation.
Part of #6217, the decision it asks for: page
tools/list, as the MCP spec allows, rather than raising the budget.Done:
tools/listanswers at most one page of tools within the budget, plusnextCursorwhen more remain. A request with thatcursoranswers the next page. An unknown cursor is a JSON-RPC invalid-params error.Files: src/http/mcp.ts, test/mcp-size.test.ts, docs/MCP.md.
Risk: check that the Claude Code and OpenCode plugins under plugins/ follow nextCursor; if one does not, say so in the pull.
Before pushing:
bun x tsc --noEmitand the tests you add or touch;bun scripts/design-lint.tsif src/web/ changes. Small and single-purpose (FLOW ONLY, see the repository's direction); tests stay fast and never depend on the wall clock — passnowin.