Table of Contents

Property ClientInfoName

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

ClientInfoName

Gets or sets the client name sent during MCP initialization.

public string ClientInfoName { get; set; }

Property Value

string

A string identifying the client software. Default is "LMKit.NET". Setting this to null or empty restores the default value.

Remarks

This value is included in the clientInfo.name field of the MCP initialize request. It helps servers identify the type of client connecting and can be used for compatibility checks or feature negotiation.

Changes to this property only take effect on the next initialization. If the client is already initialized, you'll need to call ShutdownAsync(CancellationToken) or change authentication to trigger re-initialization with the new value.