kubectl-mcp-server

kubectl-mcp-server

MCP.Pizza Chef: rohitg00

Once it is set up, you can ask questions like why a particular app keeps crashing, or which parts of your cluster are wasting money, and get an answer with the reasoning behind it instead of memorising command-line flags. It works with Claude Desktop, Cursor, VS Code, Windsurf, Goose, LibreChat and Roo Code. You need kubectl already working on your computer, and optional extras add live dashboards and in-cluster deployment.

Coding

Use This MCP server To

Find out why an app keeps crashing Deploy a new service by describing what I want Spot workloads wasting cluster resources and money Check which services cannot reach the database Review permissions and secrets across every namespace See a live dashboard of cluster health

README

kubectl-mcp-server logo
kubectl-mcp-server

Control your entire Kubernetes infrastructure through natural language conversations with AI.
Talk to your clusters like you talk to a DevOps expert. Debug crashed pods, optimize costs, deploy applications, audit security, manage Helm charts, and visualize dashboards, all through natural language.
Part of CNCF Landscape, Next to Terraform

kubectl-mcp-server FAQ

Which apps does this work in?
Claude Desktop, Cursor, VS Code, Windsurf, Goose, LibreChat and Roo Code are all listed as supported.
Do I need a key or a paid account?
No. It uses the Kubernetes access you already have on your own machine through kubectl.
Can I use this to fix a broken deployment?
Yes — it reads logs and events, explains the likely cause, and can apply the fix if you let it.
How hard is the setup?
You need kubectl already working plus Node or Python; after that it is one command and a short config block.
Is it safe to point this at a production cluster?
There is a non-destructive mode, permission checking and secret masking, but treat it like handing someone real cluster access.
Is it still maintained?
Yes. The project was updated in April 2026 and is listed in the CNCF Landscape.