Interface IJebMcpServer


public interface IJebMcpServer
Basic definition of a JEB MCP server instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the HTTP endpoint path exposed by the server.
    Get the hostname or bind address used by the server.
    Get the server name.
    int
    Get the listening port used by the server.
    int
     
    Get the server version.
    void
    Serve requests until the server is stopped.
    default void
    Deprecated.
    use join() instead
    void
    setToolCallLogVerbosity(int verbosity)
    Set the verbosity level for logging messages displayed when a tool is being invoked by an MCP client.
  • Method Details

    • getName

      String getName()
      Get the server name.
      Returns:
      server name
    • getVersion

      String getVersion()
      Get the server version.
      Returns:
      server version
    • getHostname

      String getHostname()
      Get the hostname or bind address used by the server.
      Returns:
      hostname
    • getPort

      int getPort()
      Get the listening port used by the server.
      Returns:
      port number
    • getEndpoint

      String getEndpoint()
      Get the HTTP endpoint path exposed by the server.
      Returns:
      endpoint path
    • join

      void join()
      Serve requests until the server is stopped.
    • serve

      @Deprecated default void serve()
      Deprecated.
      use join() instead
    • getToolCallLogVerbosity

      int getToolCallLogVerbosity()
      Returns:
      verbosity level:
      • 0=nothing logged
      • 1=basic tool call info is logged
      • 2=detailed tool call info is logged
    • setToolCallLogVerbosity

      void setToolCallLogVerbosity(int verbosity)
      Set the verbosity level for logging messages displayed when a tool is being invoked by an MCP client.
      Parameters:
      verbosity - verbosity level:
      • 0=nothing logged
      • 1=basic tool call info is logged
      • 2=detailed tool call info is logged