mcp-server-kubernetes
A community MCP server for Kubernetes, published on npm and run with npx, that drives a cluster through the locally installed kubectl and an optional Helm v3.
What it does
A community MCP server for Kubernetes, published on npm and run with npx, that drives a cluster through the locally installed kubectl and an optional Helm v3. It loads the kubeconfig from several possible sources and offers tools to get, describe, create, apply, patch, scale and delete resources, read logs, switch contexts, manage rollouts, port-forward, run any kubectl command, install or uninstall Helm charts, clean up failed pods and cordon or drain nodes. A non-destructive mode removes deletes, and secret values are masked in output. It runs over stdio, with an opt-in Streamable HTTP mode.
Capabilities
- Get, describe, create, apply, patch and delete resources
- Read pod logs and manage rollouts
- Install, upgrade and uninstall Helm charts
- Cordon, drain and uncordon nodes
- Port-forward to pods and services
About
- Publisher
- Flux159
- Tool
- Kubernetes
Install
- Run this to add it to Claude Code:
claude mcp add kubernetes -- npx mcp-server-kubernetes
From the project's documentation · Add to a config file with the config builder
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | Kubernetes | |
| Publisher | Flux159 | source |
| Official status | Community (not published by the tool's vendor) | source |
| Connection | Local (runs on your computer) | source |
| Can change data | Yes | source |
| Needs an API key or sign-in | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Claude Desktop, Cursor, Visual Studio Code, Codex | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Oct 26, 2026Version 4.2.31,611 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website npm: mcp-server-kubernetes |
Sources
- README (README.md)github.com/Flux159/mcp-server-kubernetes · Backs: AI clients, Can change data, Connection, Needs an API key or sign-inNov 12, 2026
- Licence file (LICENSE)github.com/Flux159/mcp-server-kubernetes · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/Flux159/mcp-server-kubernetes · Backs: Official status, PublisherNov 12, 2026
- npm package recordnpmjs.com/package/mcp-server-kubernetesNov 14, 2026
- GitHub repositorygithub.com/flux159/mcp-server-kubernetes · Backs: Activity, LicenceNov 10, 2026