TsgcWSAPIClient_MCP component.
TsgcWSAPIClient_MCP implements a Model Context Protocol (MCP) consumer on top of sgcWebSockets networking components. It takes care of session negotiation, JSON-RPC request/response marshalling and convenience events so Delphi & Cbuilder applications can discover prompts, resources and tools exposed by any MCP-compliant server.
https://localhost:5001/mcp). Configure TLS and logging through the nested TLSOptions and LogOptions objects if needed.
aimcptrStdio and configure MCPOptions.StdioOptions (Command, Arguments, WorkingDir, Environment) with the server executable to launch. The client spawns the process and exchanges newline-delimited JSON-RPC over its standard input/output, with no HTTP URL required. This is how you connect to a local MCP server spawned as a subprocess.
ping cycle and define the preferred interval (seconds). The component internally calls Ping when the internal keep-alive timer fires.