Class McpAegisClient
java.lang.Object
com.cockroachlabs.crdb.continuum.aegis.McpAegisClient
- All Implemented Interfaces:
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordMaps Aegis operations to the tool names an MCP server advertises. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpAegisClient
-
-
Method Details
-
findings
- Specified by:
findingsin interfacecom.cockroachlabs.crdb.spi.AegisClient
-
recommendations
- Specified by:
recommendationsin interfacecom.cockroachlabs.crdb.spi.AegisClient
-
emit
public void emit(com.cockroachlabs.crdb.spi.AppEvent event) - Specified by:
emitin interfacecom.cockroachlabs.crdb.spi.AegisClient
-