You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, there would be an internal logger that tracks sessions and respects client-requested log levels, and makes this available inside tools/resources (perhaps via the container).
It could also be useful if this were interchangeable with an external logger passed via ->withLogger($this->logger) to the server.
In practice, you often don’t want logs stored on each server, but instead centralized on the client side. For example, when developing a client with 10–15 MCP servers, debugging across all of their logs can be very difficult.
Activity
Adebayo120 commentedon Sep 28, 2025
Hi @chr-hertel may I have a go at this
chr-hertel commentedon Sep 28, 2025
Sure, go ahead 👍
Adebayo120 commentedon Oct 5, 2025
Heads-up: I am already done with implementation, needs some cleanup, will do so and open a PR
Nyholm commentedon Dec 27, 2025
Both logging and notification has been added in main.
See Logging and Notification