Skip to content

Commit c9de9ce

Browse files
committed
MCP tool - Storage - 0.5.5
1 parent 1e964f7 commit c9de9ce

File tree

1 file changed

+70
-10
lines changed

1 file changed

+70
-10
lines changed

articles/azure-mcp-server/tools/storage.md

Lines changed: 70 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the Azure MCP Server with Azure Storage.
44
keywords: azure mcp server, azmcp, storage account, blob storage
55
author: diberry
66
ms.author: diberry
7-
ms.date: 08/07/2025
7+
ms.date: 08/12/2025
88
content_well_notification:
99
- AI-contribution
1010
ai-usage: ai-assisted
@@ -19,7 +19,32 @@ The Azure MCP Server enables you to manage Azure Storage resources, including st
1919

2020
[!INCLUDE [tip-about-params](../includes/tools/parameter-consideration.md)]
2121

22-
## List accounts
22+
23+
## Account: create
24+
25+
Create a new Azure Storage account.
26+
27+
Example prompts include:
28+
29+
- **Create account**: "Create a storage account named 'mystorageaccount' in 'eastus'."
30+
- **New storage**: "Set up a new storage account called 'datastore2025' in region 'westus2'."
31+
- **Specify SKU and kind**: "Create a storage account 'mydata' in 'eastus' with Standard_GRS and kind StorageV2."
32+
- **Secure storage**: "Create a storage account 'securestore' in 'centralus' with HTTPS only."
33+
- **Enable Data Lake**: "Set up a storage account 'datalakeacct' in 'westeurope' with hierarchical namespace enabled."
34+
35+
| Parameter | Required or optional | Description |
36+
|-----------------------------|----------------------|-------------|
37+
| **Account** | Required | The name of the Azure Storage account to create. Must be globally unique, 3-24 characters, lowercase letters and numbers only. |
38+
| **Region** | Required | The Azure region where the storage account will be created (for example, 'eastus', 'westus2'). |
39+
| **SKU** | Optional | The storage account SKU. Valid values: Standard_LRS, Standard_GRS, Standard_RAGRS, Standard_ZRS, Premium_LRS, Premium_ZRS, Standard_GZRS, Standard_RAGZRS. |
40+
| **Kind** | Optional | The storage account kind. Valid values: Storage, StorageV2, BlobStorage, FileStorage, BlockBlobStorage. |
41+
| **Default access tier for blobs** | Optional | The default access tier for blob storage. Valid values: Hot, Cool. |
42+
| **Require secure transfer (HTTPS)** | Optional | Whether to require secure transfer (HTTPS) for the storage account. |
43+
| **Allow public access to blobs** | Optional | Whether to allow public access to blobs in the storage account. |
44+
| **Enable hierarchical namespace (Data Lake)** | Optional | Whether to enable hierarchical namespace (Data Lake Storage Gen2) for the storage account. |
45+
46+
47+
## Account: list
2348

2449
The Azure MCP Server can list all storage accounts in a subscription. This functionality provides an overview of your storage infrastructure.
2550

@@ -64,8 +89,8 @@ Example prompts include:
6489

6590
| Parameter | Required or optional | Description |
6691
|-----------|-------------|-------------|
67-
| **Account name** | Required | The name of the Azure Storage account. |
68-
| **Container name** | Required | The name of the container to access. |
92+
| **Account** | Required | The name of the Azure Storage account. |
93+
| **Container** | Required | The name of the container to access. |
6994

7095

7196
## Blob: List containers
@@ -81,7 +106,7 @@ Example prompts include:
81106

82107
| Parameter | Required or optional | Description |
83108
|-----------|-------------|-------------|
84-
| **Account name** | Required | The name of the Azure Storage account. |
109+
| **Account** | Required | The name of the Azure Storage account. |
85110

86111
## Blob: list container blobs
87112

@@ -97,9 +122,24 @@ Example prompts include:
97122

98123
| Parameter | Required or optional | Description |
99124
|-----------|-------------|-------------|
100-
| **Account name** | Required | The name of the Azure Storage account. |
101-
| **Container name** | Required | The name of the container to access. |
125+
| **Account** | Required | The name of the Azure Storage account. |
126+
| **Container** | Required | The name of the container to access. |
127+
128+
## Blob: get blob details
102129

