McpTransportFactory typedef
McpTransportFactory =
Future<McpTransport> Function(McpServerConfig server, String cwd)
Spawns/connects the transport for server, running stdio processes in
cwd. Implementations must throw McpServerUnavailableException (not
return null) when the server cannot be started.
Implementation
typedef McpTransportFactory =
Future<McpTransport> Function(McpServerConfig server, String cwd);