# McpServerMetadata Properties

- Package: [CommunityToolkit.Aspire.Hosting.McpInspector](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector.md)
- Type: [McpServerMetadata](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpservermetadata.md)
- Kind: `Properties`
- Members: `4`

Represents metadata for an MCP server used by the MCP Inspector.

## Endpoint

- Name: `Endpoint`
- Modifiers: `get; init`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpServerMetadata.cs)

The endpoint reference for the server resource.

```csharp
public EndpointReference Endpoint { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpServerMetadata.cs)

The name of the server resource.

```csharp
public string Name { get; init; }
```

## Path

- Name: `Path`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpServerMetadata.cs)

The path used for MCP communication.

```csharp
public string Path { get; init; }
```

## TransportType

- Name: `TransportType`
- Modifiers: `get; init`
- Returns: [McpTransportType](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcptransporttype.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpServerMetadata.cs)

The transport type used by the server resource.

```csharp
public McpTransportType TransportType { get; init; }
```
