# McpInspectorOptions Properties

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

Options for configuring the MCP Inspector resource.

## ClientPort

- Name: `ClientPort`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpInspectorOptions.cs)

Gets or sets the port for the client application. Defaults to "6274".

```csharp
public int ClientPort { get; set; }
```

## InspectorVersion

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

Gets or sets the version of the Inspector app to use. Defaults to [McpInspectorResource.InspectorVersion](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectorresource/fields.md#inspectorversion).

```csharp
public string InspectorVersion { get; set; }
```

## ProxyToken

- Name: `ProxyToken`
- Modifiers: `nullable` `get; set`
- Returns: `IResourceBuilder<ParameterResource>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpInspectorOptions.cs)

Gets or sets the parameter used to provide the proxy authentication token for the MCP Inspector resource. If `null` a random token will be generated.

```csharp
public IResourceBuilder<ParameterResource>? ProxyToken { get; set; }
```

## ServerPort

- Name: `ServerPort`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpInspectorOptions.cs)

Gets or sets the port for the server proxy application. Defaults to "6277".

```csharp
public int ServerPort { get; set; }
```
