loggingLevel property

LoggingLevel? loggingLevel
getter/setter pair

The level at or above which log sends messages, or null to send none.

On 2026-07-28 initialize sets this to MCPServerInitialization.logLevel, overwriting any default the server chose for itself. Earlier revisions keep that default, start at LoggingLevel.warning when there is none, and serve logging/setLevel to move it.

Implementation

LoggingLevel? loggingLevel;