Interface McpAssured.McpStdioTestClient

All Superinterfaces:
AutoCloseable, McpAssured.McpTestClient<McpAssured.McpStdioAssert,McpAssured.McpStdioTestClient>
Enclosing class:
McpAssured

public static interface McpAssured.McpStdioTestClient extends McpAssured.McpTestClient<McpAssured.McpStdioAssert,McpAssured.McpStdioTestClient>
A test client that leverages the STDIO transport.

The client launches the MCP server as a subprocess and communicates via stdin/stdout using newline-delimited JSON messages.

  • Method Details

    • process

      Process process()
      Returns:
      the subprocess handle
    • stderrLines

      List<String> stderrLines()
      Returns:
      the captured stderr lines