# k8m

> k8m is an open-source MCP server for cloud and infrastructure. Lightweight Kubernetes dashboard with AI helpers and an MCP server for cluster tools. It is available on Web, Linux, macOS, Windows, Self-hosted and API.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, Linux, macOS, Windows, Self-hosted, API
- **Repository:** https://github.com/weibaohui/k8m
- **GitHub stars:** 898
- **License:** MIT
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

k8m is a single-binary web console for managing Kubernetes clusters, built on the AMIS front end and the kom Go client. It can connect to several clusters at once, detect in-cluster mode automatically, and handle inspection tasks such as browsing Pod files, streaming logs and opening shells inside containers.

Beyond the console, k8m can call a language model you supply (including self-hosted options such as Ollama) to explain resources, translate YAML fields and summarise logs or Describe output. Its built-in MCP tools can be exposed to other AI clients, and each MCP call runs under the permissions of the user who triggered it. No model is bundled, so you need your own API key before the AI features work.

The project suits operators and developers who want a small, self-hosted alternative to heavier dashboards and who are comfortable configuring their own model access.

## Features

- **Single binary deployment:** All functions ship in one executable that can run locally, in Docker or inside a cluster.
- **Multi-cluster management:** Registers several kubeconfig clusters and reconnects automatically after heartbeat failures.
- **Per-cluster user permissions:** Grants read-only, exec or admin rights per cluster to users and groups, with namespace allow and deny lists.
- **Pod file and shell access:** Browse, edit, upload and download files inside Pods, and run shell commands from the console.
- **AI-assisted diagnostics:** Uses a configured model to explain resources, translate YAML and summarise logs and events.
- **MCP tool server:** Exposes Kubernetes operations as MCP tools that other AI clients can call, with call logging.
- **Cluster inspection and event forwarding:** Schedules inspection rules and forwards filtered Kubernetes events to chat webhooks.

## Good for

- Managing several Kubernetes clusters from one lightweight web console
- Letting an AI assistant query or operate a cluster through MCP tools
- Reading pod logs and running diagnostics without leaving the browser
- Forwarding filtered cluster events to team chat for alerting
- Installing and upgrading Helm charts from configured repositories

## FAQ

### Does k8m include an AI model?

No. You add your own model API key and endpoint in the admin settings before using the AI features.

### What is the default login?

The default username and password are both k8m, and the documentation recommends changing them before going live.

### Which Kubernetes distributions are supported?

The README lists standard Kubernetes, AWS EKS, k3s, kind and k0s.

### What platforms can run k8m?

It runs on Linux, macOS and Windows across x86 and ARM, and can be deployed with Docker Compose or a Kubernetes manifest.

### Is k8m free?

Yes. k8m is open source, so you can use and self-host it for free.

### What are the best alternatives to k8m?

The closest alternatives to k8m are k8s-mcp-server, K8s MCP Server (Go), mcp-k8s, mcp-k8s-go and mcp-k8s-eye.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [k8s-mcp-server](https://ai-powered.com/mcp/k8s-mcp-server): k8s-mcp-server is an open-source MCP server for developer tools.
- [K8s MCP Server (Go)](https://ai-powered.com/mcp/k8s-mcp-server-go): K8s MCP Server (Go) is an open-source MCP server for developer tools.
- [mcp-k8s](https://ai-powered.com/mcp/mcp-k8s): mcp-k8s is an open-source MCP server for cloud and infrastructure.
- [mcp-k8s-go](https://ai-powered.com/mcp/mcp-k8s-go): mcp-k8s-go is an open-source MCP server for cloud and infrastructure.
- [mcp-k8s-eye](https://ai-powered.com/mcp/mcp-k8s-eye): mcp-k8s-eye is an open-source MCP server for developer tools.
- [Kubernetes MCP Server](https://ai-powered.com/mcp/kubernetes-mcp-server): Kubernetes MCP Server is an open-source MCP server for developer tools.
- [kom](https://ai-powered.com/mcp/kom): kom is an open-source MCP server for cloud and infrastructure.
- [MCP Kubernetes](https://ai-powered.com/mcp/mcp-kubernetes): MCP Kubernetes is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/k8m
