Servers › Cloud & DevOps › Kubernetes & OpenShift

● MaintainedCloud & DevOps

Kubernetes & OpenShift MCP Server

Kubernetes and OpenShift MCP server from the containers project. It's written in Go and talks to the Kubernetes API directly instead of wrapping kubectl. Tools cover pods (logs, exec, top), create/read/update/delete for any resource, namespaces, events and Helm, plus optional toolsets such as KubeVirt and Tekton. It uses your kubeconfig and can work with several clusters. Settings like read_only and toolsets live in a TOML config file; since the 0.1 releases they are no longer command-line flags. Version 0.1.3 (Nov 13, 2026) adds an opt_in_tools config setting and lets resources_create_or_update take a namespace, like kubectl apply -n.

Install

npx -y kubernetes-mcp-server@latest

Source: official setup docs

Example config (Cursor / Claude Desktop)

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "-y",
        "kubernetes-mcp-server@latest"
      ]
    }
  }
}

The same mcpServers block works in Cursor, Claude Desktop and Devin Desktop. VS Code (Copilot) uses a "type" field, Claude Code is easiest with claude mcp add, and Codex uses TOML: see the setup guide for your app. On Windows, wrap npx with cmd /c (fix).

At a glance

Repositorycontainers/kubernetes-mcp-server
GitHub stars2,293
Last commit2026-11-30 (today)
Statusmaintained
Security advisoriesLatest advisory published 2026-11-04: GHSA-xq9m-mrj7-jv98 (medium), fixed in 0.1.2. 1 published advisory found as of 2026-11-30. Details
Clients mentioned in READMEClaude Desktop, Claude Code, Cursor, VS Code
AuthYour kubeconfig credentials
Language / LicenseGo / Apache-2.0
Official MCP registryListed ✓

Security advisories

Latest: GHSA-xq9m-mrj7-jv98, published 2026-11-04 medium
Kiali Toolset Status Probes can leak Bearer Token
Fixed in: 0.1.2 or later. Update before using it.

Checked 2026-11-30 in the repo's GitHub security advisories and OSV.dev for kubernetes-mcp-server (npm), github.com/containers/kubernetes-mcp-server (Go). No advisory doesn't prove a server is safe. How to stay updated.

Common problems

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.