> For the complete documentation index, see [llms.txt](https://docs.natoma.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.natoma.ai/apps/kubernetes.md).

# Kubernetes

**Type:** Community

**Source Type:** Local Package

**Source:** [npm](https://www.npmjs.com/package/kubernetes-mcp-server)

**Description:** Kubernetes MCP server provides AI assistants with access to your Kubernetes clusters using your local kubeconfig. It enables listing and inspecting resources, viewing logs and events, and (when not in read-only mode) applying manifests.

**Configuration Parameters:**

* **Read-only** (optional) - `true` (recommended) or `false`. When `true`, mutating operations are disabled.
* **Kubeconfig path** (optional) - Absolute path to a kubeconfig file. Defaults to `~/.kube/config`.

**Setup Steps:**

1. Run `kubectl config current-context` on the host to confirm the kubeconfig points at the right cluster.
2. Decide whether to run in read-only mode — strongly recommended for shared environments.
3. When creating the connection in Natoma, set `Read-only` and (optionally) the kubeconfig path, and save.
