# mcp-k8s

> mcp-k8s is an open-source MCP server for cloud and infrastructure. MCP server letting AI clients query and manage Kubernetes clusters and Helm releases. It is available on CLI, Self-hosted, API, macOS, Linux and Windows.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API, macOS, Linux, Windows
- **Website:** https://silenceper.com/blog/202504/mcp-k8s/
- **Repository:** https://github.com/silenceper/mcp-k8s
- **GitHub stars:** 152
- **License:** Apache-2.0
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Operators can point an AI assistant at a cluster and ask questions in plain language instead of recalling kubectl syntax. The server translates those requests into calls against the Kubernetes API, covering reading resource types, fetching and listing objects, and, when enabled, creating, updating and deleting them.

It runs as a stdio process that connects through a kubeconfig, and can also be served over SSE or Streamable HTTP for remote use. Helm release and repository management is included, with each write operation switched on or off separately through command-line flags so teams can keep changes read-only by default.

It suits cluster operators who want a conversational troubleshooting helper, and developers who want to spin up or tear down test resources quickly from a chat window.

## Features

- **Resource type discovery:** Lists the API resource types available in a cluster, including custom resources.
- **Get and list resources:** Reads details of a specific object or lists instances of a type with filtering.
- **Optional write operations:** Create, update and delete can each be enabled or disabled independently.
- **Helm release management:** Lists and inspects releases and can install, upgrade or uninstall charts when allowed.
- **Helm repository control:** Lists, adds and removes Helm chart repositories.
- **Multiple transports:** Runs over stdio, SSE or Streamable HTTP, with Docker images available.

## Good for

- Diagnosing a pod that will not reach the Running state by asking the assistant to inspect it
- Checking cluster version and resource status without memorizing kubectl commands
- Creating or cleaning up test resources in a development namespace from a chat prompt
- Installing or upgrading Helm charts while keeping write access tightly controlled
- Learning Kubernetes concepts by asking an assistant to explain resources and errors

## Tools

From the tool list in its README, going by the names, 3 of 14 tools delete data and 3 change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_api_resources` (name suggests: reads): Get all supported API resource types in the cluster
- `get_resource` (name suggests: reads): Get detailed information about a specific resource
- `list_resources` (name suggests: reads): List all instances of a resource type
- `create_resource` (name suggests: changes): Create new resources (can be disabled)
- `update_resource` (name suggests: changes): Update existing resources (can be disabled)
- `delete_resource` (name suggests: deletes): Delete resources (can be disabled)
- `list_helm_releases` (name suggests: reads): List all Helm releases in the cluster
- `get_helm_release` (name suggests: reads): Get detailed information about a specific Helm release
- `install_helm_chart`: Install a Helm chart (can be disabled)
- `upgrade_helm_chart`: Upgrade a Helm release (can be disabled)
- `uninstall_helm_chart` (name suggests: deletes): Uninstall a Helm release (can be disabled)
- `list_helm_repositories` (name suggests: reads): List configured Helm repositories
- `add_helm_repository` (name suggests: changes): Add a new Helm repository (can be disabled)
- `remove_helm_repository` (name suggests: deletes): Remove a Helm repository (can be disabled)

## FAQ

### Can mcp-k8s change resources in my cluster by default?

No. Create, update, delete and Helm install, upgrade and uninstall are disabled unless you enable them with flags.

### How does mcp-k8s connect to a cluster?

It uses a kubeconfig file, either the one you specify or the default configuration.

### Which AI clients can use mcp-k8s?

Any MCP-compatible client can connect, and the project shows Cursor as an example setup.

### Is mcp-k8s free to use?

The project is released under the Apache-2.0 license and can be downloaded, built or run with Docker.

### What are the best alternatives to mcp-k8s?

The closest alternatives to mcp-k8s are k8s-mcp-server, Helm MCP, kubectl-mcp-server, mcp-k8s-eye and mcp-k8s-go.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [k8s-mcp-server](https://ai-powered.com/mcp/k8s-mcp-server): k8s-mcp-server is an open-source MCP server for developer tools.
- [Helm MCP](https://ai-powered.com/mcp/helm-mcp-2): Helm MCP is an open-source MCP server for cloud and infrastructure.
- [kubectl-mcp-server](https://ai-powered.com/mcp/kubectl-mcp-server): kubectl-mcp-server 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.
- [mcp-k8s-go](https://ai-powered.com/mcp/mcp-k8s-go): mcp-k8s-go is an open-source MCP server for cloud and infrastructure.
- [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.
- [Kubernetes MCP Server](https://ai-powered.com/mcp/kubernetes-mcp-server): Kubernetes MCP Server is an open-source MCP server for developer tools.
- [Helm MCP](https://ai-powered.com/mcp/helm-mcp): Helm MCP is an open-source MCP server for cloud and infrastructure.

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