Skip to content
Docs Try Aspire

McpServerMetadata Constructors

Record Constructors 1 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)
{
// ...
}
}
Name string The name of the server resource.
Endpoint EndpointReference The endpoint reference for the server resource.
TransportType McpTransportType The transport type used by the server resource.
Path string The path used for MCP communication.