Class McpRestartPolicy
Restart policy for an MCP stdio server.
public sealed class McpRestartPolicy
Inheritance
Properties
Backoff
Backoff schedule applied between restarts. Default: 1s, 3s, 10s.
public IReadOnlyList<TimeSpan> Backoff { get; init; }
MaxAttempts
How many auto-restart attempts before giving up. Default 3.
public int MaxAttempts { get; init; }