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.
Type Aliases
T
output-stream
TAn output bytestream.
stream-error
TAn error for input-stream and output-stream operations.
pollable
T<code>pollable</code> represents a single I/O event which may be ready, or not.
bucket
Tstore-error
Telicit-request
T=========================================================================
elicit-result
Elicit result