Implements the Model Context Protocol for the XP Framework.
Connecting to an MCP server:
use io\modelcontextprotocol\McpClient;
use util\cmd\Console;
// Use streamable HTTP
$client= new McpClient('http://localhost:3001');
// Use standard I/O
$client= new McpClient(['docker', 'run', '--rm', '-i', 'mcp/time']);
$response= $client->call('tools/list');
Console::writeLine($response->value());