kube-mcp logo

kube-mcp

by orvice

kube-mcp is a Kubernetes MCP server that provides tools for managing and interacting with Kubernetes clusters. It supports listing various Kubernetes resources.

View on GitHub

Last updated: N/A

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:

| Command | Description | |---------|-------------| | k8s_list_pods | List pods in the specified namespace | | k8s_list_deployments | List deployments in the specified namespace | | k8s_list_ingresses | List ingresses in the specified namespace | | k8s_list_namespaces | List all namespaces in the cluster | | k8s_list_statefulsets | List 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": []
    }
  }
}