Skip to content

Commit 1783fcb

Browse files
authored
Merge pull request #7634 from diberry/diberry/0805-mcp-storage-new-operations
MCP - updates to storage, aks, best practices
2 parents de17979 + f986aaa commit 1783fcb

File tree

3 files changed

+89
-46
lines changed

3 files changed

+89
-46
lines changed

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author: diberry
99
ms.author: diberry
1010
ms.service: azure-mcp-server
1111
ms.topic: reference
12-
ms.date: 7/22/2025
12+
ms.date: 08/05/2025
1313
---
1414

1515
# Azure Kubernetes Service tools for the Azure MCP Server
@@ -43,6 +43,23 @@ Example prompts include:
4343
|-----------|-------------|-------------|
4444
| Subscription | Required | The ID or name of your Azure subscription containing the AKS clusters. |
4545

46+
## Get cluster details
47+
48+
Gets detailed information about a specific Azure Kubernetes Service (AKS) cluster, including configuration, status, node pools, and networking details. This operation helps you examine cluster properties and monitor the health of your Kubernetes environment.
49+
50+
Example prompts include:
51+
52+
- **Cluster details**: "Show me details about the 'production-aks' cluster in my subscription."
53+
- **Check cluster**: "Get information about cluster 'dev-kubernetes' in subscription 'dev-123'."
54+
- **Cluster status**: "What's the current status of my 'staging-aks' cluster?"
55+
- **View configuration**: "Show me the configuration for cluster 'web-app-cluster'."
56+
- **Cluster health**: "Get detailed health information for my 'ml-workload-aks' cluster."
57+
- **Node pool info**: "What are the node pool details for cluster 'analytics-cluster'?"
58+
59+
| Parameter | Required or optional | Description |
60+
|-----------|-------------|-------------|
61+
| **Name** | Required | The name of the AKS cluster to retrieve details for. |
62+
4663

4764
## Related content
4865

articles/azure-mcp-server/tools/azure-best-practices.md

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,20 @@ content_well_notification:
77
- AI-contribution
88
ai-usage: ai-assisted
99
ms.topic: reference
10-
ms.date: 07/22/2025
10+
ms.date: 08/05/2025
1111
author: diberry
1212
ms.author: diberry
1313
---
1414

1515
# Azure best practices tools
1616

17-
This article describes the best practices tools available in Azure MCP Server that provide guidance on Azure service usage, development, and deployment.
17+
This article describes the best practices tools in Azure MCP Server that provide guidance on Azure service usage, development, and deployment.
1818

19-
Azure best practices tools offer recommendations for Azure Functions development, deployment strategies, and Azure SDK implementation patterns to help you build robust, secure, and efficient Azure applications.
20-
21-
22-
## Azure Functions
23-
24-
## Get code generation best practices
25-
26-
<!-- azmcp bestpractices azurefunctions get-code-generation -->
27-
28-
Returns best practices for [Azure Functions](/azure/azure-functions/) code generation. Use this tool to get guidance on writing efficient and maintainable Azure Functions code.
29-
30-
Example prompts include:
31-
32-
- **General best practices**: "What are the best practices for Azure Functions code generation?"
33-
- **Show recommendations**: "Show me code generation best practices for Azure Functions."
34-
- **Development guidance**: "I need guidance on writing Azure Functions code, what should I follow?"
35-
- **Recommended patterns**: "What are the recommended patterns for Azure Functions development?"
36-
- **Efficient coding**: "Help me understand how to write efficient Azure Functions code."
37-
38-
### Get deployment best practices
39-
40-
<!-- azmcp bestpractices azurefunctions get-deployment -->
41-
42-
Returns best practices for Azure Functions deployment. Use this tool to get guidance on deploying Azure Functions applications efficiently and securely.
43-
44-
Example prompts include:
45-
46-
- **Deployment best practices**: "What are the best practices for deploying Azure Functions?"
47-
- **CI/CD setup**: "How should I set up CI/CD for my Azure Functions app?"
48-
- **Deployment recommendations**: "Show me deployment recommendations for Azure Functions."
49-
- **Production deployment**: "What's the best way to deploy Azure Functions to production?"
50-
- **Secure pipeline**: "I need guidance on setting up a secure deployment pipeline for Azure Functions."
51-
52-
53-
## Azure SDK
19+
Azure best practices tools offer recommendations for Azure service implementation patterns to help you build robust, secure, and efficient Azure applications.
5420

5521
## Get best practices
5622

57-
<!-- azmcp bestpractices general get -->
23+
<!-- azmcp bestpractices get -->
5824

5925
Returns best practices for secure, production-grade Azure SDK usage. Use this tool to get guidance on implementing Azure services in your applications.
6026

@@ -66,6 +32,10 @@ Example prompts include:
6632
- **Connection management**: "What's the recommended way to manage connections with Azure services?"
6733
- **Secure implementation**: "I need help implementing Azure services securely in my application"
6834

35+
| Parameter | Required or optional | Description |
36+
|-----------|-------------|-------------|
37+
| Resource | Required | The type of Azure resource to get best practices for. Options include: 'general' (general Azure best practices), 'azurefunctions' (Azure Functions specific best practices), or 'static-web-app' (Azure Static Web Apps specific best practices). |
38+
| Action | Required | The action to perform. Options include: 'all' (best practices for both code generation and deployment, only for static-web-app), 'code-generation' (best practices for code generation, for general and azurefunctions), or 'deployment' (best practices for deployment, for general and azurefunctions). |
6939

7040
## Related resources
7141

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

Lines changed: 63 additions & 7 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: 05/14/2025
7+
ms.date: 08/05/2025
88
content_well_notification:
99
- AI-contribution
1010
ai-usage: ai-assisted
@@ -13,15 +13,33 @@ ms.custom: build-2025
1313
---
1414
# Azure Storage tools for the Azure MCP Server
1515

