mcp-k8s-eye logo

mcp-k8s-eye

by wenhuwang

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

View on GitHub

Last updated: N/A

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

cursor tools

Features

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