From fe889f1cba4320c5e0493318c7a1556cc7be0d31 Mon Sep 17 00:00:00 2001 From: luohui1 <3053763193@qq.com> Date: Sun, 14 Jun 2026 12:06:31 +0800 Subject: [PATCH 1/4] docs: list advisor apply resource values --- .../Azure.Mcp.Server/docs/azmcp-commands.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/servers/Azure.Mcp.Server/docs/azmcp-commands.md b/servers/Azure.Mcp.Server/docs/azmcp-commands.md index 61e22ff49f..5e84322226 100644 --- a/servers/Azure.Mcp.Server/docs/azmcp-commands.md +++ b/servers/Azure.Mcp.Server/docs/azmcp-commands.md @@ -326,6 +326,34 @@ azmcp server info ### Azure Advisor Operations + + + + + +The `--resource` parameter for `azmcp advisor recommendation apply` accepts the following values: + +- `aad_domainservices` +- `apimanagement_service` +- `cognitiveservices_accounts` +- `compute_virtualmachines` +- `compute_virtualmachinescalesets` +- `containerregistry_registries` +- `containerservice_managedclusters` +- `dbforpostgresql_flexibleservers` +- `documentdb_databaseaccounts` +- `keyvault_vaults` +- `kubernetes_connectedclusters` +- `kubernetesconfiguration_extensions` +- `netapp_volumes` +- `network_applicationgatewaywebapplicationfirewallpolicies` +- `network_expressrouteports` +- `network_frontdoorwebapplicationfirewallpolicies` +- `sql_managedinstances` +- `storage_storageaccounts` +- `web_serverfarms` +- `web_staticsites` + ```bash # List Advisor recommendations in a subscription # ❌ Destructive | ✅ Idempotent | ❌ OpenWorld | ✅ ReadOnly | ❌ Secret | ❌ LocalRequired From c16967393667ae7faab9e7a19f5ae7ad0a765103 Mon Sep 17 00:00:00 2001 From: LuoHui1 <3053763193@qq.com> Date: Mon, 22 Jun 2026 16:14:10 +0800 Subject: [PATCH 2/4] docs: link advisor resources source --- servers/Azure.Mcp.Server/docs/azmcp-commands.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/Azure.Mcp.Server/docs/azmcp-commands.md b/servers/Azure.Mcp.Server/docs/azmcp-commands.md index 5e84322226..50efddccf0 100644 --- a/servers/Azure.Mcp.Server/docs/azmcp-commands.md +++ b/servers/Azure.Mcp.Server/docs/azmcp-commands.md @@ -331,7 +331,8 @@ azmcp server info -The `--resource` parameter for `azmcp advisor recommendation apply` accepts the following values: +The `--resource` parameter for `azmcp advisor recommendation apply` accepts the following values. +This list is derived from the Advisor recommendation rule resource files in [`tools/Azure.Mcp.Tools.Advisor/src/Resources`](../../../tools/Azure.Mcp.Tools.Advisor/src/Resources); update that source directory and refresh this section when supported resources change: - `aad_domainservices` - `apimanagement_service` @@ -4674,3 +4675,5 @@ The CLI returns structured JSON responses for errors, including: - Service availability issues - Authentication errors + + From 2a0495befd31cb3cb00c329657ac2c9337f0319d Mon Sep 17 00:00:00 2001 From: LuoHui1 <3053763193@qq.com> Date: Mon, 22 Jun 2026 17:09:47 +0800 Subject: [PATCH 3/4] docs: use absolute advisor resources link --- servers/Azure.Mcp.Server/docs/azmcp-commands.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/Azure.Mcp.Server/docs/azmcp-commands.md b/servers/Azure.Mcp.Server/docs/azmcp-commands.md index 50efddccf0..19c226137e 100644 --- a/servers/Azure.Mcp.Server/docs/azmcp-commands.md +++ b/servers/Azure.Mcp.Server/docs/azmcp-commands.md @@ -332,7 +332,7 @@ azmcp server info The `--resource` parameter for `azmcp advisor recommendation apply` accepts the following values. -This list is derived from the Advisor recommendation rule resource files in [`tools/Azure.Mcp.Tools.Advisor/src/Resources`](../../../tools/Azure.Mcp.Tools.Advisor/src/Resources); update that source directory and refresh this section when supported resources change: +This list is derived from the Advisor recommendation rule resource files in [`tools/Azure.Mcp.Tools.Advisor/src/Resources`](https://github.com/microsoft/mcp/tree/main/tools/Azure.Mcp.Tools.Advisor/src/Resources); update that source directory and refresh this section when supported resources change: - `aad_domainservices` - `apimanagement_service` @@ -4675,5 +4675,4 @@ The CLI returns structured JSON responses for errors, including: - Service availability issues - Authentication errors - - + From 95f30f27e9a1b99d8e6944a7124db18bbd239992 Mon Sep 17 00:00:00 2001 From: LuoHui1 <3053763193@qq.com> Date: Mon, 22 Jun 2026 17:10:57 +0800 Subject: [PATCH 4/4] docs: trim advisor command docs eof whitespace --- servers/Azure.Mcp.Server/docs/azmcp-commands.md | 1 - 1 file changed, 1 deletion(-) diff --git a/servers/Azure.Mcp.Server/docs/azmcp-commands.md b/servers/Azure.Mcp.Server/docs/azmcp-commands.md index 19c226137e..33931196aa 100644 --- a/servers/Azure.Mcp.Server/docs/azmcp-commands.md +++ b/servers/Azure.Mcp.Server/docs/azmcp-commands.md @@ -4675,4 +4675,3 @@ The CLI returns structured JSON responses for errors, including: - Service availability issues - Authentication errors -