Class McpAegisClient

java.lang.Object
com.cockroachlabs.crdb.continuum.aegis.McpAegisClient
All Implemented Interfaces:
com.cockroachlabs.crdb.spi.AegisClient

public final class McpAegisClient extends Object implements com.cockroachlabs.crdb.spi.AegisClient
Adapts an McpClient to the AegisClient SPI.

Aegis is reachable read-only over the Cockroach Continuum Cloud MCP server. This adapter calls the configured tools and parses their text content as JSON into Finding/Recommendation. Tool names are required config (discover them with McpClient.listTools()); an unset name throws rather than guessing the server's tool contract.

  • Constructor Details

  • Method Details

    • findings

      public List<com.cockroachlabs.crdb.spi.Finding> findings()
      Specified by:
      findings in interface com.cockroachlabs.crdb.spi.AegisClient
    • recommendations

      public List<com.cockroachlabs.crdb.spi.Recommendation> recommendations()
      Specified by:
      recommendations in interface com.cockroachlabs.crdb.spi.AegisClient
    • emit

      public void emit(com.cockroachlabs.crdb.spi.AppEvent event)
      Specified by:
      emit in interface com.cockroachlabs.crdb.spi.AegisClient