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.InMemoryMcpSession.md.
  • 简体中文
  • Interface: InMemoryMcpSession

    Extends

    • AsyncDisposable

    Properties

    client

    readonly client: Client

    The real MCP SDK client, for protocol calls this module does not wrap.


    close

    readonly close: () => Promise<void>

    Returns

    Promise<void>


    provenance

    readonly provenance: McpProjectionProvenance

    Methods

    [asyncDispose]()

    [asyncDispose](): PromiseLike<void>

    Returns

    PromiseLike<void>

    Inherited from

    AsyncDisposable.[asyncDispose]