()
| 149 | // ============================================================================ |
| 150 | |
| 151 | function getMcpToolTimeoutMs(): number { |
| 152 | return ( |
| 153 | parseInt(process.env.MCP_TOOL_TIMEOUT || '', 10) || |
| 154 | DEFAULT_MCP_TOOL_TIMEOUT_MS |
| 155 | ) |
| 156 | } |
| 157 | |
| 158 | function createTimeoutPromise( |
| 159 | serverName: string, |