AgentSea.MCP.Transport.Function (agentsea_mcp v0.1.0)

Copy Markdown

A transport backed by a 2-arity function (method, params) -> {:ok, result} | {:error, reason}. Handy for in-process MCP servers, tests, and demos. The client's ref is the function itself.