Interface McpServerRegistrationListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface McpServerRegistrationListener
Receives the terminal result of an MCP server registration attempt.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked once after an MCP server entry is registered, fails registration, or is skipped.
  • Method Details

    • onCompleted

      void onCompleted(McpServerRegistrationResult result)
      Invoked once after an MCP server entry is registered, fails registration, or is skipped.
      Parameters:
      result - terminal registration result