testMcpClient

fun PolyHandler.testMcpClient(connectRequest: Request = Request(POST, "/mcp")): TestMcpClient

Create an in-memory MCP test client - HTTP Streaming only. For Non-HTTP Streaming, use HttpNonStreamingMcpClient