Skip to content

mcp-server-kubernetes

MIT★ 1.6kupdated 13 Nov 2026

MCP Server for kubernetes management commands

What can you do with mcp-server-kubernetes?

  • [x] Connect to a Kubernetes cluster
  • [x] Unified kubectl API for managing resources
  • Get or list resources with kubectlget`
  • Describe resources with kubectldescribe`
  • List resources with kubectlget`
  • Create resources with kubectlcreate`
  • Apply YAML manifests with kubectlapply`
  • Delete resources with kubectldelete`

Features as listed in the project's README, checked 16 Nov 2026.

About mcp-server-kubernetes

MCP Server that can connect to a Kubernetes cluster and manage it. Supports loading kubeconfig from multiple sources in priority order. https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed

Opening text of the project's README, checked 16 Nov 2026.

Install

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

Config as documented in its source, checked 16 Nov 2026. Placeholders such as API keys are the project's own: replace them with your values.

Requirements listed

  • kubectl installed and in your PATH
  • A valid kubeconfig file with contexts configured
  • Access to a Kubernetes cluster configured for kubectl (e.g. minikube, Rancher Desktop, GKE, etc.)
  • Helm v3 installed and in your PATH (no Tiller required). Optional if you don't plan to use Helm.

Tools (24)

kubectl_get
kubectl_describe
kubectl_create
kubectl_apply
kubectl_deleteDeleting any Kubernetes resources
kubectl_logs
kubectl_context
explain_resource
list_api_resources
kubectl_scale
kubectl_patch
kubectl_rollout
kubectl_genericGeneral kubectl command access (may include destructive operations)
ping
port_forward
stop_port_forward
install_helm_chart
upgrade_helm_chart
uninstall_helm_chartUninstalling Helm charts
helm_template_apply
helm_template_uninstall
cleanup_podsCleaning up problematic pods
node_managementNode management operations (can drain nodes)
exec_in_podArbitrary command execution inside a pod (can read service-account tokens and change state)

Tool names from the README, checked 16 Nov 2026.

mcp-server-kubernetes compared with other Kubernetes servers

ServerLicenceToolsLast commitStars
mcp-server-kubernetesMIT2413 Nov 20261,612
kubernetes-mcp-serverApache-2.07814 Nov 20262,250

Every value is a checked fact on that server's own page. This is a comparison of facts, not a ranking.

Verified facts

Maintainer
Flux159

Source · checked 16 Nov 2026

Licence
MIT

Source · checked 16 Nov 2026

Setup documented for
  • Claude Code
  • Claude Desktop
  • Cursor
  • VS Code
  • Codex

Source · checked 16 Nov 2026

Repository
github.com/Flux159/mcp-server-kubernetes

Source · checked 16 Nov 2026

Last commit
13 Nov 2026

Source · checked 16 Nov 2026

GitHub stars
1,612

Source · checked 16 Nov 2026

Open issues
12

Source · checked 16 Nov 2026

Each value links to where it was found and shows the date it was checked. How we verify

Frequently asked questions

What does mcp-server-kubernetes do?

MCP Server for kubernetes management commands

Which MCP clients does mcp-server-kubernetes document setup for?

Its README documents setup for Claude Code, Claude Desktop, Cursor, VS Code, Codex.

How do I install mcp-server-kubernetes?

Add the install config shown on this page to your MCP client's configuration. Check the README for client-specific steps.

What licence is mcp-server-kubernetes under?

MIT, as reported by the repository on 16 Nov 2026.

Is mcp-server-kubernetes still maintained?

The last commit was on 13 Nov 2026, and the repository had 12 open issues.

What tools does mcp-server-kubernetes expose?

24 tools: kubectl_get, kubectl_describe, kubectl_create, kubectl_apply, kubectl_delete, kubectl_logs, kubectl_context, explain_resource, list_api_resources, kubectl_scale, kubectl_patch, kubectl_rollout, and more.

More Kubernetes MCP servers