Table of Contents

Method ForTransport

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

ForTransport(IMcpTransport)

Creates a builder using a custom transport implementation.

public static McpClientBuilder ForTransport(IMcpTransport transport)

Parameters

transport IMcpTransport

The custom transport instance.

Returns

McpClientBuilder

A new builder instance configured with the custom transport.

Exceptions

ArgumentNullException

Thrown when transport is null.