* Gets the timeout for MCP tool calls in milliseconds. * Uses MCP_TOOL_TIMEOUT environment variable if set, otherwise defaults to ~27.8 hours.
()
| 222 | * Uses MCP_TOOL_TIMEOUT environment variable if set, otherwise defaults to ~27.8 hours. |
| 223 | */ |
| 224 | function getMcpToolTimeoutMs(): number { |
| 225 | return ( |
| 226 | parseInt(process.env.MCP_TOOL_TIMEOUT || '', 10) || |
| 227 | DEFAULT_MCP_TOOL_TIMEOUT_MS |
| 228 | ) |
| 229 | } |
| 230 | |
| 231 | import { isClaudeInChromeMCPServer } from '../../utils/claudeInChrome/common.js' |
| 232 |