TsgcWSAPIServer_MCP › Properties › EndpointOptions
HTTP endpoint (path) that receives MCP JSON-RPC traffic; defaults to /mcp.
property EndpointOptions: TsgcWSMCPServerEndpoint_Options read FEndpointOptions write SetEndpointOptions;
—
Defines the HTTP document path the component compares against incoming requests. Only requests whose document equals Endpoint are treated as MCP JSON-RPC calls; every other document is left for the parent HTTP server to handle. The default value is /mcp; change it to coexist with additional REST APIs mounted on the same TsgcWebSocketHTTP_Server or TsgcWebSocketServer_HTTPAPI instance.
MCPServer.EndpointOptions.Endpoint := '/api/v1/mcp';