Kube MCP Server

Model Context Protocol server for Kubernetes cluster management

Local serverstdio

What is the Kube MCP MCP server?

Kube MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Model Context Protocol server for Kubernetes cluster management.

What you get

A Model Context Protocol (MCP) server for Kubernetes, supporting chunked HTTP streaming, advanced troubleshooting prompts, and full Kubernetes resource/tool coverage.

Setting it up

Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Configuration and credentials

You will need one environment variable: KUBECONFIG. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js v18+ (for local dev/build) - Docker (for containerization) - Access to a Kubernetes cluster (AKS, EKS, GKE, or local) - kubectl configured (for testing and kubeconfig management) ---

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the kube mcp mcp server does with a few real requests.

Choosing this one

This sits in the cloud and infrastructure group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by siddjoshi; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Kube MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Kube MCP MCP server

{
  "mcpServers": {
    "kube": {
      "command": "npx",
      "args": ["-y", "npm"],
      "env": {
        "KUBECONFIG": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js v18+ (for local dev/build) - Docker (for containerization) - Access to a Kubernetes cluster (AKS, EKS, GKE, or local) - kubectl configured (for testing and kubeconfig management) ---
VariableDescriptionRequired
KUBECONFIGConfiguration value read at startup.Optional

Frequently asked questions

It connects Kube MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Kube MCP directly.