# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/kubernetes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
