mcp-k8s-eye
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
mcp-k8s-eye is a tool that can manage kubernetes cluster and analyze workload status.
Features
Core Kubernetes Operations
- [x] Connect to a Kubernetes cluster
- [x] **Generic Kubernetes Resources** management capabilities
- Support all navtie resources: Pod, Deployment, Service, StatefulSet, Ingress...
- Support CustomResourceDefinition resources
- Operations include: list, get, create, update, delete
- [x] Pod management capabilities (exec, logs)
- [x] Deployment management capabilities (scale)
- [x] Describe Kubernetes resources
- [ ] Explain Kubernetes resources
Diagnostics
- [x] Pod diagnostics (analyze pod status, container status, pod resource utilization)
- [x] Service diagnostics (analyze service selector configuration, not ready endpoints, events)
- [x] Deployment diagnostics (analyze available replicas)
- [x] StatefulSet diagnostics (analyze statefulset service if exists, pvc if exists, available replicas)
- [x] CronJob diagnostics (analyze cronjob schedule, starting deadline, last schedule time)
- [x] Ingress diagnostics (analyze ingress class configuration, related services, tls secrets)
- [x] NetworkPolicy diagnostics (analyze networkpolicy configuration, affected pods)
- [x] ValidatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
- [x] MutatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
- [x] Node diagnostics (analyze node conditions)
- [ ] Cluster diagnostics and troubleshooting
Monitoring
- [x] Pod, Deployment, ReplicaSet, StatefulSet, DaemonSet workload resource usage (cpu, memory)
- [ ] Node capacity, utilization (cpu, memory)
- [ ] Cluster capacity, utilization (cpu, memory)
Advanced Features
- [x] Multiple transport protocols support (Stdio, SSE)
- [x] Support multiple AI Clients
Tools Usage
Resource Operation Tools
- resource_get: Get detailed resource information about a specific resource in a namespace
- resource_list: List detailed resource information about all resources in a namespace
- resource_create_or_update: Create or update a resource in a namespace
- resource_delete: Delete a resource in a namespace
- resource_describe: Describe a resource detailed information in a namespace
- deployment_scale: Scale a deployment in a namespace
- pod_exec: Execute a command in a pod in a namespace
- pod_logs: Get logs from a pod in a namespace
Diagnostics Tools
- pod_analyze: Diagnose all pods in a namespace
- deployment_analyze: Diagnose all deployments in a namespace
- statefulset_analyze: Diagnose all statefulsets in a namespace