aks-mcp
Verified Safeby Azure
Overview
Enables AI assistants to interact with Azure Kubernetes Service (AKS) clusters by translating natural language requests into AKS operations.
Installation
docker run -i --rm ghcr.io/azure/aks-mcp:latest --transport stdioEnvironment Variables
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_FEDERATED_TOKEN_FILE
- AZURE_SUBSCRIPTION_ID
- AZURE_MANAGED_IDENTITY
- AKS_MCP_COLLECT_TELEMETRY
- APPLICATIONINSIGHTS_INSTRUMENTATION_KEY
- USE_LEGACY_TOOLS
- DISABLE_CACHE
Security Notes
The project demonstrates a strong focus on security, implementing three-tier access control (readonly, readwrite, admin), robust command injection protection using `shlex.Split` and explicit command validation (e.g., restricting binaries to `az`), and secure Azure authentication methods (Service Principal, Managed Identity, Federated Token) with strict path validation for sensitive files. It enforces read-only root filesystems and least-privilege RBAC in Kubernetes deployments via Helm charts. OAuth 2.1 integration with Azure AD includes PKCE, JWT validation, and configurable CORS/redirects. Telemetry includes an opt-out mechanism (`AKS_MCP_COLLECT_TELEMETRY=false`) and device ID hashing. A default Application Insights instrumentation key is present but is not a sensitive access credential and is overridable by an environment variable. While potential tainted input for subprocess launching is acknowledged (`#nosec G204`), the comprehensive validation logic in `azcli/executor.go` and `security/validator.go` is designed to mitigate this risk.
Similar Servers
kubernetes-mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to interact with Kubernetes and OpenShift clusters, enabling AI-driven cluster management and diagnosis.
gcloud-mcp
Enables AI assistants to interact with the Google Cloud environment using the gcloud CLI for natural language commands, workflow automation, and simplified cloud management.
mcp-for-argocd
Enables AI assistants to interact with Argo CD applications through natural language, streamlining DevOps tasks.
aws-mcp-server
The AWS MCP Server allows AI assistants to execute AWS CLI commands and access AWS environment context, providing a powerful interface for cloud management and automation.