Skip to main content

Module roots_types

Module roots_types 

Source
Expand description

Roots Types for MCP Protocol (2025-11-25)

Module provides the Roots feature types for file system access, allowing servers to request access to specific directories or files.

Structsยง

ListRootsRequest
Request for listing roots (sent from server to client)
ListRootsResult
Result of listing roots (sent from client to server)
Root
Represents a root directory or file that the server can operate on.
RootsListChangedNotification
Notification that the list of roots has changed