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
fix: allow any JSON-serializable type for log message data
According to the MCP spec, the data that may be logged can be of any
type, not just str. This change updates the logging context methods
to accept Any instead of str for the data parameter.
Changes:
- Change 'message' parameter to 'data' with type Any in log()
- Update all convenience methods (debug, info, warning, error) to
accept Any for the data parameter
- Update docstring to reflect the spec-compliant behavior
Fixes#397
0 commit comments