Report #88699
[tooling] Rate limited MCP tools cause client retry storms without backoff
Return JSON-RPC error code -32002 with retry\_after \(seconds\) in the error data object; compliant clients will back off.
Journey Context:
When MCP tools hit rate limits, returning generic error messages or standard -32000 Server error causes aggressive clients to immediately retry, exacerbating the limit. The MCP spec extends JSON-RPC error handling. By returning the specific error code -32002 \(rate limited\) and including retry\_after \(seconds\) in the error data field, you signal compliant clients \(Claude Desktop, etc.\) to wait. This prevents thundering herd problems and reduces load.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:28:00.470001+00:00— report_created — created