mcp-server-kubernetes
Manage Kubernetes clusters through MCP-capable AI clients via kubectl and Helm.
Install
See setup instructions on www.npmjs.comWhat it does
This MCP server exposes Kubernetes cluster operations as tools that AI clients can invoke. Through a unified kubectl wrapper it can get, describe, create, apply, patch, delete, scale, and roll out resources, fetch logs, switch contexts, explain API resources, forward ports, and run generic kubectl commands. It also supports Helm chart install, upgrade, uninstall, and template-based apply, plus pod cleanup and node cordon, drain, and uncordon operations. A diagnostics prompt walks through troubleshooting pods by keyword and optional namespace.
It is aimed at developers and operators who want an assistant to inspect or modify clusters without leaving their chat client. It runs over stdio with npx, and the README documents setup for Claude Code, Codex, Claude Desktop (including an mcpb extension), VS Code, Cursor, and Muse Code; a Streamable HTTP option serves /mcp on port 3000 when explicitly enabled.
Limitations to note:
- kubectl must be on PATH, with a valid kubeconfig and reachable cluster; Helm v3 is needed only for chart operations.
- GUI clients on macOS may not inherit shell PATH, so kubectl location must be set explicitly.
- Secrets masking covers get-secrets output but not logs.
- A non-destructive mode disables destructive tools.
- OpenTelemetry tracing is opt-in.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 1,614
- Last push
- Nov 18, 2026
- License
- MIT
- Archived
- No
Other Kubernetes MCP servers
Compare serversFAQ
- What license does mcp-server-kubernetes use?
- MIT
- Does mcp-server-kubernetes run locally or remotely?
- It runs locally.
- Is mcp-server-kubernetes an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/mcp-server-kubernetes"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.