Chapter 15 · Azure Diagnostics
Subchapter 15.21
troubleshooting/aks/references/aks-mcp.mdMarkdown2 KBView on GitHub
Use this reference when AKS-aware MCP tools are available in the client.
mcp_azure_mcp_aksmcp_azure_mcp_applens, mcp_azure_mcp_monitor, and mcp_azure_mcp_resourcehealthaz aks and kubectl only when required functionality is missing from MCPAfter selecting mcp_azure_mcp_aks, let the client enumerate the exact AKS-MCP tools it exposes and choose the smallest tool that fits the task.
Favor the obvious read paths first:
AKS-MCP is Azure CLI-backed. Expect service principal, workload identity, managed identity, or existing az login auth, usually keyed by AZURE_CLIENT_ID. If AZURE_SUBSCRIPTION_ID is set, expect the server to select that subscription after login.
Default to readonly. Only suggest readwrite or admin when the current diagnostic step truly requires it.
For detector-style workflows, use the cluster resource ID, keep the time window within the last 30 days, cap each run to 24 hours, and stay within the supported AKS detector categories.
If the client does not expose the AKS-MCP surface needed for a check, then fall back to:
az aks for Azure-side AKS operationskubectl for Kubernetes-side inspection