Skip to content

feat(mcp): refactor logging to use exchange for targeted client notifications#132

Closed
tzolov wants to merge 8 commits intomainfrom
fix-mcp-logging
Closed

feat(mcp): refactor logging to use exchange for targeted client notifications#132
tzolov wants to merge 8 commits intomainfrom
fix-mcp-logging

Conversation

@tzolov
Copy link
Copy Markdown
Contributor

@tzolov tzolov commented Apr 9, 2025

Refactors the MCP logging system to use the exchange mechanism for sending logging notifications only to specific client sessions rather than broadcasting to all clients.

  • Move logging notification delivery from server-wide broadcast to per-session exchange
  • Implement per-session minimum logging level tracking and filtering
  • Change setLoggingLevel from notification to request/response pattern
  • Deprecate global server.loggingNotification in favor of exchange.loggingNotification
  • Add integration test demonstrating filtered logging notifications

Resolves #131

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor logging system to use exchange for targeted client notifications

2 participants