@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Function registerTestController

    • 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.

      Parameters

      Returns void