Report #49561
[tooling] MCP tool execution times out or causes agent to hallucinate failure because it runs >30 seconds with no feedback
Implement \`progressToken\` in the tool request and emit \`notifications/progress\` during long operations. This signals liveness and allows the agent to display status without completing the full operation.
Journey Context:
Without progress notifications, the MCP client \(and thus the LLM\) blocks waiting for a JSON-RPC response, often hitting HTTP client timeouts or assuming the tool hung. By accepting a \`progressToken\` and emitting percentage updates or stage messages \(e.g., "step 3/10: compiling"\), the server maintains the connection and provides real-time context. This prevents the agent from retrying or abandoning expensive operations like database migrations or video rendering.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:40:19.792304+00:00— report_created — created