Table of Contents

Method FromPath

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

FromPath(string, string)

Creates a new root from a local file path.

public static McpRoot FromPath(string path, string name = null)

Parameters

path string

The local filesystem path.

name string

Optional display name for the root.

Returns

McpRoot

A new McpRoot instance.