Class
McpServerStatus
Represents the status of a single MCP server.
Inheritance
- Object
- McpServerStatus
Constructors
public McpServerStatus(String name, IReadOnlyDictionary<String, McpToolInfo> tools, IReadOnlyList<McpResourceInfo> resources, IReadOnlyList<McpResourceTemplateInfo> resourceTemplates, McpAuthStatus authStatus, JsonObject raw, JsonObject additional) #Initializes a new MCP server status.
Parameters
- name System.String
- tools System.Collections.Generic.IReadOnlyDictionary{System.String,IntelligenceX.OpenAI.AppServer.Models.McpToolInfo}
- resources System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.McpResourceInfo}
- resourceTemplates System.Collections.Generic.IReadOnlyList{IntelligenceX.OpenAI.AppServer.Models.McpResourceTemplateInfo}
- authStatus IntelligenceX.OpenAI.AppServer.Models.McpAuthStatus
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
public static McpServerStatus FromJson(JsonObject obj) #Returns:
McpServerStatusParses a server status from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed server status.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; } #Gets the server name.
public IReadOnlyDictionary<String, McpToolInfo> Tools { get; } #Gets the available tools.
public IReadOnlyList<McpResourceInfo> Resources { get; } #Gets the available resources.
public IReadOnlyList<McpResourceTemplateInfo> ResourceTemplates { get; } #Gets the resource templates.
public McpAuthStatus AuthStatus { get; } #Gets the auth status.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.