Skip to content

server notifications handling ? #30

@fffan64

Description

@fffan64

Would server notifications request method: "notifications/message" sent from server be able to implement ?

a notificationCallback option could be passed to the hook, and in usemcp just add

clientRef.current!.setNotificationHandler(
  LoggingMessageNotificationSchema,
  notificationCallback
);

thanks for the lib and your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions