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
{{ message }}
Repository navigation
Logging: per-request log level on modern servers (era fork) #1629
Stack: SDK V2 + New Spec — 6 of 10 (tab era-fork; needs era model from card 3).
Fork the Logging UX by era. On modern servers logging/setLevel and the session-scoped level are gone: the client opts into logs per request via _meta["io.modelcontextprotocol/logLevel"], and servers MUST NOT emit notifications/message for requests that omitted it. The SDK does not auto-attach logLevel — server logs are silently absent until we stamp it.
Scope
Legacy era: keep the current LogControls level Select + "Set" button → logging/setLevel, unchanged.
Modern era: replace the session-level selector with a per-request (or global "stamp every request") log-level control; make clear in the UI that logs arrive on the originating request's stream. Gate the legacy selector out on modern.
Activity
test-servers: logging era-fork showcase configs + proof screenshots (#…
test-servers: send_notification emits via per-request notifier so mod…
test-servers: send_notification uses SDK request-scoped log() → spec-…
web+core: add "Log Level per Request" as a per-server setting, defaul…
test: add modern-era log delivery + gating e2e tests (#1629)
web: hide the modern "Log Level per Request" setting on legacy connec…
Logging: per-request log level on modern servers (era fork) (#1629) (#…
fix(core): reset all session-scoped state on connect, not just receiv…
fix(web): re-seed the Logs control when the client re-seeds its own l…
refactor(core): one derivation for the modern log level (#1797)
review: round-45 — reattach the orphaned doc, order the announcements (…
fix(core): register peer-request handlers before connect (#1797) (#1798)