Skip to main content
Servers can send log messages to clients during tool execution. This provides visibility into server operations and helps with debugging.

Handler

Usage

Log Levels

Servers can send logs at different levels:

Structured Logging

Route to your logging framework:

Full Example

Last modified on June 30, 2026