v0.4.0 · Interface

sessions

MCP session management and related features This interface provides stateful session management for MCP servers, enabling: - Persistent session data storage using WASI key-value stores - Client elicitation (requesting information from clients) - Session lifecycle management (initialize, terminate, delete) - Async operations with pollable futures Sessions are identified by unique IDs and can span multiple HTTP requests, allowing servers to maintain state and context across interactions.