16-
The Azure MCP Server allows you to manage Azure Storage resources, including storage accounts, containers, tables, and blobs with natural language prompts without having to remember specific command syntax.
16+
The Azure MCP Server enables you to manage Azure Storage resources, including storage accounts, containers, tables, and blobs with natural language prompts. You don't need to remember specific command syntax.
1717

1818
[Azure Storage](/azure/storage/common/storage-introduction) is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for various data objects in the cloud.
1919

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

22+
## Create directory
23+
24+
The Azure MCP Server can create directories in a Data Lake file system. This functionality helps you organize your hierarchical data structure in Azure Data Lake Storage by creating new folder paths as needed.
25+
26+
Example prompts include:
27+
28+
- **Create directory**: "Create a new directory called 'data/logs' in my 'analytics' file system in storage account 'mydatalake'."
29+
- **Make folder**: "Create folder 'archives/2024' in file system 'backup-data'"
30+
- **New directory**: "Make a directory 'processed/monthly' in my data lake file system"
31+
- **Create path**: "Create directory structure 'raw-data/sales/quarterly' in my file system"
32+
- **Make subdirectory**: "Create subdirectory 'temp/staging' in my 'workflow' file system"
33+
34+
| Parameter | Required or optional | Description |
35+
|-----------|-------------|-------------|
36+
| **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. |
37+
| **Account name** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
38+
| **Resource group** | Optional | The name of the resource group containing the resource. |
39+
2240
## Get container details
2341

24-
The Azure MCP Server can show detailed information about a specific container in a storage account. This information includes metadata, access policies, and other properties.
42+
The Azure MCP Server shows detailed information about a specific container in a storage account. This information includes metadata, access policies, and other properties.
2543

2644
Example prompts include:
2745

@@ -44,9 +62,9 @@ Example prompts include:
4462

4563
- **List accounts**: "Show me all storage accounts in my subscription."
4664
- **View accounts**: "What storage accounts do I have available?"
47-
- **Find accounts**: "List my storage accounts"
48-
- **Query accounts**: "Show all my storage resources"
49-
- **Check accounts**: "Storage accounts in subscription abc123"
65+
- **Find accounts**: "List my storage accounts."
66+
- **Query accounts**: "Show all my storage resources."
67+
- **Check accounts**: "Storage accounts in subscription abc123."
5068

5169
| Parameter | Required or optional | Description |
5270
|-----------|-------------|-------------|
@@ -70,7 +88,7 @@ Example prompts include:
7088

7189
## List container blobs
7290

73-
The Azure MCP Server can list all blobs in a container. This helps you manage the files stored in your blob storage.
91+
The Azure MCP Server can list all blobs in a container. This feature helps you manage the files stored in your blob storage.
7492

7593
Example prompts include:
7694

@@ -103,6 +121,44 @@ Example prompts include:
103121
| **Subscription** | Required | The Azure subscription ID or name. |
104122
| **Account name** | Required | The name of the Azure Storage account. |
105123

124+
## List file system paths
125+
126+
127+
The Azure MCP Server can list all paths (files and directories) in a Data Lake file system. This functionality helps you explore and manage your hierarchical data stored in Azure Data Lake Storage.
128+
129+
Example prompts include:
130+
131+
- **List paths**: "Show me all files and folders in the 'data' file system in my 'mydatalake' storage account."
132+
- **View paths**: "What paths are available in file system 'logs'?"
133+
- **Find paths**: "List all paths in my 'analytics' file system"
134+
- **Query paths**: "Show available files and directories in file system 'raw-data'"
135+
- **Check paths**: "Get all paths in my 'processed-data' file system"
136+
137+
| Parameter | Required or optional | Description |
138+
|-----------|-------------|-------------|
139+
| **File system name** | Required | The name of the Data Lake file system to access within the storage account. |
140+
| **Account name** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
141+
| **Resource group** | Optional | The name of the resource group containing the resource. |
142+
143+
## Set blob access tier in a batch
144+
145+
Azure MCP Server can set the access tier for multiple blobs in a single batch operation. This functionality efficiently changes the storage tier for multiple blobs simultaneously to optimize storage costs and access patterns based on your data usage needs.
146+
147+
Example prompts include:
148+
149+
- **Set tier for multiple blobs**: "Set the access tier to 'Cool' for files 'data1.csv' and 'data2.csv' in my 'analytics' container."
150+
- **Archive old files**: "Change the tier to 'Archive' for all backup files in container 'backups'"
151+
- **Optimize storage costs**: "Set tier to 'Hot' for frequently accessed files in my 'documents' container"
152+
- **Batch tier change**: "Move files to 'Cool' tier: 'log1.txt', 'log2.txt', 'log3.txt' in container 'logs'"
153+
- **Update access tier**: "Change access tier to 'Archive' for multiple files in my storage account"
154+
155+
| Parameter | Required or optional | Description |
156+
|-----------|-------------|-------------|
157+
| **Account** | Required | The name of the Azure Storage account. This name is unique to Azure (for example, 'mystorageaccount'). |
158+
| **Container** | Required | The name of the container to access within the storage account. |
159+
| **Tier** | Required | The access tier to set for the blobs. Valid values include Hot, Cool, Archive, and others depending on the storage account type. |
160+
| **Blob names** | Required | The names of the blobs to set the access tier for. Provide multiple blob names separated by spaces. Each blob name should be the full path within the container (for example, 'file1.txt' or 'folder/file2.txt'). |
161+
106162
## Related content
107163

108164
- [What are the Azure MCP Server tools?](index.md)

0 commit comments

Comments
 (0)