Follow-up from #1610. Two small carried-over cleanups:
1. Configurable stdio probe timeout
The stdio sessionless-probe timeout is hard-coded to 5 s. Make it configurable (transport option) so callers can tune it for slow-starting servers / CI.
2. IsStatefulSession() / IsMrtrSupported gate review
McpServerImpl.IsMrtrSupported carries a TODO to revisit how it gates on IsStatefulSession(). Review whether the MRTR-support determination is correct now that stateful mode is effectively stdio-only under the draft changes.
cc #1610
Follow-up from #1610. Two small carried-over cleanups:
1. Configurable stdio probe timeout
The stdio sessionless-probe timeout is hard-coded to 5 s. Make it configurable (transport option) so callers can tune it for slow-starting servers / CI.
2. IsStatefulSession() / IsMrtrSupported gate review
McpServerImpl.IsMrtrSupportedcarries a TODO to revisit how it gates onIsStatefulSession(). Review whether the MRTR-support determination is correct now that stateful mode is effectively stdio-only under the draft changes.cc #1610