1. Conduid
  2. Cloud
  3. wenhuwang/mcp-k8s-eye
MCP server · Cloud

wenhuwang/mcp-k8s-eye

MCP Server for kubernetes management and diagnose your cluster and applications

Unclaimed Apache-2.0 last commit a year ago cloud
54Fair

Scored yesterday · breakdown

About wenhuwang/mcp-k8s-eye

wenhuwang/mcp-k8s-eye is an MCP server published by wenhuwang in the Cloud category: mCP Server for kubernetes management and diagnose your cluster and applications.

The repository has 29 stars and 13 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/wenhuwang/mcp-k8s-eye

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about wenhuwang/mcp-k8s-eye

Powered by Claude · Grounded in docs

I know everything about wenhuwang/mcp-k8s-eye. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.3.3v0.3.3 · 16 May 2025Full Changelog: https://github.com/wenhuwang/mcp-k8s-eye/compare/v0.3.2...v0.3.3
v0.3.2v0.3.2 · 28 Apr 2025Full Changelog: https://github.com/wenhuwang/mcp-k8s-eye/compare/v0.3.1...v0.3.2
v0.3.1v0.3.1 · 18 Apr 2025Full Changelog: https://github.com/wenhuwang/mcp-k8s-eye/compare/v0.2.1...v0.3.1
v0.2.1v0.2.1 · 9 Apr 2025Full Changelog: https://github.com/wenhuwang/mcp-k8s-eye/compare/v0.1.1...v0.2.1
v0.1.1v0.1.1 · 28 Mar 2025Full Changelog: https://github.com/wenhuwang/mcp-k8s-eye/compare/v0.1.0...v0.1.1

README

mcp-k8s-eye

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

Features

Core Kubernetes Operations

  • Connect to a Kubernetes cluster
  • Generic Kubernetes Resources management capabilities
    • Support all navtie resources: Pod, Deployment, Service, StatefulSet, Ingress...
    • Support CustomResourceDefinition resources
    • Operations include: list, get, create, update, delete
  • Pod management capabilities (exec, logs)
  • Deployment management capabilities (scale)
  • Describe Kubernetes resources
  • Explain Kubernetes resources

Diagnostics

  • Pod diagnostics (analyze pod status, container status, pod resource utilization)
  • Service diagnostics (analyze service selector configuration, not ready endpoints, events)
  • Deployment diagnostics (analyze available replicas)
  • StatefulSet diagnostics (analyze statefulset service if exists, pvc if exists, available replicas)
  • CronJob diagnostics (analyze cronjob schedule, starting deadline, last schedule time)
  • Ingress diagnostics (analyze ingress class configuration, related services, tls secrets)
  • NetworkPolicy diagnostics (analyze networkpolicy configuration, affected pods)
  • ValidatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
  • MutatingWebhook diagnostics (analyze webhook configuration, referenced services and pods)
  • Node diagnostics (analyze node conditions)
  • Cluster diagnostics and troubleshooting

Monitoring

  • Pod, Deployment, ReplicaSet, StatefulSet, DaemonSet workload resource usage (cpu, memory)
  • Node capacity, utilization (cpu, memory)
  • Cluster capacity, utilization (cpu, memory)

Advanced Features

  • Multiple transport protocols support (Stdio, SSE)
  • 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
  • mutatingwebhook_analyze: Diagnose all mutatingwebhooks
  • node_analyze: Diagnose all nodes in cluster

Monitoring Tools

  • workload_resource_usage: Get pod/deployment/replicaset/statefulset resource usage in a namepace (cpu, memory)

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

Stdio mode

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

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

SSE mode

  1. start your mcp sse server
  2. config your mcp server
{
  "mcpServers": {
    "k8s eye": {
      "url": "http://localhost:8080/sse",
      "env": {}
    }
  }
}

cursor tools

cursor tools

README fetched from the repository yesterday. The original is authoritative.

Questions

About wenhuwang/mcp-k8s-eye

How do I install wenhuwang/mcp-k8s-eye?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is wenhuwang/mcp-k8s-eye safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is wenhuwang/mcp-k8s-eye still maintained?

The last commit was a year ago and 3 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.