mcp-bridge-is-timeout-bounded-at-all-phases

IN derived (depth 1)

MCP bridge operations are timeout-bounded at both connection establishment (30s) and per-tool execution (60s), preventing indefinite blocking on unresponsive MCP servers at any lifecycle phase.

Summary

The MCP bridge will never hang forever waiting on a misbehaving MCP server. Both the initial handshake and each individual tool call have hard time limits, so if a server stops responding, the system recovers within at most 60 seconds rather than getting stuck indefinitely.

Justifications

SL — Connection and execution timeouts independently bound both MCP lifecycle phases

Antecedents (all must be IN):

  • mcp-bridge-connect-blocks-up-to-30s — `connect()` blocks the calling thread for up to 30 seconds waiting for MCP session initialization via `_ready.wait(timeout=30)`, then raises `TimeoutError` if the server doesn't respond.
  • mcp-bridge-call-tool-timeout-60s — `call_tool()` blocks for up to 60 seconds per invocation via `future.result(timeout=60)`; if the MCP server hangs, the calling thread unblocks with `TimeoutError`.

Dependents

These beliefs depend on this one:

Details