Table of Contents

Class McpResourceTemplate

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

Represents an MCP resource template with a parameterized URI (RFC 6570 URI Template). Resource templates allow dynamic resource access with variable parameters.

public sealed class McpResourceTemplate
Inheritance
McpResourceTemplate
Inherited Members

Properties

Annotations

Gets or sets optional annotations for the template.

Description

Gets or sets the description of what resources this template provides.

MimeType

Gets or sets the MIME type of resources returned by this template.

Name

Gets or sets the human-readable name of the resource template.

Title

Gets or sets the optional title for display purposes.

UriTemplate

Gets or sets the URI template pattern (RFC 6570 format). Example: "file:///{path}" or "db:///{schema}/{table}"

Methods

ToString()

Returns a string representation of this template.