Table of Contents

Class McpServerStatus

Namespace
JD.AI.Core.Mcp
Assembly
JD.AI.Core.dll

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

McpServerStatus

Properties

Icon

Returns a display icon matching the current state.

public string Icon { get; }

Property Value

string

LastCheckedUtc

When the status was last evaluated (UTC).

public DateTimeOffset LastCheckedUtc { get; init; }

Property Value

DateTimeOffset

LastErrorDetails

Full error details for debug output.

public string? LastErrorDetails { get; init; }

Property Value

string

LastErrorSummary

Short, human-readable summary of the last error (if any).

public string? LastErrorSummary { get; init; }

Property Value

string

State

Current connection state.

public McpConnectionState State { get; init; }

Property Value

McpConnectionState