
kom
Go library and MCP server for managing Kubernetes clusters, resources and pods
The repository was last updated 64 days ago and is published under MIT.
kom is an open-source MCP server for cloud and infrastructure. It is available on CLI, API, Self-hosted and Web.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- What it can do
- Can delete data (2 tools)
- GitHub stars
- 150
- Last commit
Similar MCP servers
About kom
Kom wraps client-go in a chainable Go API so developers can create, read, update, delete and watch built-in and custom resources across several registered clusters, including AWS EKS. It also lets you run SQL-style queries against cluster objects, read pod logs, exec into containers, transfer files and query Prometheus.
Beyond the library, the project can run as an MCP server over stdio or SSE, exposing a large set of Kubernetes operations such as deployment rollouts, scaling, node cordon and drain, and pod file management to AI clients like Cursor, Claude Desktop and Windsurf. Callbacks let teams hook custom logic into each operation without tying it to Kubernetes calls.
It suits platform engineers and Go developers who want to script cluster operations or give an AI assistant controlled access to one or more clusters. The companion k8m binary provides a ready-made web console built on the same code.
Tools this server provides (14)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 14 tools delete data and 1 changes data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_k8s_clustersName suggests: reads
- List all registered Kubernetes clusters
- scale_k8s_deployment
- Scale a Deployment by setting its replica count
- restart_k8s_deployment
- Restart a Deployment by cluster, namespace and name
- get_k8s_resourceName suggests: reads
- Get details of a Kubernetes resource
- list_k8s_resourceName suggests: reads
- List Kubernetes resources by cluster and resource type
- delete_k8s_resourceName suggests: deletes
- Delete a Kubernetes resource
- drain_k8s_node
- Drain pods from a node and prevent new scheduling
- cordon_k8s_node
- Mark a node as unschedulable
- run_command_in_k8s_podName suggests: changes
- Run a command inside a Pod
- list_k8s_podName suggests: reads
- Get a list of Pods
- GetPodLogsToolName suggests: reads
- Get Pod logs
- apply_k8s_yaml
- Create or update Kubernetes resources from YAML
- delete_k8s_yamlName suggests: deletes
- Delete Kubernetes resources defined in YAML
- get_k8s_deployment_rollout_statusName suggests: reads
- Query a Deployment's rollout status
What it does
- Multi-cluster registration
- Register in-cluster, kubeconfig-based and AWS EKS clusters and address each one by ID.
- Chainable resource API
- Create, get, list, patch, delete and watch built-in and CRD resources with a fluent interface.
- SQL queries on resources
- Select Kubernetes objects with SQL-like filters, ordering and pagination.
- Deployment and node operations
- Scale, restart, roll back, pause, cordon, drain and taint workloads and nodes.
- Pod access tools
- Read logs, run commands, port-forward and list, upload or download files inside containers.
- MCP server mode
- Expose cluster operations as MCP tools over stdio or SSE for AI assistants.
- Prometheus queries
- Run instant and range PromQL queries against in-cluster or external Prometheus.
Good for
- Scripting routine deployment rollouts and rollbacks from Go code
- Letting an AI coding assistant inspect pods and events in a cluster
- Managing several EKS and on-prem clusters from one program
- Querying pods or deployments across namespaces with SQL-style filters
- Draining and cordoning nodes during maintenance
Pricing
Open source
Open source under the MIT license.
kom FAQ
Which MCP transports does kom support?
It runs as an MCP server over stdio or SSE, and the SSE endpoint can be shared by several users.
Can kom work with AWS EKS?
Yes, clusters can be registered with an AWS access key, secret, region and cluster name, with optional IAM role assumption.
Are custom resources supported?
Yes, CRDs can be created, read, updated, deleted and watched using group, version and kind.
Where are AWS credentials stored?
They are kept in memory only and are cleared when the program restarts.
Is kom free?
Yes. kom is open source, so you can use and self-host it for free.
What are the best alternatives to kom?
The closest alternatives to kom are Kubernetes MCP Server, k8m, mcp-k8s-go, mcp-k8s and mcp-k8s-eye.
Where this comes from
- Description: written from the project's README.


