# FoundryToolboxMcpToolOptions Properties

- Package: [Aspire.Hosting.Foundry](/reference/api/csharp/aspire.hosting.foundry.md)
- Type: [FoundryToolboxMcpToolOptions](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcptooloptions.md)
- Kind: `Properties`
- Members: `3`

Options for an MCP tool in a Microsoft Foundry Toolbox.

<a id="approvalpolicy"></a>

## ApprovalPolicy

- Name: `ApprovalPolicy`
- Modifiers: `nullable` `get; set`
- Returns: [FoundryToolboxMcpApprovalPolicy?](/reference/api/csharp/aspire.hosting.foundry/foundrytoolboxmcpapprovalpolicy.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Foundry/Toolbox/FoundryToolboxOptions.cs)

Gets or sets the declared approval policy for tools discovered from the MCP server.

```csharp
public FoundryToolboxMcpApprovalPolicy? ApprovalPolicy { get; set; }
```

## Remarks

The Toolbox publishes this policy as MCP discovery metadata. Applications consuming the Toolbox remain responsible for enforcing approval before invoking a discovered tool.

<a id="serverdescription"></a>

## ServerDescription

- Name: `ServerDescription`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Foundry/Toolbox/FoundryToolboxOptions.cs)

Gets or sets a description of the MCP server.

```csharp
public string? ServerDescription { get; set; }
```

<a id="serverlabel"></a>

## ServerLabel

- Name: `ServerLabel`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Foundry/Toolbox/FoundryToolboxOptions.cs)

Gets or sets the label that identifies the MCP server in the Toolbox and prefixes its discovered tool names. The Toolbox tool name is used when unset.

```csharp
public string? ServerLabel { get; set; }
```
