监控 · 开发者工具

k8stools

benedatllc/k8stools

Kubernetes工具包,提供一组Kubernetes功能供代理使用,支持直接传递给代理或通过MCP服务器使用。专注于监控和根本原因分析用例,提供强类型和良好文档化的工具。

安装

pip install k8stools

客户端配置

{
  "mcpServers": {
    "k8stools-stdio": {
      "command": "${workspaceFolder}/.venv/bin/k8s-mcp-server"
    }
  }
}
分类
监控, 开发者工具
更新于
2026年10月6日

工具(40)

  • get_cluster_info

    which cluster the tools are answering from: kubeconfig context, API server URL and version, or the capture being replayed

  • get_namespaces

    get a list of namespaces, like kubectl get namespace

  • get_node_summaries

    get a list of nodes, like kubectl get nodes -o wide (includes capacity/allocatable/conditions/taints/labels)

  • get_pod_summaries

    get a list of pods, like kubectl get pods -o wide, with each pod's controlling owner (e.g.

  • get_pod_container_statuses

    return the status for each of the container in a pod

  • get_pod_events

    return the events for a pod

  • get_pod_spec

    retrieves the spec for a given pod

  • get_logs_for_pod_and_container

    retrieves logs from a pod and container (supports tail, since_seconds, and previous).

  • get_deployment_summaries

    get a list of deployments, like kubectl get deployments

  • get_replicaset_summaries

    get a deployment's replica sets with their revision numbers and images.

  • get_workload_history

    what changed in a Deployment, StatefulSet or DaemonSet, and when: each retained revision of its pod template compared with the one before (images, resources,…

  • get_service_summaries

    get a list of services, like kubectl get services (includes selector/labels/annotations)

  • get_configmap_summaries

    get a list of ConfigMaps, like kubectl get configmaps

  • get_configmap

    retrieve the full contents of a single ConfigMap

  • get_statefulset_summaries

    get a list of StatefulSets, like kubectl get statefulsets

  • get_daemonset_summaries

    get a list of DaemonSets, like kubectl get daemonsets -o wide (includes node selector and images)

  • get_cronjob_summaries

    get a list of CronJobs, like kubectl get cronjobs

  • get_job_summaries

    get a list of Jobs, like kubectl get jobs

  • get_logs_for_job

    retrieve logs from a Job's most-recent pod

  • get_logs_for_cronjob

    retrieve logs from a CronJob's most-recent run

  • get_pvc_summaries

    get a list of PersistentVolumeClaims, like kubectl get pvc (resolves mounting pods)

  • print_namespaces

  • print_node_summaries

  • print_pod_summaries

  • print_pod_container_statuses

  • print_pod_events

  • print_pod_spec

  • print_deployment_summaries

  • print_workload_history

  • print_service_summaries

  • print_configmap_summaries

  • print_configmap

  • print_statefulset_summaries

  • print_daemonset_summaries

  • print_cronjob_summaries

  • print_job_summaries

  • print_pvc_summaries

  • print_events

  • k8s-capture

    state options

  • Cluster-wide

    namespaces, nodes

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Cursor logo

Cursor

桌面端 · 免费增值 · Proprietary

首个代理式 IDE。Cursor 编辑器让开发者与 AI 的工作真正融合在一起,提供如魔法般的编码体验。

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

监控
MCP Grafana logo

MCP Grafana

grafana/mcp-grafana

612

Grafana MCP服务器提供对Grafana实例及其生态系统的访问,支持仪表盘搜索、数据源查询、事件管理等功能。

监控
Vite Plugin Vue MCP logo

Vite Plugin Vue MCP

webfansplz/vite-plugin-vue-mcp

407

Vite插件,为Vue应用提供MCP服务,支持组件树、状态、路由和Pinia的查看与编辑。

监控
api200 logo

api200

API-200/api200

169

API 200是一个开源API集成平台,提供第三方API的快速接入和管理功能,包含自动生成代码、文档、认证、缓存和错误处理等特性,支持自托管部署和MCP服务。

监控
WireMCP (Wireshark) logo

WireMCP (Wireshark)

0xkoda/wiremcp

98

WireMCP是一个为大型语言模型(LLM)提供实时网络流量分析能力的MCP服务器,通过Wireshark工具捕获和处理网络数据,支持威胁检测、网络诊断和异常分析。

监控
gospy logo

gospy

monsterxx03/gospy

90

Go进程检查工具,提供goroutine状态、内存统计和二进制信息分析,支持终端UI和HTTP API

监控