// Protocol/Transport/StdioTransport.cs
namespace McpDotNet.Protocol.Transport;
///
/// Represents configuration options for the stdio transport.
///
public record StdioTransportOptions
{
///
/// The command to execute to start the server process.
///
public required string Command { get; set; }
///
/// Arguments to pass to the server process.
///
public string[]? Arguments { get; set; } = Array.Empty();
///
/// The working directory for the server process.
///
public string? WorkingDirectory { get; set; }
///
/// Environment variables to set for the server process.
///
public Dictionary? EnvironmentVariables { get; set; }
///
/// The timeout to wait for the server to shut down gracefully.
///
public TimeSpan ShutdownTimeout { get; init; } = TimeSpan.FromSeconds(5);
}