Kubernetes Eye

Integrates with
Kubernetes, kubectl

mcp-k8s-eye

mcp-k8s-eye is a tool that can manage kubernetes cluster and analyze workload status.

Requirements

  • Go 1.23 or higher
  • kubectl configured

Installation

## clone the repository
git clone https://github.com/wenhuwang/mcp-k8s-eye.git
cd mcp-k8s-eye

## build the binary
go build -o mcp-k8s-eye

Usage

{
  "mcpServers": {
    "kubernetes": {
      "command": "YOUR mcp-k8s-eye PATH",
      "env": {
        "HOME": "USER HOME DIR"
      },
    }
  }
}

env.HOME is used to set the HOME directory for kubeconfig file.

cursor tools

cursor tools

Features

  • Connect to a Kubernetes cluster
  • Generic Kubernetes Resources management capabilities (list, get, delete)
  • Pod management capabilities (exec, logs)
  • Deployment management capabilities (scale)
  • Analyze pods
  • Analyze services
  • Analyze deployments
  • Analyze statefulsets
  • Analyze daemonsets
  • Analyze ingress
  • Analyze nodes
  • Analyze cluster