Back to directory
KM

Kubernetes MCP Server

Manage and query Kubernetes clusters directly from your AI agent.
Last updated July 18, 2026
Cloud & InfrastructureLocal · stdioGo1.8k

Overview

A native Kubernetes MCP server (no kubectl dependency) that lets an agent list, inspect, and manage cluster resources — pods, deployments, services — using your existing kubeconfig, with configurable read-only or full-access modes.

Use cases

Ask an agent to list pods in a failing state across a namespace.
Inspect a deployment's configuration before making a change.
Scale a deployment or restart a pod through natural-language instructions.

Install

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

FAQ

No — it talks to the Kubernetes API directly using your kubeconfig, without shelling out to kubectl.