> ## Documentation Index
> Fetch the complete documentation index at: https://si.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CosmosMcpTaskStoreOptions

> Registration knobs for [CosmosMcpTaskStore](/mcpessentials/api-reference/CloudNimble/McpEssentials/Cosmos/Tasks/CosmosMcpTaskStore).

## Definition

**Assembly:** CloudNimble.McpEssentials.Cosmos.dll

**Namespace:** CloudNimble.McpEssentials.Cosmos.Tasks

**Inheritance:** CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreOptions

## Syntax

```csharp theme={"dark"}
CloudNimble.McpEssentials.Cosmos.Tasks.CosmosMcpTaskStoreOptions
```

## Summary

Registration knobs for [CosmosMcpTaskStore](https://si.easyaf.dev/mcpessentials/api-reference/CloudNimble/McpEssentials/Cosmos/Tasks/CosmosMcpTaskStore.md).

## Constructors

### &#x20;.ctor

Initializes a new instance with Cosmos defaults: no request-path sweep
([McpTaskStoreOptions.AutoSweep](https://si.easyaf.dev/mcpessentials/api-reference/CloudNimble/McpEssentials/Core/Tasks/McpTaskStoreOptions.md#autosweep) is [`false`](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool)).
Cosmos expires documents from the `ttl` property.

#### Syntax

```csharp theme={"dark"}
public CosmosMcpTaskStoreOptions()
```

## Properties

### &#x20;DatabaseId

Gets or sets the Cosmos database id.

#### Syntax

```csharp theme={"dark"}
public string DatabaseId { get; set; }
```

#### Property Value

Type: `string`
The default is `mcpessentials`.

### &#x20;IndexContainerId

Gets or sets the index container id. Partition key is `/id` (the task id).

#### Syntax

```csharp theme={"dark"}
public string IndexContainerId { get; set; }
```

#### Property Value

Type: `string`
The default is `McpTaskIndex`.

### &#x20;TasksContainerId

Gets or sets the tasks container id. Partition key is `/ownerUserId`.

#### Syntax

```csharp theme={"dark"}
public string TasksContainerId { get; set; }
```

#### Property Value

Type: `string`
The default is `McpTasks`.

### &#x20;Throughput

Gets or sets the RU/s used when [CosmosMcpTaskStore](https://si.easyaf.dev/mcpessentials/api-reference/CloudNimble/McpEssentials/Cosmos/Tasks/CosmosMcpTaskStore.md) creates containers.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<int> Throughput { get; set; }
```

#### Property Value

Type: `System.Nullable<int>`
The default is 400. Set to [`null`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) on serverless accounts
(or pre-create the containers yourself).

## Methods

### &#x20;ApplyTo Override

#### Syntax

```csharp theme={"dark"}
public override void ApplyTo(CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBase store)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `store` | `CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBase` | - |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.