v0.4.0 · Interface
client-notifications
Client-directed MCP notifications and requests
These interfaces are used by servers to send notifications and requests to clients.
Unlike bidirectional notifications, these are server → client only.
Categories:
- **Logging**: Send log messages to client's logging system
- **List changes**: Notify when tools/prompts/resources are added/removed
- **Subscriptions**: Push updates to subscribed resources/prompts
- **Elicitation**: Request information from the client (roots, sampling)
Type Aliases
T
output-stream
TAn output bytestream.
server-request
TServer requests (sent to client)
progress-token
TProgress token for tracking long-running operations
log-level
T=========================================================================
server-lists
TServer capability list change flags
server-subscriptions
TServer subscription type flags
notification-error
Errors that can occur when sending notifications