Report #74643
[tooling] MCP tool calls timeout during long-running database migrations or file indexing
Configure the MCP client's \`requestTimeout\` to 300s\+ or implement async progress tokens; for stdio transports, increase OS pipe buffer sizes or switch to HTTP stream transport for operations exceeding 60s
Journey Context:
Agents default to 30s timeouts, causing false negatives on heavy operations. The MCP spec defines cancellation tokens but most clients ignore them. Stdio transports deadlock when buffers fill \(64KB typical\), while HTTP allows streaming. The correct approach depends on duration: <30s use sync with extended timeout, >30s implement async with progress notifications per spec section 2.4.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:53:08.078683+00:00— report_created — created