Skip to main content
MCP client transports over a unix-domain socket + the transport selector. The UDS transports implement the contract Transport Protocol; get_mcp_transport picks between them (or a plain dict-config for non-UDS servers).

BaseUDSTransport

tai42_kit.transport.base_uds_transport.BaseUDSTransport
Attributes

HTTPUDSTransport

tai42_kit.transport.http_uds_transport.HTTPUDSTransport

Members

connect_session

tai42_kit.transport.http_uds_transport.HTTPUDSTransport.connect_session
Parameters

SSEUDSTransport

tai42_kit.transport.sse_uds_transport.SSEUDSTransport

Members

connect_session

tai42_kit.transport.sse_uds_transport.SSEUDSTransport.connect_session
Parameters

get_mcp_transport

tai42_kit.transport.utils.get_mcp_transport
Build the fastmcp transport for one MCP server config. A UDS server connects over a unix socket; uds_protocol selects the MCP wire protocol carried on it (http = streamable-http, sse = SSE) — the caller (which owns the runtime/CLI) supplies it, so it arrives unvalidated and any other value raises. A non-UDS server returns a plain fastmcp dict-config and ignores uds_protocol. Parameters