Expand description
Core MCP protocol types and error handling MCP Roots Protocol Types
This module defines types for root directory listing in MCP.
Structsยง
- List
Roots Params - Parameters for roots/list request (per MCP spec - no params required but can have _meta)
- List
Roots Request - Complete roots/list request (matches TypeScript ListRootsRequest interface)
- List
Roots Result - Response for roots/list (per MCP spec)
- Root
- Root directory entry (per MCP spec)
- Roots
List Changed Notification - Notification for when roots list changes (matches TypeScript RootsListChangedNotification interface)
- Roots
List Changed Params - Parameters for roots list changed notification (per MCP spec - optional _meta only)