mirror of
https://github.com/cline/cline.git
synced 2026-10-30 18:12:49 +08:00
The stdio MCP client gave servers without a configured `timeout` only 1.5 seconds to answer initialize before killing the process, so slow-starting servers (e.g. Oracle SQLcl's JVM-based `sql -mcp`) could never load and were silently skipped at session start. Raise the default connect budget to 30s, in line with the startup budget other MCP clients allow. A configured `timeout` still overrides it in either direction, dead commands still fail fast through the spawn error/exit path, and the newline -> Content-Length framing fallback is unchanged. Fixes #13035 Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com>