alexei-led/k8s-mcp-server
K8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI systems to assist with cluster management, troubleshooting, and deployments
[](https://github.com/alexei-led/k8s-mcp-server/actions/workflows/ci.yml) [](https://github.com/alexei-led/k8s-mcp-server/actions/workflows/release.yml) [](https://codecov.io/gh/alexei-led/k8s-mcp-server) [](https://github.com/alexei-led/k8s-mcp-server/pkgs/container/k8s-mcp-server/versions) [](https://github.com/alexei-led/k8s-mcp-server/pkgs/container/k8s-mcp-server) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT)
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.
Session 1: Using k8s-mcp-server and Helm CLI to deploy a WordPress application in the claude-demo namespace, then intentionally breaking it by scaling the MariaDB StatefulSet to zero.
Session 2: Troubleshooting session where we use k8s-mcp-server to diagnose the broken WordPress site through kubectl commands, identify the missing database issue, and fix it by scaling up the StatefulSet and configuring ingress access..
[Demo](https://private-user-images.githubusercontent.com/1898375/428398164-5ddce5bc-ec92-459b-a506-5d4
Loading reviews...