API Reference
Class
McpServerStatus
Represents the status and capabilities of a single MCP server.
Inheritance
- Object
- McpServerStatus
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method McpServerStatus.FromJson
- Property McpServerStatusListResult.Servers
Accepted by parameters 1
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 virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyDictionary<String, McpToolInfo> Tools { get; } #Gets available tools keyed by tool name.
public IReadOnlyList<McpResourceInfo> Resources { get; } #Gets currently exposed resources.
public IReadOnlyList<McpResourceTemplateInfo> ResourceTemplates { get; } #Gets available resource templates.
public McpAuthStatus AuthStatus { get; } #Gets server authentication status.
public JsonObject Raw { get; } #Gets the original raw JSON payload for this server.
public JsonObject? Additional { get; } #Gets unrecognized fields from the payload.