130+
Get blob properties, metadata, and general information.
131+
132+
Example prompts include:
133+
134+
- **Get blob details**: "Show me details for 'file.txt' in container 'documents' in storage account 'mystorageaccount'."
135+
- **Blob properties**: "Get properties of blob 'image1.png' in container 'photos' in storage account 'mediafiles'."
136+
- **Blob metadata**: "What is the metadata for 'backup.zip' in 'backups' container in 'mydata' storage account?"
137+
138+
| Parameter | Required or optional | Description |
139+
|-----------------------------|----------------------|-------------|
140+
| **Account** | Required | The name of the Azure Storage account. This is the unique name you chose for your storage account (for example, 'mystorageaccount'). |
141+
| **Container** | Required | The name of the container to access within the storage account. |
142+
| **Blob** | Required | The name of the blob to access within the container. This should be the full path within the container (for example, 'file.txt' or 'folder/file.txt'). |
103143

104144
## Datalake: create directory
105145

@@ -116,7 +156,7 @@ Example prompts include:
116156
| Parameter | Required or optional | Description |
117157
|-----------|-------------|-------------|
118158
| **Directory path** | Required | The full path of the directory to create in the Data Lake, including the file system name (for example, 'myfilesystem/data/logs' or 'myfilesystem/archives/2024'). Use forward slashes (/) to separate the file system name from the directory path and for subdirectories. |
119-
| **Account name** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
159+
| **Account** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
120160

121161
## Datalake: list file system paths
122162

@@ -133,10 +173,30 @@ Example prompts include:
133173
| Parameter | Required or optional | Description |
134174
|-----------|-------------|-------------|
135175
| **File system name** | Required | The name of the Data Lake file system to access within the storage account. |
136-
| **Account name** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
176+
| **Account** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
137177
| **Filter path** | Optional | The prefix to filter paths in the Data Lake. Only paths that start with this prefix will be listed. |
138178
| **Recursive** | Optional | Flag to indicate whether the command will operate recursively on all subdirectories. |
139179

180+
181+
## Queue: send message
182+
183+
Send messages to an Azure Storage queue for asynchronous processing.
184+
185+
Example prompts include:
186+
187+
- **Send message**: "Send 'Hello, world!' to the 'tasks' queue in storage account 'mystorageaccount'."
188+
- **Set message TTL**: "Send 'process this' to queue 'jobs' in storage account 'workdata' with a time-to-live of 3600 seconds."
189+
- **Set visibility timeout**: "Send 'start job' to queue 'operations' in storage account 'prodstore' with a visibility timeout of 30 seconds."
190+
191+
| Parameter | Required or optional | Description |
192+
|-----------------------------|----------------------|-------------|
193+
| **Account** | Required | The name of the Azure Storage account. This is the unique name you chose for your storage account (for example, 'mystorageaccount'). |
194+
| **Queue** | Required | The name of the queue to access within the storage account. |
195+
| **Message** | Required | The content of the message to send to the queue. |
196+
| **Time-to-live (seconds)** | Optional | The time-to-live for the message in seconds. If not specified, the message will use the queue's default TTL. Set to -1 for messages that never expire. |
197+
| **Visibility timeout (seconds)** | Optional | The visibility timeout for the message in seconds. This determines how long the message will be invisible after it's retrieved. If not specified, defaults to 0 (immediately visible). |
198+
199+
140200
## Share: list files
141201

142202
The Azure MCP Server can list files and directories within a file share directory. This functionality recursively lists all items in a specified file share directory, including files, subdirectories, and their properties. Files and directories may be filtered by a prefix.
@@ -170,7 +230,7 @@ Example prompts include:
170230

171231
| Parameter | Required or optional | Description |
172232
|-----------|-------------|-------------|
173-
| **Account name** | Required | The name of the Azure Storage account. |
233+
| **Account** | Required | The name of the Azure Storage account. |
174234

175235
## Related content
176236

0 commit comments

Comments
 (0)