Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.

stdiocommunityinfra

Package Details

Transportstdio

Environment Variables

KUBECONFIG(file)

Path to kubeconfig file; defaults to ~/.kube/config if unset.

MCP_MODE(str)

Server mode: 'all' (default), 'code', or 'tools'. Controls which features are enabled.

MCP_LOG_LEVEL(str)

Logging level: 'error', 'warn', 'info' (default), or 'debug'.

MCP_KUBE_CONTEXT(str)

Kubernetes context name to use. If unset, uses the current context from kubeconfig.

MCP_K8S_SKIP_TLS_VERIFY(str)

Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production.

MCP_HIDE_SENSITIVE(str)

Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses.

MCP_TIMEOUT(str)

Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults.

MCP_DISABLE_KUBERNETES_PLUGIN(str)

Disable Kubernetes plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_HELM_PLUGIN(str)

Disable Helm plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_ARGO_PLUGIN(str)

Disable Argo Workflows plugin. Set to 'true' or '1' to disable.

MCP_DISABLE_ARGOCD_PLUGIN(str)

Disable Argo CD plugin. Set to 'true' or '1' to disable.