WM

wenhuwang/mcp-k8s-eye

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

29 stars 13 forks 质量 55 趋势 11Apache-2.0

MCP 磁共振 用于 kubernetes 管理和诊断您的集群和应用的服务器

概览

mcp-k8s-eye是一个可以管理kubernetes集群并分析工作量状况的工具. - [x] 连接到Kubernetes集群 - [x] 管理能力 - 支持所有导航资源:Pod,部署,服务,StatefulSet,入侵... - 支持自定义资源 - 操作包括:列表,获取,创建,更新,删除 - [x] 方案管理能力(执行、记录) -- -- [x] 部署管理能力(规模) -- -- [x] 描述库伯涅茨资源 -- -- 解释库伯涅茨资源 - [x] Pod诊断(分析吊舱状态、容器状态、吊舱资源利用率) -- -- [x] 服务诊断(分析服务选择器配置,不准备终点,事件) - [x] 部署诊断(分析现有复制品) - [x] statefulSet诊断(如果存在分析状态服务,如果存在pvc,可用的复制品) - [x] CronJob诊断(分析 cronjob 时间表,起始期限,最后一个时间表时间) - [x] 入侵诊断(分析入侵类.

概述(AI 翻译)

□ mcp-k8s-eye (英语).

mcp-k8s-eye是一个可以管理kubernetes集群并分析工作量状况的工具.

□ 特性

核心Kubernetes业务

  • [x] 连接到Kubernetes集群 资源**管理能力
  • 支持所有航海资源:波德、部署、服务、国家、入侵…
  • 支持自定义资源
  • 操作包括:列表、获取、创建、更新、删除
  • [x] 波德管理能力(执行、记录)
  • [x] 部署管理能力(规模)
  • [x] 描述Kubernetes的资源
  • [ 解释库伯涅斯资源

诊断

  • [x] Pod诊断(分析吊舱状态、集装箱状态、吊舱资源的利用)
  • [x] 服务诊断(分析服务选择器配置,不准备终点,事件)
  • [x] 部署诊断(分析现有复制品)
  • [x] 国有Set诊断(如果有分析状态服务,如果有pvc,可以复制)
  • [x] CronJob诊断(分析 cronjob 时间表,起始期限,最后一个时间表时间)
  • [x] 入侵诊断(分析入侵类配置、相关服务、秘密)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

mcp-k8s-eye

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
  • service_analyze: Diagnose all services in a namespace
  • cronjob_analyze: Diagnose all cronjobs in a namespace
  • ingress_analyze: Diagnose all ingresses in a namespace
  • networkpolicy_analyze: Diagnose all networkpolicies in a namespace
  • validatingwebhook_analyze: Diagnose all validatingwebhooks
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →