Report #55863
[tooling] MCP resource read hangs or returns too much data causing crash
Expose paginated collections as Tools with \`offset\`/\`limit\` parameters rather than Resources; reserve Resources for single documents under 100KB.
Journey Context:
Resources are fetched entirely into memory via \`resources/read\` and are designed for subscription/notification patterns, not pagination. Stdio transports have OS-level pipe buffer limits \(often 1MB\) that cause deadlock when exceeded. Tools naturally support request-response pagination and prevent memory pressure on both client and server.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:15:33.462876+00:00— report_created — created