For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/interfaces/test.PackedMcpSession.md.
  • 简体中文
  • Interface: PackedMcpSession

    Extends

    • AsyncDisposable

    Properties

    client

    readonly client: Client


    close

    readonly close: () => Promise<void>

    Returns

    Promise<void>


    provenance

    readonly provenance: PackedMcpProvenance


    stderr

    readonly stderr: () => string

    Everything the server wrote to stderr, bounded — stdout is the protocol channel.

    Returns

    string

    Methods

    [asyncDispose]()

    [asyncDispose](): PromiseLike<void>

    Returns

    PromiseLike<void>

    Inherited from

    AsyncDisposable.[asyncDispose]