ExMCP.ACP.Agent.Transport.Memory (ex_mcp v0.10.0)

View Source

In-memory ACP transport for tests and local integration.

The same module can be used by ExMCP.ACP.Agent with role: :agent and by ExMCP.ACP.Client with role: :client.

Summary

Functions

Returns a specification to start this module under a supervisor.

Creates a shared endpoint for a client/agent pair.

Starts a shared in-memory transport endpoint.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

new_pair(opts \\ [])

@spec new_pair(keyword()) :: GenServer.on_start()

Creates a shared endpoint for a client/agent pair.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

Starts a shared in-memory transport endpoint.