Class ContinuumMcpFactory
java.lang.Object
com.cockroachlabs.crdb.continuum.mcp.ContinuumMcpFactory
Factory for
McpClient: returns a SimulatedMcpClient when the
client is disabled or has no endpoint, otherwise an HttpMcpClient.-
Method Summary
Modifier and TypeMethodDescriptionstatic McpClientcreate(McpClient.Config config) Creates a client using the default JDK transport.static McpClientcreate(McpClient.Config config, HttpMcpClient.Transport transport) Creates a client, overriding the HTTP transport (e.g.
-
Method Details
-
create
Creates a client using the default JDK transport. -
create
Creates a client, overriding the HTTP transport (e.g. for tests).
-