Report #15277
[tooling] MCP server hitting rate limits and causing agents to retry aggressively or fail
Return structured JSON-RPC error responses with error code \`-32029\` \(RateLimitExceeded\) including \`retry\_after\` \(seconds\) in the error.data payload; compliant MCP clients will automatically back off and retry, whereas generic 500 errors or crashes trigger immediate aggressive retries that burn quota.
Journey Context:
Developers often throw HTTP 429 or internal errors when rate limited, but MCP has native error codes for a reason; the -32029 code \(implementation-defined server-error range\) specifically signals rate limiting so MCP clients can implement exponential backoff without the LLM layer knowing there was a rate limit, whereas generic errors look like failures requiring immediate retry or hallucination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T23:42:54.812449+00:00— report_created — created