McpServerMetadata
Record net10.0
Represents metadata for an MCP server used by the MCP Inspector.
namespace Aspire.Hosting.ApplicationModel;
public record McpServerMetadata : System.IEquatable<Aspire.Hosting.ApplicationModel.McpServerMetadata>{ // ...} IEquatable<McpServerMetadata>
13 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesEndpointget; initEndpointReferenceThe endpoint reference for the server resource.
Nameget; initstringThe name of the server resource.
Pathget; initstringThe path used for MCP communication.
TransportTypeget; initThe transport type used by the server resource.
Methods8
Section titled Methods<Clone>$virtualDeconstruct(string, EndpointReference, McpTransportType, string)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(McpServerMetadata?)virtualboolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(McpServerMetadata?, McpServerMetadata?)staticboolop_Inequality(McpServerMetadata?, McpServerMetadata?)staticboolToStringstringReturns a string that represents the current object.