Package io.modelcontextprotocol.server
Interface McpStatelessNotificationHandler
public interface McpStatelessNotificationHandler
Handler for MCP notifications in a stateless server.
- Author:
- Dariusz Jędrzejczyk
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>handle(McpTransportContext transportContext, Object params) Handle to notification and complete once done.
-
Method Details
-
handle
Handle to notification and complete once done.- Parameters:
transportContext-McpTransportContextassociated with the transportparams- the payload of the MCP notification- Returns:
- Mono which completes once the processing is done
-