Kubernetes MCP Server
Inspect and manage Kubernetes and OpenShift clusters from Claude using your kubeconfig.
Community, verifiedby Containers organization (Red Hat maintainers)Runs on your computerChecked October 18, 2026
This community Kubernetes MCP server talks to the Kubernetes API directly instead of wrapping kubectl, and it works with every cluster in your kubeconfig, including OpenShift. It ships as a single native binary plus npm, PyPI and container packages, with optional toolsets for Helm, Tekton, KubeVirt and observability.
Who it is for
- Platform and DevOps engineers
- Developers debugging apps on Kubernetes
- OpenShift users
Prompts to try
Once it is connected, ask in plain words. Claude decides when to use the server and asks before it changes anything important.
Which pods in the production namespace are crash-looping, and what do their last logs say?Scale the web deployment in staging to five replicas and confirm the new pods are ready.List the recent warning events in the payments namespace and explain what they mean.How to connect it
In Claude Code
claude mcp add --transport stdio kubernetes -- npx -y kubernetes-mcp-server@latest
In the Claude desktop app
Add this to claude_desktop_config.json, then restart the app:
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}Good to know
It uses your current kubeconfig; put read_only = true in a TOML file and pass it with --config for safe read-only access.
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 150 servers, and get the best new connectors each month.
How we checked it
Checked the containers/kubernetes-mcp-server repo (Apache-2.0, release v0.0.67, last commit 2026-10-17, created and led by a Red Hat engineer), the npm package kubernetes-mcp-server and the registry entry io.github.containers/kubernetes-mcp-server.
More cloud and devops servers
- Cloudflare API MCP ServerReach the whole Cloudflare API, from DNS to Workers, through one hosted server
- Sentry MCP ServerSearch Sentry errors, read stack traces and get AI root-cause analysis in Claude
- Netlify MCP ServerCreate, deploy and manage Netlify sites, forms, extensions and environment variables