TsgcWSAPIClient_MCP › Properties › NegotiatedEra

NegotiatedEra Property

Protocol era negotiated by the last Initialize (public, read only).

Syntax

property NegotiatedEra: TsgcAI_MCP_ProtocolEra read FNegotiatedEra;

Default Value

—

Remarks

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.

Example

if MCP.Initialize and (MCP.NegotiatedEra = aimcpeModern) then
  Log('modern era');

Back to Properties