npm · kubeview-mcp
$npx -y kubeview-mcp@2.2.0 KUBECONFIG — Path to kubeconfig file; defaults to ~/.kube/config if unset.
MCP_TRANSPORT — Transport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default.
MCP_MODE — Server mode: 'code' (default), compatibility alias 'all', or direct 'tools'.
MCP_CODE_MODE_DISABLED_TOOLS — Comma-separated configurable denials inside run_code. Environment overrides JSON; an empty value enables all configurable capabilities.
MCP_ARGO_TOOLS — Argo Workflows capability override: auto, on, or off. Auto uses Kubernetes API discovery.
MCP_ARGOCD_TOOLS — Argo CD capability override: auto, on, or off. Auto uses Kubernetes API discovery or explicit remote configuration.
MCP_LOG_LEVEL — Logging level: 'error', 'warn', 'info' (default), or 'debug'.
MCP_KUBE_CONTEXT — Kubernetes context name to use. If unset, uses the current context from kubeconfig.
MCP_K8S_SKIP_TLS_VERIFY — Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production.
MCP_HIDE_SENSITIVE — Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses.
MCP_TIMEOUT — Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults.
MCP_HTTP_HOST — HTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1.
MCP_HTTP_PORT — HTTP port when MCP_TRANSPORT=http. Defaults to 3000.
MCP_HTTP_PATH — HTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp.
MCP_HTTP_JSON_RESPONSE — Prefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable.
MCP_APPROVAL_STATE_SECRET · secret — Shared secret of at least 32 bytes for signing approval state. Required in HTTP mode and identical across replicas.
MCP_APPROVAL_REPLAY_DIR — Absolute directory on writable storage shared by every HTTP replica, used to atomically prevent approval replay.
MCP_ALLOWED_HOSTS — Comma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::.
MCP_ALLOWED_ORIGINS — Comma-separated Origin allowlist for HTTP mode.
KUBE_MCP_FORCE_VM_SANDBOX — Force the standalone code-mode runtime to use node:vm instead of isolated-vm. Set to '1' to enable.
MCP_DISABLE_KUBERNETES_PLUGIN — Disable Kubernetes plugin. Set to 'true' or '1' to disable.
MCP_DISABLE_HELM_PLUGIN — Disable Helm plugin. Set to 'true' or '1' to disable.
MCP_DISABLE_ARGO_PLUGIN — Deprecated alias for MCP_ARGO_TOOLS=off.
MCP_DISABLE_ARGOCD_PLUGIN — Deprecated alias for MCP_ARGOCD_TOOLS=off.