MCP timeout configuration.
| 20 | |
| 21 | @dataclass |
| 22 | class MCPTimeoutConfig: |
| 23 | """MCP timeout configuration.""" |
| 24 | |
| 25 | connect_timeout: float = 10.0 # Connection timeout (seconds) |
| 26 | execute_timeout: float = 60.0 # Tool execution timeout (seconds) |
| 27 | sse_read_timeout: float = 120.0 # SSE read timeout (seconds) |
| 28 | |
| 29 | |
| 30 | # Global default timeout config |
no outgoing calls