Module logging

Source
Expand description

Logging-related message types for MCP server-to-client logging and progress.

This module provides types for:

  • Server logging messages to client
  • Log level configuration
  • Progress notifications for long-running operations
  • Resource change notifications

Structs§

LoggingNotification
Notification containing a log message from the server.
ProgressNotification
Progress notification for long-running operations.
PromptListChangedNotification
Notification that the list of prompts has changed.
ResourceListChangedNotification
Notification that the list of resources has changed.
ResourceUpdatedNotification
Notification that a resource has been updated.
SetLevelRequest
Request to set the logging level for the server.
ToolListChangedNotification
Notification that the list of tools has changed.

Enums§

LogLevel
Log level enumeration for MCP logging.
ProgressToken
Progress token for tracking long-running operations.