k8s-mcp-server
K8s-mcp-server is a secure server that allows AI assistants to execute Kubernetes commands.
K8s MCP Server is a Docker-based server implementing Anthropic's Model Context Protocol (MCP) that enables Claude to run Kubernetes CLI tools (kubectl, istioctl, helm, argocd) in a secure, containerized environment. It provides a bridge between language models and essential Kubernetes tools, facilitating cluster management, troubleshooting, and deployments. The server allows for seamless interaction with Kubernetes, enabling AI systems to assist users effectively in managing their clusters.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"k8s-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-k8s-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions