Register the comply_test_controller tool on an MCP server.
Accepts a plain TestControllerStore (scenarios inferred from
implemented methods) or a TestControllerStoreFactory (scenarios
declared explicitly; createStore runs per request for session-backed
state). See the module-level examples for both patterns.
The server argument takes either an AdcpServer from
createAdcpServer() or a raw SDK McpServer from
createTaskCapableServer() — the helper unwraps the opaque handle
when needed so tool registration reaches the underlying SDK server.
Register the
comply_test_controllertool on an MCP server.Accepts a plain TestControllerStore (scenarios inferred from implemented methods) or a TestControllerStoreFactory (scenarios declared explicitly;
createStoreruns per request for session-backed state). See the module-level examples for both patterns.The
serverargument takes either anAdcpServerfromcreateAdcpServer()or a raw SDKMcpServerfromcreateTaskCapableServer()— the helper unwraps the opaque handle when needed so tool registration reaches the underlying SDK server.