MCP server · Cloud and DevOps
Kubernetes MCP server
Lets an assistant list, inspect and change Kubernetes and OpenShift resources, read pod logs, exec into pods and manage Helm releases.
- Maintainer
- The containers project
- Licence
- Apache-2.0
- Runs
- Locally (npx)
- Sign-in
- None
- Registry version
- 0.0.67 (updated 2026-09-18)
- Last activity
- 2026-10-13
Overview
What it does
The Kubernetes MCP Server is a native Go implementation that talks straight to the Kubernetes API server instead of wrapping kubectl or helm, so no other tools are needed. It reads your kubeconfig (or in-cluster configuration), picks up changes automatically and can work with several clusters at once. It ships as a single binary for Linux, macOS and Windows, and also as an npm package, a Python package and a container image.
Tools are organised into toolsets. The default config and core sets cover kubeconfig, generic CRUD on any resource, pods (list, get, delete, logs, top, exec, run), namespaces and events. Optional sets add Helm, Tekton, KubeVirt, Kiali, kcp, NetObserv and observability (Loki, Prometheus, Tempo). A TOML configuration file controls everything: read_only = true removes write tools, toolsets limits what loads, and denied_resources can hide kinds such as Secret. It works with OpenShift as well as upstream Kubernetes.
Tools
What the assistant can do
- Generic create, update, get, list and delete for any Kubernetes or OpenShift resource
- Pods: list, get, delete, logs, top, exec and run
- Namespaces, events and OpenShift projects
- View and manage the current kubeconfig
- Helm: install, list and uninstall releases (optional toolset)
- Tekton, KubeVirt, Kiali, kcp, NetObserv and observability toolsets (optional)
Install
Install Kubernetes MCP server in your app
You need:
- Node.js (for npx), or the native binary, or uv
- A kubeconfig with access to a Kubernetes or OpenShift cluster
Run in your project. --scope local keeps the servers private to you in this project; use user for every project.
claude mcp add --scope local kubernetes -- npx -y kubernetes-mcp-server@latest
claude mcp add --scope local kubernetes -- cmd /c npx -y 'kubernetes-mcp-server@latest'
Project root. Commit it to share the servers with your team; each person sets the variables in their own shell.
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}
- On native Windows (not WSL), the reference servers’ READMEs start npx through `cmd /c`: if a server won’t start, use "command": "cmd" with "args": ["/c", "npx", …].
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json (Settings → Developer → Edit Config). Restart Claude after saving.
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}
In your project, or ~/.cursor/mcp.json for every project.
{
"mcpServers": {
"kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}
In your workspace. VS Code asks for each secret the first time a server starts and stores it securely.
{
"servers": {
"kubernetes": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}
macOS/Linux: ~/.config/devin/mcp_config.json · Windows: %APPDATA%\devin\mcp_config.json. Read by the default Devin Local agent and by the legacy Cascade agent.
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"kubernetes-mcp-server@latest"
]
}
}
}
Want it alongside other servers? Open Kubernetes MCP Server in the MCP config generator and add the rest; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.
Before you install
- It acts with your kubeconfig credentials and can delete resources, exec into pods and install Helm charts.
- Set read_only = true in a TOML file passed with --config, and use denied_resources to block kinds such as Secret; the README points to a read-only ServiceAccount setup for production.
- A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.
Why it’s listed
Why we list it
A fast, dependency-free server with fine-grained toolsets and a documented read-only mode, released often.
Related
More MCP servers
- Cloudflare Documentation MCP ServerLets an assistant search the current Cloudflare developer documentation through a free hosted server that needs no sign-in.
- Vercel MCPLets an assistant search Vercel docs, manage projects and deployments, read runtime logs and query Web Analytics in your Vercel account.
- Netlify MCP ServerLets an assistant create, build, deploy and manage Netlify projects, environment variables, forms and extensions in plain language.
- Supabase MCP ServerLets an assistant manage Supabase projects: list tables, run SQL and migrations, read logs, deploy Edge Functions and search the docs.
- AWS Knowledge MCP ServerLets an assistant search and read current AWS documentation, check regional availability of services and load AWS agent skills.
- Azure MCP ServerLets an assistant work with more than 45 Azure services, from Storage and Key Vault to AKS, Cosmos DB and Monitor, using your Azure sign-in.
All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?