MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getMcpToolTimeoutMs

Function getMcpToolTimeoutMs

src/services/mcp/client.ts:224–229  ·  view source on GitHub ↗

* Gets the timeout for MCP tool calls in milliseconds. * Uses MCP_TOOL_TIMEOUT environment variable if set, otherwise defaults to ~27.8 hours.

()

Source from the content-addressed store, hash-verified

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

Callers 1

callMCPToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected