Register an AdCP task-based tool on an MCP server.
Wraps server.experimental.tasks.registerToolTask() with AdCP defaults.
Sets execution.taskSupport (default: 'optional') and passes through to the SDK.
Accepts either an AdcpServer from createAdcpServer() or a raw SDK
McpServer from createTaskCapableServer() — the helper unwraps the
opaque handle when needed so registration reaches the SDK server.
Register an AdCP task-based tool on an MCP server.
Wraps
server.experimental.tasks.registerToolTask()with AdCP defaults. Setsexecution.taskSupport(default: 'optional') and passes through to the SDK.Accepts either an
AdcpServerfromcreateAdcpServer()or a raw SDKMcpServerfromcreateTaskCapableServer()— the helper unwraps the opaque handle when needed so registration reaches the SDK server.