Kubernetes

Connect AI assistants to Kubernetes clusters using your local kubeconfig.

Type: Community

Source Type: Local Package

Source: npm

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.

Last updated