# weibaohui/kom [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/weibaohui/kom  
**GitHub Stars:** 149  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/weibaohui-kom

## Description
/🏠 - Provides MCP multi-cluster Kubernetes management and operations. It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "kom": {
    "url": "http://IP:9096/sse"
  }
}
```

## Documentation

## What weibaohui/kom MCP server does

The weibaohui/kom MCP server connects MCP clients to Kubernetes management functions across registered clusters. Its documented tool set covers cluster listing, dynamic resources, Deployments, DaemonSets, Nodes, Events, IngressClasses, and Pods. Resource operations include listing, retrieval, description, deletion, annotation, labeling, and patching, with support for custom resource definitions alongside built-in Kubernetes types.

Workload and node operations go beyond basic CRUD. Deployment tools can scale, restart, stop, restore, pause, resume, and roll back rollouts, update image tags, inspect rollout status and history, and retrieve related events or HPA data. Node tools cover taints, scheduling state, draining, resource usage, IP usage, top-node results, and pod counts. Pod tools can execute commands, inspect events and linked services or ingress objects, list or delete files, and read runtime environment information.

The library also documents SQL-style Kubernetes resource queries, cross-namespace queries, optional query caching, and Prometheus queries against an in-cluster or external Prometheus service. These capabilities are relevant when an agent needs operational inspection rather than only direct API calls.

## How it works

Applications register Kubernetes clusters through the Go API. The README shows in-cluster registration and registration from a kubeconfig path with a caller-selected cluster ID. After initialization, the MCP server can be started from Go with `mcp.RunMCPServer`, using a server name, version, and port.

The weibaohui/kom MCP server supports two transport modes. A compiled local executable can be used through stdio, while the SSE mode exposes an endpoint at `/sse`; the example uses port 9096. Multiple clusters are registered within the same server, and tools accept cluster, namespace, resource type, and object identifiers where applicable.

## Setup and configuration

The project is written in Go and the README demonstrates importing `github.com/weibaohui/kom` and its callbacks package. The initialization callback is registered before clusters are configured. For external cluster access, `KUBECONFIG` can point to a kubeconfig file. If that variable is absent, the shown example falls back to the user’s `.kube/config` path; in-cluster registration is also demonstrated.

The documented source workflow builds an executable with `go build main.go`, then runs the resulting binary. MCP clients can connect by supplying the executable as a stdio command, or by configuring the SSE URL. The README specifically lists Cursor, Claude Desktop, and Windsurf as suitable MCP integrations, noting that Claude Desktop uses stdio in the described setup.

No standalone package-manager installation command for the MCP server is specified in the provided material. Deployment therefore requires building or embedding the Go project rather than assuming a published executable package.

## Tools and capabilities

- List registered Kubernetes clusters.
- Inspect, list, patch, label, annotate, and delete standard or custom resources.
- Scale, restart, stop, restore, pause, resume, and roll back Deployments.
- Cordon, uncordon, drain, taint, and inspect Nodes.
- Execute commands in Pods and manage files inside them.
- Query Pod events, linked Services, Ingresses, Endpoints, and environment data.
- Query Kubernetes resources with SQL-style expressions and retrieve Prometheus data.

## Limitations and notes

The weibaohui/kom MCP server performs Kubernetes operations using the credentials available to its process, so the reachable clusters and allowed actions depend on kubeconfig or in-cluster authorization. The provided material does not define a separate MCP API-key or OAuth flow. It also does not provide a prebuilt package-manager command or a hosted SSE service; the SSE address shown is produced by a locally built and started application.

The README contains a tool table documenting 59 MCP tools, while the shorter project description refers to nearly 50 built-in tools. The detailed table is the more specific count available in the supplied material.

_Full upstream README: https://allmcps.com/mcp/weibaohui-kom/readme_

