# McpInspectorOptions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.McpInspector](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.McpInspector/McpInspectorOptions.cs)

Options for configuring the MCP Inspector resource.

## Definition

```csharp
namespace Aspire.Hosting;

public class McpInspectorOptions
{
    // ...
}
```

## Constructors

- [McpInspectorOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectoroptions/constructors.md#constructor)

## Properties

- [ClientPort](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectoroptions/properties.md#clientport) : `int` `get; set` -- Gets or sets the port for the client application. Defaults to "6274".
- [InspectorVersion](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectoroptions/properties.md#inspectorversion) : `string` `get; set` -- 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).
- [ProxyToken](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectoroptions/properties.md#proxytoken) : `IResourceBuilder<ParameterResource>` `get; set` -- 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.
- [ServerPort](/reference/api/csharp/communitytoolkit.aspire.hosting.mcpinspector/mcpinspectoroptions/properties.md#serverport) : `int` `get; set` -- Gets or sets the port for the server proxy application. Defaults to "6277".
