weibaohui/kom
RepositoryFree** Provides multi-cluster Kubernetes management and operations using MCP, 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.
Capabilities12 decomposed
multi-cluster kubernetes registration and unified access
Medium confidenceRegisters multiple Kubernetes clusters into a centralized ClusterInstances registry, automatically initializing client connections, dynamic clients, API resource caches, and connection pools for each cluster. Uses a fluent builder pattern to register clusters via kubeconfig paths, in-cluster service accounts, or raw REST configs, enabling subsequent operations to target specific clusters by identifier without re-authentication or re-initialization.
Automatically initializes both typed (clientset) and dynamic (unstructured) Kubernetes clients on registration, plus discovery caching, eliminating boilerplate client setup code that typically requires 50+ lines per cluster in raw client-go applications
Simpler than managing raw client-go connections for each cluster because registration is one-line and handles all client initialization; more lightweight than full cluster management platforms (Rancher, Tanzu) for programmatic SDK use
fluent chainable api for kubernetes resource crud operations
Medium confidenceProvides a fluent, method-chaining syntax for Create, Read, Update, Delete operations on Kubernetes resources (native and CRD) using a statement builder pattern. Operations are composed via chained method calls (e.g., `kom.Cluster(id).Namespace(ns).Resource(kind).List()`) that construct a query statement, then execute against the Kubernetes API via dynamic client or typed client, with support for field selectors, label selectors, and pagination.
Implements a statement builder pattern that defers API execution until a terminal operation is called (List, Get, Create, Update, Delete), allowing complex queries to be composed without intermediate API calls; supports both typed and dynamic clients transparently based on resource kind
More readable and less error-prone than raw client-go code (which requires manual clientset/dynamic client selection and error handling at each step); less verbose than kubectl apply/delete commands when embedded in Go applications
configurable query result caching with ttl-based invalidation
Medium confidenceImplements an optional caching layer for Kubernetes resource queries (list, get operations) with configurable time-to-live (TTL) per query type or globally. Cache keys are derived from query parameters (cluster, namespace, resource kind, selectors), and cached results are automatically invalidated after TTL expires or on explicit cache clear. Reduces API server load for repeated queries without sacrificing freshness.
Provides a simple TTL-based caching layer that integrates transparently with fluent API queries, reducing API server load without requiring explicit cache management; cache keys are automatically derived from query parameters
Simpler than implementing custom caching logic because it's built-in; more efficient than repeated API calls for read-heavy workloads
multi-transport mcp server with sse and stdio support
Medium confidenceImplements an MCP server that can operate in two transport modes: Server-Sent Events (SSE) for HTTP-based clients and stdio for process-based clients (Claude, local tools). Server handles protocol negotiation, request routing, and response serialization transparently, enabling the same Kom tools to be accessed via different transport mechanisms without code duplication.
Implements a dual-transport MCP server that supports both SSE (HTTP) and stdio (process) without code duplication, enabling flexible deployment options for different client types
More flexible than single-transport servers because it supports both local (stdio) and remote (SSE) clients; simpler than building separate servers for each transport
sql-like resource querying with kubernetes resource filtering
Medium confidenceTranslates SQL-like SELECT statements into Kubernetes API queries, parsing SQL syntax (SELECT, FROM, WHERE, ORDER BY, LIMIT) and converting WHERE clauses into label selectors and field selectors that execute against the Kubernetes API. Supports filtering by resource type, namespace, labels, fields, and result ordering/pagination, enabling non-Go developers or scripts to query clusters without learning client-go or fluent API syntax.
Implements a custom SQL parser that translates SELECT/WHERE/ORDER BY/LIMIT syntax directly into Kubernetes label selectors and field selectors, bridging the gap between SQL familiarity and Kubernetes API constraints without requiring users to learn selector syntax
More intuitive than kubectl with complex selectors (e.g., `kubectl get pods -l app=myapp --field-selector=status.phase=Running`) because SQL syntax is more familiar; enables non-Kubernetes experts to query clusters without learning kubectl or client-go
specialized pod operations (exec, logs, port-forward, file transfer)
Medium confidenceProvides high-level controllers for common Pod operations including remote command execution (exec), log streaming, port forwarding, and file upload/download. Wraps kubectl exec/logs/port-forward functionality via client-go's remotecommand and streaming APIs, handling stream setup, error handling, and cleanup automatically without requiring users to manage raw WebSocket or SPDY connections.
Abstracts away the complexity of client-go's remotecommand.Executor and streaming APIs, which typically require 30+ lines of boilerplate per operation; provides a simple method-based interface that handles stream negotiation, error handling, and cleanup automatically
Simpler than raw kubectl exec/logs commands in shell scripts because it's embedded in Go with proper error handling; more reliable than shelling out to kubectl because it uses native client-go APIs without subprocess overhead
deployment and rollout management with status tracking
Medium confidenceProvides controllers for Deployment lifecycle operations including rolling updates, rollback, status monitoring, and replica scaling. Tracks rollout progress by polling Deployment status (replicas ready, updated, available) and ReplicaSet history, enabling programmatic wait-for-rollout patterns and automatic rollback on failure detection without manual kubectl rollout commands.
Implements a polling-based rollout tracker that monitors Deployment status fields (replicas ready, updated, available) and ReplicaSet history, providing a synchronous wait-for-rollout API that abstracts away the complexity of watching multiple resource types and correlating their states
More reliable than shell scripts using `kubectl rollout status` because it's embedded in Go with proper error handling and timeout management; more flexible than Helm hooks because it's decoupled from package management and can be used in any deployment workflow
node operations and cluster topology inspection
Medium confidenceProvides controllers for Node-level operations including node cordoning/uncordoning, draining, and topology inspection (labels, taints, capacity, allocatable resources). Enables programmatic node lifecycle management for cluster maintenance, autoscaling, or infrastructure changes without kubectl drain/cordon commands, with built-in pod eviction handling and grace period management.
Abstracts kubectl drain/cordon operations into a programmatic API with built-in PodDisruptionBudget awareness and graceful eviction handling, eliminating the need to shell out to kubectl or manually manage pod eviction logic
More reliable than shell scripts using `kubectl drain` because it handles pod eviction errors and grace periods natively; more flexible than cluster autoscaler because it's decoupled from scaling decisions and can be used in custom maintenance workflows
custom resource definition (crd) operations with dynamic schema support
Medium confidenceExtends fluent API and CRUD operations to work with Custom Resource Definitions (CRDs) transparently, using dynamic client to handle arbitrary CRD schemas without pre-generated typed clients. Automatically discovers CRD API groups and versions via Kubernetes discovery API, enabling list, get, create, update, delete operations on any CRD without code generation or schema knowledge.
Uses Kubernetes discovery API to automatically detect CRD schemas at runtime, enabling fluent API operations on any CRD without code generation or pre-built typed clients; transparently handles API group/version resolution via discovery cache
Eliminates the need for client-go code generation per CRD, which typically requires 100+ lines of generated code per CRD; more flexible than typed clients because new CRDs can be managed without recompilation
yaml-based resource apply and delete with declarative management
Medium confidenceApplies or deletes Kubernetes resources from YAML manifests using server-side apply semantics (kubectl apply equivalent), parsing YAML into unstructured objects and submitting them to the Kubernetes API with field ownership tracking. Supports multi-document YAML files, variable substitution, and cascading deletes with configurable deletion policies.
Implements server-side apply semantics with field ownership tracking, matching kubectl apply behavior and enabling safe concurrent updates without client-side merge conflicts; supports multi-document YAML parsing and variable substitution in a single operation
More reliable than shell scripts using `kubectl apply -f` because it's embedded in Go with proper error handling; supports programmatic variable substitution without external templating tools
pre/post-operation callback hooks for custom business logic
Medium confidenceProvides a callback system that executes custom hooks before and after resource operations (CRUD, pod operations, deployments), enabling extension points for logging, validation, audit trails, or custom side effects. Callbacks are registered per operation type and receive operation context (cluster, resource, action) and can modify behavior or trigger external integrations.
Implements a simple pre/post callback pattern that integrates with all Kom operations (CRUD, pod operations, deployments) without requiring subclassing or middleware layers; callbacks receive full operation context and can trigger external integrations
Simpler than Kubernetes admission webhooks because callbacks are in-process and don't require webhook infrastructure; more flexible than static policies because callbacks can implement arbitrary logic
mcp server exposure of kom tools via sse or stdio protocols
Medium confidenceExposes Kom functionality as an MCP (Model Context Protocol) server that implements ~50 built-in tools covering common DevOps operations (list pods, get logs, exec, deploy, scale, etc.). Server supports both Server-Sent Events (SSE) and stdio transports, enabling integration with AI agents, Claude, or other MCP clients without requiring direct Go SDK usage.
Implements a comprehensive MCP server that exposes ~50 Kom operations as tools, enabling AI agents to manage Kubernetes clusters without requiring direct SDK usage; supports both SSE and stdio transports for flexible client integration
Enables AI-powered Kubernetes management without custom tool development; more flexible than kubectl plugins because it's protocol-based and can integrate with any MCP client (Claude, custom agents, etc.)
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with weibaohui/kom, ranked by overlap. Discovered automatically through the match graph.
MKP
** - Model Kontext Protocol Server for Kubernetes that allows LLM-powered applications to interact with Kubernetes clusters through native Go implementation with direct API integration and comprehensive resource management.
weibaohui/k8m
** Provides multi-cluster Kubernetes management and operations using MCP, featuring a management interface, logging, and nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
Kubernetes
** - Connect to Kubernetes cluster and manage pods, deployments, services.
kubernetes-mcp-server
Model Context Protocol (MCP) server for Kubernetes and OpenShift
ChatGPT Code Review
[Kubernetes and Prometheus ChatGPT Bot](https://github.com/robusta-dev/kubernetes-chatgpt-bot)
PublicAI
Revolutionize Web3 data management with AI-driven, secure blockchain...
Best For
- ✓DevOps teams managing multi-cluster deployments (dev/staging/prod)
- ✓Platform engineers building internal Kubernetes management tools
- ✓Go developers building cluster-agnostic automation frameworks
- ✓Go developers building Kubernetes automation scripts and operators
- ✓Teams migrating from kubectl imperative commands to programmatic APIs
- ✓Developers who prefer fluent/builder patterns over verbose client-go syntax
- ✓Dashboard or monitoring applications that query the same resources repeatedly
- ✓High-frequency polling scenarios where stale data is acceptable
Known Limitations
- ⚠Cluster registry is in-memory only — no built-in persistence across application restarts
- ⚠No automatic cluster health monitoring or failover between registered clusters
- ⚠Kubeconfig parsing relies on standard Kubernetes config format; non-standard auth providers may require custom initialization
- ⚠Fluent API abstracts away some low-level control — advanced patching strategies (strategic merge, JSON patch) may require fallback to raw client-go
- ⚠No built-in retry logic or exponential backoff; transient API failures require external circuit breaker
- ⚠Field selector and label selector syntax is limited to Kubernetes native operators (=, !=, in, notin)
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
** Provides multi-cluster Kubernetes management and operations using MCP, 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.
Categories
Alternatives to weibaohui/kom
Are you the builder of weibaohui/kom?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →