Namespace Nexus\Mcp\Client\Transport

Classes
StdioClientTransport

Stdio MCP client transport. Launches an MCP server subprocess and exchanges line-framed JSON-RPC envelopes over its STDIN/STDOUT.

StreamableHttpClientTransport

Streamable HTTP MCP client transport. Every outbound message is its own POST to the MCP endpoint, and the response, a single JSON object or a request-scoped SSE stream, is emitted back as inbound envelopes.

SupervisedTransport

Transport that mints each connection from a factory and respawns the peer when one ends without close() having been called. Forwards the caller's listeners to whichever connection is current.