Skip to content
DocsTry Aspire
DocsTry

McpServerMetadata Constructors

RecordConstructors1 member
Represents metadata for an MCP server used by the MCP Inspector.
Constructor(string, EndpointReference, McpTransportType, string)Section titled Constructor(string, EndpointReference, McpTransportType, string)
Represents metadata for an MCP server used by the MCP Inspector.
public record McpServerMetadata
{
public McpServerMetadata(
string Name,
EndpointReference Endpoint,
McpTransportType TransportType,
string Path)
{
// ...
}
}
NamestringThe name of the server resource.
EndpointEndpointReferenceThe endpoint reference for the server resource.
TransportTypeMcpTransportTypeThe transport type used by the server resource.
PathstringThe path used for MCP communication.