Mcp-kubernetes MCP Server

A Model Context Protocol server for Kubernetes. It lets an MCP-capable client (Claude Desktop, Claude Code, etc.) inspect and operate Kubernetes clusters across multiple contexts — with behaviour…

Local serverstdioMIT

What is the Mcp-kubernetes MCP Server?

mcp-kubernetes is an MCP project maintained in the dockndevai/mcp-kubernetes repository. The maintainer describes its purpose as “A Model Context Protocol server for Kubernetes. It lets an MCP-capable client (Claude Desktop, Claude Code, etc.) inspect and operate Kubernetes clusters across multiple contexts…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @dockndevai/mcp-kubernetes. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares KUBECONFIG_PATH, K8S_MODE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Mcp-kubernetes MCP Server

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-kubernetes"
      ],
      "env": {
        "KUBECONFIG_PATH": "/Users/you/.kube/config",
        "K8S_MODE": "read-only"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
KUBECONFIG_PATHDeclared in the maintainer’s client configuration.Check documentation
K8S_MODEDeclared in the maintainer’s client configuration.Check documentation