kube-mcp

kube-mcp

1

kube-mcp is a Kubernetes MCP server designed to help manage and interact with Kubernetes clusters by providing various management tools. It supports commands to list various Kubernetes resources and is easily installed with Go.

kube-mcp

Overview

kube-mcp is a Kubernetes MCP server that provides a set of tools for managing and interacting with Kubernetes clusters.

Supported Commands

The following tool commands are supported by kube-mcp:

CommandDescription
k8s_list_podsList pods in the specified namespace
k8s_list_deploymentsList deployments in the specified namespace
k8s_list_ingressesList ingresses in the specified namespace
k8s_list_namespacesList all namespaces in the cluster
k8s_list_statefulsetsList StatefulSets in the specified namespace

Install

go install github.com/orvice/kube-mcp/cmd/kubemcp@latest

Usage

{
  "mcpServers": {
    "kube-mcp": {
      "command": "kubemcp",
      "args": [],
      "env": {
        "KUBECONFIG": "~/.kube/.kubeconfig"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}