Class OrdersServer
java.lang.Object
ai.redouble.examples.mcpwrap.OrdersServer
The application's one connection to the orders MCP server: connected at startup, shared
by every tool that wraps one of the server's tools, closed at shutdown. Holding the
client here is what lets a wrapping tool keep the
(Identifiable parent)
constructor every tool has, so an agent can create it like any other.- Since:
- 0.1 (2026-09-28)
- Author:
- Andrey Santrosyan
-
Method Summary
-
Method Details
-
connect
- Throws:
LLMReadableCheckedException
-
client
-
close
public static void close()
-