Interface McpStatelessRequestHandler<R>

Type Parameters:
R - type of the MCP response

public interface McpStatelessRequestHandler<R>
Handler for MCP requests in a stateless server.
Author:
Dariusz Jędrzejczyk
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<R>
    handle(McpTransportContext transportContext, Object params)
    Handle the request and complete with a result.
  • Method Details

    • handle

      reactor.core.publisher.Mono<R> handle(McpTransportContext transportContext, Object params)
      Handle the request and complete with a result.
      Parameters:
      transportContext - McpTransportContext associated with the transport
      params - the payload of the MCP request
      Returns:
      Mono which completes with the response object