TsgcWSAPIClient_MCP › Methods › Discover

Discover Method

Sends a server/discover request and raises OnMCPDiscover with the result.

Syntax

procedure Discover;

Remarks

Reads the server features of the protocol version 2026-07-28: supported versions, capabilities and instructions. Initialize already sends server/discover in the modern era, so call this method only to read the features again. The result of Initialize is kept in ServerDiscover.

See Protocol Versions.

Example

MCP.OnMCPDiscover := MCPDiscover;
MCP.Discover;

Back to Methods