mcp-kubernetes MCP Server

The mcp-kubernetes is a Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub…

Local serverstdio

What is the mcp-kubernetes MCP Server?

mcp-kubernetes is an MCP project maintained in the azure/mcp-kubernetes repository. The maintainer describes its purpose as “The mcp-kubernetes is a Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using <path of binary 'mcp-kubernetes'>. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares KUBECONFIG. 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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Parameters- command: The full kubectl command to execute including 'kubectl' prefix (e.g., "kubectl get pods -n default", "kubectl apply -f deployment.yaml")
Examplesbash
operationThe operation to perform (get, describe, create, delete, apply, patch, replace, cordon, uncordon, drain, taint)
resourceThe resource type (e.g., pods, deployments, services, nodes) or empty for file-based operations
argsAdditional arguments like resource names, namespaces, and flags

How to install the mcp-kubernetes MCP Server

{
  "mcpServers": {
    "kubernetes": {
      "command": "<path of binary 'mcp-kubernetes'>",
      "args": [
        "--transport",
        "stdio"
      ],
      "env": {
        "KUBECONFIG": "<your-kubeconfig-path>"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
KUBECONFIGDeclared in the maintainer’s client configuration.Check documentation