wenjin272 opened a new issue, #1507:
URL: https://github.com/apache/flink-agents/issues/1507

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   The Java `MCPServer` already supports configurable exponential backoff 
retries, but the Python implementation fails immediately on transient errors 
such as network timeouts, connection failures, and HTTP 429/503 responses. This 
leaves MCP calls with different retry behavior depending on the language used.
   
   Add retry support to Python MCP tool and prompt discovery/invocation, with 
configurable retry count and backoff durations aligned with Java. Setting the 
retry count to zero should disable retries, and Java retry settings should also 
be honored when MCP execution is delegated to Python. Non-retryable errors and 
tool results marked `isError=True` should fail without retries.
   
   Related PR: #1474.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!
   
   Implementation is already available in #1474.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to