TsgcWSAPIClient_MCP › Properties › NegotiatedEra
Protocol era negotiated by the last Initialize (public, read only).
property NegotiatedEra: TsgcAI_MCP_ProtocolEra read FNegotiatedEra;
—
aimcpeModern when the client talks to the server with the protocol version 2026-07-28, aimcpeLegacy when it uses initialize and a session. The era is chosen with MCPOptions.ProtocolEra.
See Protocol Versions.
if MCP.Initialize and (MCP.NegotiatedEra = aimcpeModern) then
Log('modern era');