TsgcWSAPIClient_MCP › Properties › ServerDiscover

ServerDiscover Property

Result of server/discover received by the last Initialize (public, read only).

Syntax

property ServerDiscover: TsgcAI_MCP_Response_ServerDiscover read FServerDiscover;

Default Value

nil

Remarks

Exposes SupportedVersions, Capabilities and Instructions of a server that uses the protocol version 2026-07-28. It is nil in the legacy era. The object belongs to the component, do not free it.

See Protocol Versions.

Example

if Assigned(MCP.ServerDiscover) then
  Log(MCP.ServerDiscover.Instructions);

Back to Properties