Table of Contents

Method WithStderrHandler

Namespace
LMKit.Mcp.Client
Assembly
LM-Kit.NET.dll

WithStderrHandler(Action<string>)

Sets a handler for stderr output from the subprocess (stdio transport only).

public McpClientBuilder WithStderrHandler(Action<string> handler)

Parameters

handler Action<string>

An action that receives each line of stderr.

Returns

McpClientBuilder

This builder instance for method chaining.