aks-mcp
If you are the rightful owner of aks-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The AKS-MCP is a Model Context Protocol server that facilitates interaction between AI assistants and Azure Kubernetes Service clusters.
AKS-MCP
The AKS-MCP is a Model Context Protocol (MCP) server that enables AI assistants to interact with Azure Kubernetes Service (AKS) clusters. It serves as a bridge between AI tools (like GitHub Copilot, Claude, and other MCP-compatible AI assistants) and AKS, translating natural language requests into AKS operations and returning the results in a format the AI tools can understand.
It allows AI tools to:
- Operate (CRUD) AKS resources
- Retrieve details related to AKS clusters (VNets, Subnets, NSGs, Route Tables, etc.)
How it works
AKS-MCP connects to Azure using the Azure SDK and provides a set of tools that AI assistants can use to interact with AKS resources. It leverages the Model Context Protocol (MCP) to facilitate this communication, enabling AI tools to make API calls to Azure and interpret the responses.
How to install
Local
Configure your MCP servers in supported AI clients like GitHub Copilot, Claude, or other MCP-compatible clients:
{
"mcpServers": {
"aks": {
"command": "<path of binary aks-mcp>",
"args": [
"--transport", "stdio"
]
}
}
}
GitHub Copilot Configuration in VS Code
For GitHub Copilot in VS Code, configure the MCP server in your .vscode/mcp.json
file:
{
"servers": {
"aks-mcp-server": {
"type": "stdio",
"command": "<path of binary aks-mcp>",
"args": [
"--transport", "stdio"
]
}
}
}
Options
Command line arguments:
Usage of ./aks-mcp:
--access-level string Access level (readonly, readwrite, admin) (default "readonly")
--host string Host to listen for the server (only used with transport sse or streamable-http) (default "127.0.0.1")
--port int Port to listen for the server (only used with transport sse or streamable-http) (default 8000)
--timeout int Timeout for command execution in seconds, default is 600s (default 600)
--transport string Transport mechanism to use (stdio, sse or streamable-http) (default "stdio")
Environment variables:
- Standard Azure authentication environment variables are supported (
AZURE_TENANT_ID
,AZURE_CLIENT_ID
,AZURE_CLIENT_SECRET
,AZURE_SUBSCRIPTION_ID
)
Usage
Ask any questions about your AKS clusters in your AI client, for example:
List all my AKS clusters in my subscription xxx.
What is the network configuration of my AKS cluster?
Show me the network security groups associated with my cluster.
Available Tools
The AKS-MCP server provides the following tools for interacting with AKS clusters:
Cluster Tools
get_cluster_info
: Get detailed information about an AKS clusterlist_aks_clusters
: List all AKS clusters in a subscription and optional resource group
Network Tools
get_vnet_info
: Get information about the VNet used by the AKS clusterget_subnet_info
: Get information about the subnets used by the AKS clusterget_route_table_info
: Get information about the route tables used by the AKS clusterget_nsg_info
: Get information about the network security groups used by the AKS cluster
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.