ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Class McpServerRegistration

    A registered MCP server provided over an ACP connection.

    Index
    name: string

    Human-readable server name.

    serverId: string

    Opaque server ID, unique for the lifetime of the ACP connection.

    • Removes the registration. Future requests fail with -33001; active requests are cancelled, and the returned promise resolves once their handlers have settled.

      Returns Promise<void>

    • Supports explicit resource management with await using.

      Returns Promise<void>