Class McpServerStatus
Runtime connection status of an MCP server.
public sealed record McpServerStatus : IEquatable<McpServerStatus>
- Inheritance
-
McpServerStatus
- Implements
- Inherited Members
Fields
Default
A pre-built McpServerStatus for the Unknown state.
public static readonly McpServerStatus Default
Field Value
Properties
Icon
Returns a display icon matching the current state.
public string Icon { get; }
Property Value
LastCheckedUtc
When the status was last evaluated (UTC).
public DateTimeOffset LastCheckedUtc { get; init; }
Property Value
LastErrorDetails
Full error details for debug output.
public string? LastErrorDetails { get; init; }
Property Value
LastErrorSummary
Short, human-readable summary of the last error (if any).
public string? LastErrorSummary { get; init; }
Property Value
State
Current connection state.
public McpConnectionState State { get; init; }