selectMutualVersion

Pick the newest protocol version both this SDK and the server support, given the server's advertised wire-string list (from server/discover or the supported field of an UnsupportedProtocolVersionError). Returns false when there is no overlap. Used by McpClient.connect for modern-vs-legacy server detection per the transport backward-compatibility rules.

@safe
bool
selectMutualVersion