MCP ScannerCustom audit
All servers

rohitg00/kubectl-mcp-server

Published in CNCF Landscape: A MCP server for Kubernetes.

Version2.0.0 in package.json
Publisherrohitg00 community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 972Forks 188Last push 2026-10-22npm downloads a month 501
Python 97.8%JavaScript 2.2%by source files the scanner reads
Code safetypartly tracedExposure4.7Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence87%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure4.7/10Poor

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 105 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 1 of 233 tools, prompts and resources could not be followed through the code

Top risks in plain words

  • CRITICAL2 security advisories have been published for this server itself (worst: critical). 1 of them lists no fixed version.
  • HIGHTools exec_in_pod, helm_template run programs by design: an agent steered by prompt injection can use them that way.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Run it in a container or a virtual machine

    exec_in_pod, helm_template can start programs or run code they are given. Keep it away from your home folder, keys and other projects.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need exec_in_pod, helm_template, switch them off.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Read its open advisories before installing

    GHSA-q2w8-w8pj-c9wh (critical) lists no fixed version. Check whether the version you install is affected.

  • Use a fixed version

    Versions before kubectl-mcp-server 1.2.0 have a published vulnerability that is fixed in 1.2.0.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 210 tools, 14 resources, 9 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Start other programs on the machinecan run commands or launch programs
abort_rollout, annotate_resource, audit_policies, backup_resource, capi_get_cluster, capi_get_cluster_kubeconfig and 124 more
131 of 233
Connect to the internet or other hostssend requests or open connections
get_cost_analysis, get_namespace_cost_allocation, get_overprovisioned_resources, get_resource_recommendations, optimize_resource_requests
5 of 233
Read passwords, tokens or keysload secrets such as API keys
analyze_network_policies, analyze_pod_security, audit_rbac_permissions, check_dns_resolution, check_pod_health, check_secrets_security and 21 more
27 of 233
Read environment variablesoften where API keys are kept
analyze_network_policies, analyze_pod_security, audit_rbac_permissions, check_dns_resolution, check_pod_health, check_secrets_security and 21 more
27 of 233
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
analyze_network_policies, analyze_pod_security, audit_rbac_permissions, check_dns_resolution, check_pod_health, check_secrets_security and 21 more
27 of 233

No tool was seen to: read or write files.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

10 request addresses could not be settled from the code (built at run time).

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • web or API responses5 tools · get_cost_analysis, get_namespace_cost_allocation, get_overprovisioned_resources +2

Tool annotations

205 of 233 tools declare annotations. readOnlyHint 141, destructiveHint 42, idempotentHint 156, openWorldHint 202.

Tools, prompts and resources (233: 210 tools, 14 resources, 9 prompts)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

exec_in_podtool Execute a command inside a pod.Processesdestructive (declared)Runs programs
Execute a command inside a pod.

        Args:
            pod_name: Name of the pod
            command: Command to execute
            namespace: Namespace of the pod
            container: Container name (for multi-container pods)
            context: Kubernetes context to use (uses current context if not specified)
helm_templatetool Render Helm chart templates locally without installing.Processesread-only (declared)Runs programs
Render Helm chart templates locally without installing.

        Args:
            chart: Chart reference
            name: Release name for template
            namespace: Target namespace
            repo: Repository URL
            values: Set values on command line
            context: Kubernetes context to use (optional, uses current context if not specified)
cost_optimizationprompt Cost optimization analysis workflow.
Cost optimization analysis workflow.
debug_networkingprompt Network debugging workflow for Kubernetes services.
Network debugging workflow for Kubernetes services.
deploy_applicationprompt Step-by-step guide for deploying applications to Kubernetes.
Step-by-step guide for deploying applications to Kubernetes.
disaster_recoveryprompt Disaster recovery planning and execution workflow.
Disaster recovery planning and execution workflow.
handlerprompt
No description.
scale_applicationprompt Application scaling guide with best practices.
Application scaling guide with best practices.
security_auditprompt Security audit workflow for Kubernetes clusters.
Security audit workflow for Kubernetes clusters.
troubleshoot_workloadprompt Comprehensive troubleshooting guide for Kubernetes workloads.
Comprehensive troubleshooting guide for Kubernetes workloads.
upgrade_clusterprompt Kubernetes cluster upgrade planning guide.
Kubernetes cluster upgrade planning guide.
get_api_resourcesresource Get available API resources in the cluster.Processes
Get available API resources in the cluster.
get_cluster_inforesource Get cluster information including version and nodes.
Get cluster information including version and nodes.
get_cluster_nodesresource Get detailed information about all cluster nodes.
Get detailed information about all cluster nodes.
get_cluster_versionresource Get Kubernetes cluster version.
Get Kubernetes cluster version.
get_configmap_manifestresource Get YAML manifest for a specific ConfigMap.
Get YAML manifest for a specific ConfigMap.
get_current_contextresource Get the current active kubectl context.
Get the current active kubectl context.
get_current_namespaceresource Get the current namespace from kubectl context.
Get the current namespace from kubectl context.
get_deployment_manifestresource Get YAML manifest for a specific deployment.
Get YAML manifest for a specific deployment.
get_ingress_manifestresource Get YAML manifest for a specific ingress.
Get YAML manifest for a specific ingress.
get_kubeconfig_contextsresource List all available kubectl contexts.
List all available kubectl contexts.
get_pod_manifestresource Get YAML manifest for a specific pod.
Get YAML manifest for a specific pod.
get_secret_manifestresource Get YAML manifest for a specific secret (data masked).
Get YAML manifest for a specific secret (data masked).
get_service_manifestresource Get YAML manifest for a specific service.
Get YAML manifest for a specific service.
list_all_namespacesresource List all namespaces in the cluster.
List all namespaces in the cluster.
abort_rollouttool Abort an Argo Rollout.Processesdestructive (declared)
Abort an Argo Rollout.
analyze_network_policiestool Analyze network policies in the cluster.CredentialsEnv varsSensitive pathsread-only (declared)
Analyze network policies in the cluster.

        Args:
            namespace: Namespace to analyze policies in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
analyze_pod_securitytool Analyze pod security configurations.CredentialsEnv varsSensitive pathsread-only (declared)
Analyze pod security configurations.

        Args:
            namespace: Namespace to analyze pods in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
annotate_resourcetool Add or update annotations on a resource.Processesdestructive (declared)
Add or update annotations on a resource.

        Args:
            resource_type: Type of resource to annotate
            name: Name of the resource
            annotations: Annotations to apply (use None value to remove)
            namespace: Target namespace (optional)
            overwrite: Overwrite existing annotations
            context: Kubernetes context to use (optional, uses current context if not specified)
audit_policiestool Audit resources against installed policies.Processesread-only (declared)
Audit resources against installed policies.
audit_rbac_permissionstool Audit RBAC permissions for subjects.CredentialsEnv varsSensitive pathsread-only (declared)
Audit RBAC permissions for subjects.

        Args:
            namespace: Namespace to audit (cluster-wide if not specified)
            subject: Filter by subject name
            context: Kubernetes context to use (uses current context if not specified)
backup_resourcetool Export a resource as YAML for backup or migration.Processesread-only (declared)
Export a resource as YAML for backup or migration.

        Args:
            resource_type: Type of resource to export
            name: Name of the resource
            namespace: Target namespace (optional)
            context: Kubernetes context to use (optional, uses current context if not specified)
capi_get_clustertool Get detailed information about a CAPI cluster.Processesread-only (declared)
Get detailed information about a CAPI cluster.
capi_get_cluster_kubeconfigtool Get kubeconfig secret info for a CAPI cluster.Processesread-only (declared)
Get kubeconfig secret info for a CAPI cluster.
capi_get_machinetool Get detailed information about a CAPI machine.Processesread-only (declared)
Get detailed information about a CAPI machine.
capi_list_clusterclassestool List Cluster API ClusterClasses.Processesread-only (declared)
List Cluster API ClusterClasses.
capi_list_clusterstool List Cluster API managed clusters.Processesread-only (declared)
List Cluster API managed clusters.
capi_list_machinedeploymentstool List Cluster API MachineDeployments.Processesread-only (declared)
List Cluster API MachineDeployments.
capi_list_machinehealthcheckstool List Cluster API MachineHealthChecks.Processesread-only (declared)
List Cluster API MachineHealthChecks.
capi_list_machinestool List Cluster API machines.Processesread-only (declared)
List Cluster API machines.
capi_list_machinesetstool List Cluster API MachineSets.Processesread-only (declared)
List Cluster API MachineSets.
capi_scale_machinedeploymenttool Scale a CAPI MachineDeployment.Processesdestructive (declared)
Scale a CAPI MachineDeployment.
check_dns_resolutiontool Check DNS resolution from within the cluster.ProcessesCredentialsEnv varsSensitive pathsread-only (declared)
Check DNS resolution from within the cluster.

        Args:
            hostname: Hostname to resolve
            namespace: Namespace to find a pod in
            pod_name: Specific pod to use for testing (optional)
            context: Kubernetes context to use (uses current context if not specified)
check_pod_healthtool Check the health status of a pod.CredentialsEnv varsSensitive pathsread-only (declared)
Check the health status of a pod.

        Args:
            pod_name: Name of the pod
            namespace: Namespace of the pod
            context: Kubernetes context to use (uses current context if not specified)
check_secrets_securitytool Check security posture of secrets.CredentialsEnv varsSensitive pathsread-only (declared)
Check security posture of secrets.

        Args:
            namespace: Namespace to check secrets in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
cilium_get_policytool Get detailed information about a Cilium network policy.Processesread-only (declared)
Get detailed information about a Cilium network policy.
cilium_get_statustool Get Cilium cluster status.Processesread-only (declared)
Get Cilium cluster status.
cilium_list_endpointstool List Cilium endpoints with their status.Processesread-only (declared)
List Cilium endpoints with their status.
cilium_list_identitiestool List Cilium identities.Processesread-only (declared)
List Cilium identities.
cilium_list_nodestool List Cilium nodes with their status.Processesread-only (declared)
List Cilium nodes with their status.
cilium_list_policiestool List Cilium network policies.Processesread-only (declared)
List Cilium network policies.
cleanup_podstool Clean up pods in problematic states (Evicted, Error, Completed, etc.).Processesdestructive (declared)
Clean up pods in problematic states (Evicted, Error, Completed, etc.).

        Args:
            namespace: Namespace to clean up (all namespaces if not specified)
            states: List of states to clean up (default: Evicted, Error, Completed, ContainerStatusUnknown)
            context: Kubernetes context to use (uses current context if not specified)
compare_namespacestool Compare resources between two namespaces.CredentialsEnv varsSensitive pathsread-only (declared)
Compare resources between two namespaces.

        Args:
            namespace1: First namespace to compare
            namespace2: Second namespace to compare
            resource_type: Type of resource to compare (deployment, service, configmap, secret)
            context: Kubernetes context to use (optional, uses current context if not specified)
create_backuptool Create a new Velero backup.Processes
Create a new Velero backup.
create_backup_scheduletool Create a backup schedule.Processes
Create a backup schedule.
create_restoretool Create a restore from a backup.Processesdestructive (declared)
Create a restore from a backup.
delete_backuptool Delete a Velero backup.Processesdestructive (declared)
Delete a Velero backup.
delete_resourcetool Delete a Kubernetes resource.Processesdestructive (declared)
Delete a Kubernetes resource.

        Args:
            resource_type: Type of resource to delete
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
describe_crdtool Get schema and documentation for a CRD.CredentialsEnv varsSensitive pathsread-only (declared)
Get schema and documentation for a CRD.

        Shows the OpenAPI schema so the LLM understands what fields a custom
        resource accepts. Useful for explaining what a resource type does
        and what configuration options are available.

        Args:
            crd_name: Full CRD name (e.g., "clusters.postgresql.cnpg.io")
            context: Kubernetes context (uses current if not specified)
detect_ecosystemtool Detect installed operators (Flux, Argo CD, cert-manager, Kyverno, Istio, ...) and local CLIs, and reportProcesses
Detect installed operators (Flux, Argo CD, cert-manager, Kyverno, Istio, ...) and local CLIs, and report
        which toolsets or dedicated MCP servers cover them.

        Args:
            context: Kubernetes context (optional)
detect_pending_podstool Find pending pods and explain why they are not scheduled.CredentialsEnv varsSensitive pathsread-only (declared)
Find pending pods and explain why they are not scheduled.

        Args:
            namespace: Namespace to search (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
diagnose_network_connectivitytool Diagnose network connectivity between pods or to external endpoints.Processesread-only (declared)
Diagnose network connectivity between pods or to external endpoints.

        Args:
            source_pod: Name of the pod to test from
            target: Target hostname or IP to test connectivity to
            source_namespace: Namespace of the source pod
            port: Optional port number to test
            context: Kubernetes context to use (uses current context if not specified)
diagnose_pod_crashtool Automated diagnosis of pod crash loops and failures.CredentialsEnv varsSensitive pathsread-only (declared)
Automated diagnosis of pod crash loops and failures.

        Args:
            pod_name: Name of the pod
            namespace: Namespace of the pod
            context: Kubernetes context to use (uses current context if not specified)
discover_crdstool Discover all CRDs in the cluster with semantic categorization.CredentialsEnv varsSensitive pathsread-only (declared)
Discover all CRDs in the cluster with semantic categorization.

        Scans the cluster for every installed CRD and categorizes them into
        human-readable groups. Use this to answer questions like:
        - "What databases are in this cluster?"
        - "Is there a service mesh installed?"
        - "What monitoring stack is running?"

        Categories: databases, messaging, certificates, networking, service_mesh,
        monitoring, logging, gitops, progressive_delivery, autoscaling, storage,
        security, secrets_management, virtualization, ai_ml, workflows,
        cluster_management, serverless, dns, chaos_engineering, api_gateway,
        container_registry, identity

        Args:
            category: Filter by category (e.g., "databases"). Empty returns all.
            context: Kubernetes context (uses current if not specified)
explain_cert_statustool Explain certificate status with diagnosis and recommendations.Processesread-only (declared)
Explain certificate status with diagnosis and recommendations.
explain_policy_denialtool Explain an admission denial message by matching against policies.Processesread-only (declared)
Explain an admission denial message by matching against policies.
fntool
No description.
get_analysis_runstool List Argo Rollouts AnalysisRuns.Processesread-only (declared)
List Argo Rollouts AnalysisRuns.
get_api_resourcestool Get available API resources.Processesread-only (declared)
Get available API resources.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
get_backuptool Get detailed information about a backup.Processesread-only (declared)
Get detailed information about a backup.
get_certtool Get detailed information about a certificate.Processesread-only (declared)
Get detailed information about a certificate.
get_cert_issuertool Get detailed information about an Issuer or ClusterIssuer.Processesread-only (declared)
Get detailed information about an Issuer or ClusterIssuer.
get_context_detailstool Get details about a specific context.read-only (declared)
Get details about a specific context.

        Args:
            context_name: Name of the context to get details for
get_cost_analysistool Analyze resource costs by namespace and workload based on resource requests.NetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Analyze resource costs by namespace and workload based on resource requests.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_custom_resourcetool Get full details of a specific custom resource instance.CredentialsEnv varsSensitive pathsread-only (declared)
Get full details of a specific custom resource instance.

        Returns the complete spec, status, and metadata of a single resource.
        Use list_custom_resources first to find the name and namespace.

        Args:
            group: API group (e.g., "postgresql.cnpg.io")
            version: API version (e.g., "v1")
            plural: Plural resource name (e.g., "clusters")
            name: Resource instance name
            namespace: Namespace (required for namespaced resources)
            context: Kubernetes context (uses current if not specified)
get_evicted_podstool Find evicted pods with their eviction reasons.CredentialsEnv varsSensitive pathsread-only (declared)
Find evicted pods with their eviction reasons.

        Args:
            namespace: Namespace to search (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
get_flagger_canariestool List Flagger Canary resources.Processesread-only (declared)
List Flagger Canary resources.
get_flagger_canarytool Get detailed information about a Flagger Canary.Processesread-only (declared)
Get detailed information about a Flagger Canary.
get_hubble_flowstool Query Hubble flows for network observability.Processesread-only (declared)
Query Hubble flows for network observability.
get_idle_resourcestool Find underutilized pods using less than threshold percentage of requested resources.Processesread-only (declared)
Find underutilized pods using less than threshold percentage of requested resources.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            cpu_threshold: CPU usage threshold percentage
            memory_threshold: Memory usage threshold percentage
            context: Kubernetes context to use (optional, uses current context if not specified)
get_namespace_cost_allocationtool Calculate resource allocation percentages across all namespaces.NetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Calculate resource allocation percentages across all namespaces.

        Args:
            context: Kubernetes context to use (optional, uses current context if not specified)
get_nodes_summarytool Get summary of all nodes in the cluster.CredentialsEnv varsSensitive pathsread-only (declared)
Get summary of all nodes in the cluster.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
get_overprovisioned_resourcestool Find pods using significantly less resources than requested (over-provisioned).ProcessesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Find pods using significantly less resources than requested (over-provisioned).

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            threshold: Utilization threshold percentage below which resources are considered over-provisioned
            context: Kubernetes context to use (optional, uses current context if not specified)
get_pod_security_infotool Get Pod Security Standards information for namespaces.CredentialsEnv varsSensitive pathsread-only (declared)
Get Pod Security Standards information for namespaces.

        Args:
            namespace: Namespace to check (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
get_policytool Get detailed information about a policy.read-only (declared)
Get detailed information about a policy.
get_policy_listtool List policies from Kyverno or Gatekeeper.Processesread-only (declared)
List policies from Kyverno or Gatekeeper.
get_policy_violationstool List policy violations from PolicyReports or Gatekeeper.Processesread-only (declared)
List policy violations from PolicyReports or Gatekeeper.
get_resource_quotas_usagetool Show resource quota usage and availability across namespaces.CredentialsEnv varsSensitive pathsread-only (declared)
Show resource quota usage and availability across namespaces.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_resource_recommendationstool Analyze resource usage and provide optimization recommendations for pods/deployments.NetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Analyze resource usage and provide optimization recommendations for pods/deployments.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            resource_type: Type of resource to analyze
            context: Kubernetes context to use (optional, uses current context if not specified)
get_resource_trendstool Get current resource usage snapshot for trend analysis (requires metrics-server).Processesread-only (declared)
Get current resource usage snapshot for trend analysis (requires metrics-server).

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            resource_type: Type of resource to analyze (pods or nodes)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_restoretool Get detailed information about a restore.Processesread-only (declared)
Get detailed information about a restore.
get_rollouttool Get detailed information about an Argo Rollout.Processesread-only (declared)
Get detailed information about an Argo Rollout.
get_rollout_statustool Get current status of an Argo Rollout with step details.Processesread-only (declared)
Get current status of an Argo Rollout with step details.
get_rollouts_listtool List Argo Rollouts with their status.Processesread-only (declared)
List Argo Rollouts with their status.
gitops_app_gettool Get details of a specific GitOps application.read-only (declared)
Get details of a specific GitOps application.
gitops_app_statustool Get sync status of a GitOps application.read-only (declared)
Get sync status of a GitOps application.
gitops_app_synctool Trigger sync/reconciliation for a GitOps application.Processesdestructive (declared)
Trigger sync/reconciliation for a GitOps application.
gitops_apps_listtool List GitOps applications from Flux or Argo CD.Processesread-only (declared)
List GitOps applications from Flux or Argo CD.
gitops_source_gettool Get details of a Flux source resource.read-only (declared)
Get details of a Flux source resource.
gitops_sources_listtool List Flux source resources (GitRepositories, HelmRepositories).Processesread-only (declared)
List Flux source resources (GitRepositories, HelmRepositories).
health_checktool Perform a cluster health check.Processesread-only (declared)
Perform a cluster health check.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
helm_createtool Create a new Helm chart with the given name.Processes
Create a new Helm chart with the given name.

        Args:
            name: Name of the chart to create
            starter: Name of the starter chart to use
helm_dependency_buildtool Build chart dependencies from Chart.lock.Processes
Build chart dependencies from Chart.lock.

        Args:
            chart_path: Path to the chart directory
            skip_refresh: Don't refresh repo cache
helm_dependency_listtool List chart dependencies.Processesread-only (declared)
List chart dependencies.

        Args:
            chart_path: Path to the chart directory
helm_dependency_updatetool Update chart dependencies (download from Chart.yaml).Processes
Update chart dependencies (download from Chart.yaml).

        Args:
            chart_path: Path to the chart directory
            skip_refresh: Don't refresh repo cache
helm_gettool Get details of a Helm release: values, manifest, notes, hooks, or all.Processesread-only (declared)
Get details of a Helm release: values, manifest, notes, hooks, or all.

        Args:
            release_name: Name of the release
            what: values (default), manifest, notes, hooks, or all
            namespace: Kubernetes namespace
            revision: Specific revision (default: latest)
            all_values: For values, include chart defaults, not just user-supplied values
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_historytool Get the revision history of a Helm release.Processesread-only (declared)
Get the revision history of a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            max_revisions: Maximum number of revisions to return
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_linttool Lint a Helm chart for issues.Processesread-only (declared)
Lint a Helm chart for issues.

        Args:
            chart_path: Path to the chart directory
            values: Values file path or --set values
            strict: Fail on lint warnings
            with_subcharts: Lint dependent charts
helm_listtool List Helm releases with optional filtering.Processesread-only (declared)
List Helm releases with optional filtering.

        Args:
            namespace: Target namespace (default: current namespace)
            all_namespaces: List releases across all namespaces
            filter: Filter releases by name using regex
            deployed: Show deployed releases only
            failed: Show failed releases only
            pending: Show pending releases only
            uninstalled: Show uninstalled releases (if kept with --keep-history)
            superseded: Show superseded releases only
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_packagetool Package a Helm chart into a versioned archive.Processes
Package a Helm chart into a versioned archive.

        Args:
            chart_path: Path to the chart directory
            destination: Output directory for the package
            version: Override the chart version
            app_version: Override the app version
            dependency_update: Update dependencies before packaging
helm_pulltool Download a chart from a repository.Processes
Download a chart from a repository.

        Args:
            chart: Chart reference (e.g., 'bitnami/nginx')
            repo: Repository URL
            version: Specific chart version
            destination: Download directory
            untar: Extract the chart archive
helm_repo_addtool Add a Helm chart repository.Processes
Add a Helm chart repository.

        Args:
            name: Repository name (local alias)
            url: Repository URL
            username: Username for basic auth
            password: Password for basic auth
            force_update: Replace existing repo with same name
            pass_credentials: Pass credentials to all domains
helm_repo_listtool List all configured Helm repositories.Processesread-only (declared)
List all configured Helm repositories.
helm_repo_removetool Remove a Helm chart repository.Processesdestructive (declared)
Remove a Helm chart repository.

        Args:
            name: Repository name to remove
helm_repo_updatetool Update Helm repository indexes.Processes
Update Helm repository indexes.

        Args:
            repos: Specific repositories to update (default: all)
helm_rollbacktool Rollback a Helm release to a previous revision.Processesdestructive (declared)
Rollback a Helm release to a previous revision.

        Args:
            release_name: Name of the release
            revision: Revision number to rollback to (use helm_history to see revisions)
            namespace: Kubernetes namespace
            force: Force resource updates through delete/recreate
            recreate_pods: Force pod restarts
            cleanup_on_fail: Delete newly created resources on failure
            wait: Wait until all resources are ready
            timeout: Timeout for waiting
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_search_hubtool Search for charts in Artifact Hub (https://artifacthub.io).Processesread-only (declared)
Search for charts in Artifact Hub (https://artifacthub.io).

        Args:
            keyword: Search keyword
            max_results: Maximum number of results
            list_repo_url: Show repository URL for each chart
helm_search_repotool Search for charts in configured Helm repositories.Processesread-only (declared)
Search for charts in configured Helm repositories.

        Args:
            keyword: Search keyword
            regexp: Use regular expression for searching
            versions: Show all chart versions (not just latest)
            version: Version constraint (e.g., '>1.0.0')
            max_results: Maximum number of results
helm_showtool Show chart information before installing: values, chart (Chart.yaml), readme, crds, or all.Processesread-only (declared)
Show chart information before installing: values, chart (Chart.yaml), readme, crds, or all.

        Args:
            chart: Chart reference (repo/chart, OCI URL, or local path)
            what: values (default), chart, readme, crds, or all
            repo: Chart repository URL
            version: Chart version constraint
            jsonpath: For values, a JSONPath expression to extract a subset
helm_statustool Get the status of a Helm release.Processesread-only (declared)
Get the status of a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            revision: Show status for a specific revision (default: latest)
            show_desc: Show description of the release
            show_resources: Show resources created by the release
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_testtool Run tests for a Helm release.Processes
Run tests for a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            timeout: Timeout for tests
            logs: Show test pod logs
            filter: Filter tests by name
            context: Kubernetes context to use (optional, uses current context if not specified)
install_helm_charttool Install a Helm chart.
Install a Helm chart.

        Args:
            name: Release name
            chart: Chart reference
            namespace: Target namespace
            repo: Repository in format 'repo_name=repo_url'
            values: Values to override
            context: Kubernetes context to use (optional, uses current context if not specified)
istio_analyzetool Analyze Istio configuration for potential issues.Processesread-only (declared)
Analyze Istio configuration for potential issues.
istio_authorizationpolicies_listtool List Istio AuthorizationPolicies.Processesread-only (declared)
List Istio AuthorizationPolicies.
istio_destinationrules_listtool List Istio DestinationRules.Processesread-only (declared)
List Istio DestinationRules.
istio_gateways_listtool List Istio Gateways.Processesread-only (declared)
List Istio Gateways.
istio_peerauthentications_listtool List Istio PeerAuthentication policies.Processesread-only (declared)
List Istio PeerAuthentication policies.
istio_proxy_statustool Get Istio proxy synchronization status.Processesread-only (declared)
Get Istio proxy synchronization status.
istio_sidecar_statustool Get sidecar injection status for pods.read-only (declared)
Get sidecar injection status for pods.
istio_virtualservice_gettool Get detailed information about a VirtualService.Processesread-only (declared)
Get detailed information about a VirtualService.
istio_virtualservices_listtool List Istio VirtualServices.Processesread-only (declared)
List Istio VirtualServices.
keda_hpa_listtool List HPAs managed by KEDA.read-only (declared)
List HPAs managed by KEDA.
keda_scaledjobs_listtool List KEDA ScaledJobs with their status.Processesread-only (declared)
List KEDA ScaledJobs with their status.
keda_scaledobject_gettool Get detailed information about a ScaledObject.Processesread-only (declared)
Get detailed information about a ScaledObject.
keda_scaledobjects_listtool List KEDA ScaledObjects with their scaling status.Processesread-only (declared)
List KEDA ScaledObjects with their scaling status.
keda_triggerauth_gettool Get detailed information about a TriggerAuthentication.Processesread-only (declared)
Get detailed information about a TriggerAuthentication.
keda_triggerauths_listtool List KEDA TriggerAuthentications and ClusterTriggerAuthentications.Processesread-only (declared)
List KEDA TriggerAuthentications and ClusterTriggerAuthentications.
kind_available_imagestool List available kindest/node images (K8s versions).read-only (declared)
List available kindest/node images (K8s versions).
kind_build_node_imagetool Build a kind node image from Kubernetes source.
Build a kind node image from Kubernetes source.

        This is an advanced feature for testing custom Kubernetes builds.

        Args:
            image: Name for the resulting image (default: kindest/node:latest)
            base_image: Base image to use
            kube_root: Path to Kubernetes source root
kind_cluster_infotool Get cluster information including nodes and kubeconfig.read-only (declared)
Get cluster information including nodes and kubeconfig.

        Args:
            name: Name of the kind cluster
kind_cluster_statustool Get detailed cluster health status.read-only (declared)
Get detailed cluster health status.

        Args:
            name: Cluster name
kind_config_generatetool Generate kind config YAML for common scenarios.read-only (declared)
Generate kind config YAML for common scenarios.

        Args:
            name: Cluster name (for reference)
            workers: Number of worker nodes (default: 0)
            control_planes: Number of control-plane nodes (1 for single, 3 for HA)
            registry: Add local registry configuration
            ingress: Add port mappings for ingress (80, 443)
kind_config_showtool Show effective config for a running cluster.read-only (declared)
Show effective config for a running cluster.

        Args:
            name: Name of the kind cluster
kind_config_validatetool Validate kind configuration file before cluster creation.read-only (declared)
Validate kind configuration file before cluster creation.

        Args:
            config_path: Path to kind config YAML file
kind_create_clustertool Create a new kind cluster.
Create a new kind cluster.

        Args:
            name: Name for the new cluster (default: kind)
            image: Node image (determines K8s version, e.g., kindest/node:v1.29.0)
            config: Path to kind config YAML file for multi-node or custom setup
            wait: Wait timeout for control plane (default: 5m)
            retain: Retain nodes on creation failure for debugging
kind_delete_clustertool Delete a kind cluster.destructive (declared)
Delete a kind cluster.

        Args:
            name: Name of the cluster to delete
kind_export_logstool Export cluster logs for debugging.read-only (declared)
Export cluster logs for debugging.

        Args:
            name: Name of the kind cluster
            output_dir: Directory to export logs to (default: temp directory)
kind_get_kubeconfigtool Get kubeconfig for a kind cluster.read-only (declared)
Get kubeconfig for a kind cluster.

        Args:
            name: Name of the kind cluster
            internal: Return internal (container) kubeconfig instead of external
kind_get_nodestool List nodes in a kind cluster.read-only (declared)
List nodes in a kind cluster.

        Args:
            name: Name of the kind cluster (default: kind)
kind_images_listtool List images on cluster nodes.read-only (declared)
List images on cluster nodes.

        Args:
            cluster: Cluster name
            node: Specific node (optional, defaults to control-plane)
kind_ingress_setuptool Setup ingress controller on kind cluster.
Setup ingress controller on kind cluster.

        Args:
            cluster: Cluster name
            ingress_type: Type of ingress (nginx or contour)
kind_list_clusterstool List all kind clusters.read-only (declared)
List all kind clusters.
kind_load_imagetool Load Docker images into kind cluster nodes.
Load Docker images into kind cluster nodes.

        This is a key feature for local development - load locally built
        images directly into the cluster without pushing to a registry.

        Args:
            images: Comma-separated list of Docker image names to load
            name: Name of the kind cluster
kind_load_image_archivetool Load Docker images from tar archive into kind cluster.
Load Docker images from tar archive into kind cluster.

        Args:
            archive: Path to image archive (tar file)
            name: Name of the kind cluster
kind_network_inspecttool Inspect kind Docker network.read-only (declared)
Inspect kind Docker network.

        Args:
            cluster: Cluster name (kind network is shared)
kind_node_exectool Execute command on kind node container.destructive (declared)
Execute command on kind node container.

        Useful for debugging with crictl, journalctl, systemctl.

        Args:
            node: Node name (e.g., kind-control-plane)
            command: Command to execute
            cluster: Cluster name (for validation)
kind_node_inspecttool Inspect kind node container details.read-only (declared)
Inspect kind node container details.

        Args:
            node: Node name
kind_node_labelstool Get node labels for kind cluster nodes.read-only (declared)
Get node labels for kind cluster nodes.

        Args:
            name: Name of the kind cluster
kind_node_logstool Get logs from kind node container.read-only (declared)
Get logs from kind node container.

        Args:
            node: Node name
            tail: Number of lines to return
kind_node_restarttool Restart kind node container.destructive (declared)
Restart kind node container.

        Args:
            node: Node name to restart
kind_port_mappingstool List all port mappings for cluster.read-only (declared)
List all port mappings for cluster.

        Args:
            cluster: Cluster name
kind_provider_infotool Get container runtime provider info (Docker/Podman).read-only (declared)
Get container runtime provider info (Docker/Podman).
kind_registry_connecttool Connect kind cluster to local registry.
Connect kind cluster to local registry.

        Args:
            cluster_name: Name of the kind cluster
            registry_name: Name of the registry container
kind_registry_createtool Create local Docker registry for kind clusters.
Create local Docker registry for kind clusters.

        Args:
            name: Name for the registry container
            port: Host port to expose registry on
kind_registry_statustool Check local registry status.read-only (declared)
Check local registry status.

        Args:
            name: Name of the registry container
kind_set_kubeconfigtool Export kubeconfig and set as current context.Processes
Export kubeconfig and set as current context.

        This updates your KUBECONFIG to add the kind cluster context.

        Args:
            name: Name of the kind cluster
kubeconfig_viewtool View kubeconfig file contents (sanitized - no secrets).Processesread-only (declared)
View kubeconfig file contents (sanitized - no secrets).

        Args:
            minify: If True, show only current context info. If False, show all.
kubectl_applytool Apply a YAML manifest to the cluster.Processesdestructive (declared)
Apply a YAML manifest to the cluster.

        Args:
            manifest: YAML manifest content to apply
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_cptool Copy files between local filesystem and pods.Processesdestructive (declared)
Copy files between local filesystem and pods.

        Use pod:path format for pod paths, e.g.:
        - Local to pod: kubectl_cp("/tmp/file.txt", "mypod:/tmp/file.txt")
        - Pod to local: kubectl_cp("mypod:/tmp/file.txt", "/tmp/file.txt")

        Args:
            source: Source path (local path or pod:path)
            destination: Destination path (local path or pod:path)
            namespace: Target namespace
            container: Container name (optional)
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_createtool Create a Kubernetes resource.Processesdestructive (declared)
Create a Kubernetes resource.

        Args:
            resource_type: Type of resource to create
            name: Name of the resource
            namespace: Target namespace
            image: Container image (for deployment/pod)
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_describetool Describe a Kubernetes resource in detail.Processesread-only (declared)
Describe a Kubernetes resource in detail.

        Args:
            resource_type: Type of resource (e.g., pod, deployment, service)
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_explaintool Explain a Kubernetes resource.Processesread-only (declared)
Explain a Kubernetes resource.

        Args:
            resource: Resource type to explain (e.g., pods, deployments.spec)
            context: Kubernetes context to use (uses current context if not specified)
kubectl_generictool Execute any kubectl command. Use with caution.ProcessesCredentialsEnv varsSensitive pathsread-only (declared)
Execute any kubectl command. Use with caution.

        Args:
            command: kubectl command to execute (without kubectl prefix)
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_gettool List or get any Kubernetes resource, including custom resources (kubectl get).
List or get any Kubernetes resource, including custom resources (kubectl get).

        Args:
            resource_type: Kind, plural or short name, e.g. pods, deploy, svc, nodes, events, certificates.cert-manager.io
            name: A single resource name (omit to list)
            namespace: Namespace (omit for the context default; ignored for cluster-scoped kinds)
            all_namespaces: List across all namespaces
            label_selector: e.g. app=web,tier!=db
            field_selector: e.g. status.phase=Running or involvedObject.name=web-123
            output: table (default), wide, name, yaml or json. Secret values are always redacted
            sort_by: JSONPath to sort by, e.g. .lastTimestamp for events
            context: Kubernetes context (optional)
kubectl_logstool Get container logs (kubectl logs).
Get container logs (kubectl logs).

        Args:
            pod_name: Pod name, or TYPE/NAME such as deployment/web to pick a pod of a workload
            namespace: Namespace of the pod
            container: Container name for multi-container pods
            tail: Lines from the end (default 200; -1 for all)
            previous: Logs of the previous, crashed container instance
            since: Only newer logs, e.g. 10m or 2h
            context: Kubernetes context (optional)
kubectl_patchtool Patch a Kubernetes resource.Processesdestructive (declared)
Patch a Kubernetes resource.

        Args:
            resource_type: Type of resource to patch
            name: Name of the resource
            patch: JSON patch content
            patch_type: Type of patch (strategic, merge, json)
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_rollouttool Manage rollouts (restart, status, history, undo, pause, resume).Processesdestructive (declared)
Manage rollouts (restart, status, history, undo, pause, resume).

        Args:
            action: Rollout action (status, history, restart, undo, pause, resume)
            resource_type: Type of resource (deployment, statefulset, daemonset)
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_scaletool Scale a deployment, statefulset, replicaset or any scalable resource (kubectl scale).destructive (declared)
Scale a deployment, statefulset, replicaset or any scalable resource (kubectl scale).

        Args:
            resource_type: deployment, statefulset, replicaset, or another kind with a scale subresource
            name: Resource name
            replicas: Desired replica count (0 stops the workload and needs confirmation in confirm mode)
            namespace: Namespace
            context: Kubernetes context (optional)
kubectl_toptool CPU and memory usage of pods or nodes from metrics-server (kubectl top).
CPU and memory usage of pods or nodes from metrics-server (kubectl top).

        Args:
            resource: pods or nodes
            name: A single pod or node
            namespace: Namespace for pods
            all_namespaces: Pods across all namespaces
            containers: Per-container usage for pods
            sort_by: cpu or memory
            context: Kubernetes context (optional)
kubevirt_datasources_listtool List KubeVirt DataSources.Processesread-only (declared)
List KubeVirt DataSources.
kubevirt_datavolumes_listtool List KubeVirt DataVolumes (disk images).Processesread-only (declared)
List KubeVirt DataVolumes (disk images).
kubevirt_instancetypes_listtool List KubeVirt InstanceTypes (VM sizing templates).Processesread-only (declared)
List KubeVirt InstanceTypes (VM sizing templates).
kubevirt_vm_gettool Get detailed information about a VirtualMachine.Processesread-only (declared)
Get detailed information about a VirtualMachine.
kubevirt_vm_migratetool Trigger live migration of a VirtualMachine.Processesdestructive (declared)
Trigger live migration of a VirtualMachine.
kubevirt_vm_pausetool Pause a VirtualMachine.Processesdestructive (declared)
Pause a VirtualMachine.
kubevirt_vm_restarttool Restart a VirtualMachine.Processesdestructive (declared)
Restart a VirtualMachine.
kubevirt_vm_starttool Start a VirtualMachine.Processesdestructive (declared)
Start a VirtualMachine.
kubevirt_vm_stoptool Stop a VirtualMachine.Processesdestructive (declared)
Stop a VirtualMachine.
kubevirt_vm_unpausetool Unpause a VirtualMachine.Processesdestructive (declared)
Unpause a VirtualMachine.
kubevirt_vmis_listtool List running VirtualMachineInstances.Processesread-only (declared)
List running VirtualMachineInstances.
kubevirt_vms_listtool List KubeVirt VirtualMachines.Processesread-only (declared)
List KubeVirt VirtualMachines.
label_resourcetool Add or update labels on a resource.Processesdestructive (declared)
Add or update labels on a resource.

        Args:
            resource_type: Type of resource to label
            name: Name of the resource
            labels: Labels to apply (use None value to remove a label)
            namespace: Target namespace (optional)
            overwrite: Overwrite existing labels
            context: Kubernetes context to use (optional, uses current context if not specified)
list_backup_locationstool List Velero backup storage locations.Processesread-only (declared)
List Velero backup storage locations.
list_backup_schedulestool List Velero backup schedules.Processesread-only (declared)
List Velero backup schedules.
list_backupstool List Velero backups.Processesread-only (declared)
List Velero backups.
list_cert_challengestool List ACME challenges for debugging certificate issuance.Processesread-only (declared)
List ACME challenges for debugging certificate issuance.
list_cert_issuerstool List cert-manager Issuers and ClusterIssuers.Processesread-only (declared)
List cert-manager Issuers and ClusterIssuers.
list_cert_requeststool List CertificateRequests.Processesread-only (declared)
List CertificateRequests.
list_certstool List cert-manager certificates with status.Processesread-only (declared)
List cert-manager certificates with status.
list_contextstool List all available kubectl contexts with detailed info.CredentialsEnv varsSensitive pathsread-only (declared)
List all available kubectl contexts with detailed info.

        Returns all contexts from kubeconfig with cluster, user, namespace info.
list_custom_resourcestool List instances of any custom resource type.CredentialsEnv varsSensitive pathsread-only (declared)
List instances of any custom resource type.

        Use discover_crds or search_crds first to find the group/version/plural,
        then call this to list actual instances.

        Example: to list CloudNativePG database clusters:
          list_custom_resources(group="postgresql.cnpg.io", version="v1", plural="clusters")

        Args:
            group: API group (e.g., "postgresql.cnpg.io")
            version: API version (e.g., "v1", "v1beta1")
            plural: Plural resource name (e.g., "clusters", "certificates")
            namespace: Namespace (empty = all namespaces / cluster-scoped)
            label_selector: Label selector to filter
            limit: Maximum number of results
            context: Kubernetes context (uses current if not specified)
list_restorestool List Velero restores.Processesread-only (declared)
List Velero restores.
multi_cluster_healthtool Check health status across multiple Kubernetes clusters.read-only (declared)
Check health status across multiple Kubernetes clusters.

        Performs connectivity and version checks across specified clusters or all
        available contexts if none specified.

        Args:
            contexts: List of context names to check (optional, uses all contexts if not specified)

        Returns:
            Health status for each cluster including version, node count, and connectivity.
multi_cluster_pod_counttool Get pod counts across multiple clusters grouped by status or namespace.read-only (declared)
Get pod counts across multiple clusters grouped by status or namespace.

        Quickly see pod distribution across your clusters without fetching full pod details.

        Args:
            contexts: List of context names (optional, uses all contexts if not specified)
            namespace: Filter by namespace (optional, all namespaces if not specified)
            group_by: How to group results: "status" (Running/Pending/etc) or "namespace"

        Returns:
            Pod counts per cluster with grouping breakdown.
multi_cluster_querytool Query resources across multiple Kubernetes clusters simultaneously.read-only (declared)
Query resources across multiple Kubernetes clusters simultaneously.

        This tool allows you to query the same resource type across multiple clusters
        in a single request, returning aggregated results from all clusters.

        Args:
            contexts: List of context names to query (e.g., ["prod-us", "prod-eu", "staging"])
            resource: Resource type to query (pods, deployments, services, nodes, namespaces)
            namespace: Namespace to query (optional, all namespaces if not specified)
            label_selector: Label selector to filter resources (e.g., "app=nginx")
            field_selector: Field selector to filter resources (e.g., "status.phase=Running")

        Returns:
            Aggregated results from all specified clusters with per-cluster breakdown.

        Examples:
            - Get all pods across prod clusters: multi_cluster_query(contexts=["prod-us", "prod-eu"], resource="pods")
            - Get nginx deployments: multi_cluster_query(contexts=["dev", "staging"], resource="deployments", label_selector="app=nginx")
node_logstool Get logs from a Kubernetes node via kubelet API proxy.Processesread-only (declared)
Get logs from a Kubernetes node via kubelet API proxy.

        This tool retrieves logs from a node's kubelet service or system log files.
        Common service names: kubelet, kube-proxy, containerd, docker.
        For file paths, use the full path like /var/log/syslog or /var/log/messages.

        Args:
            name: Node name
            query: Service name (kubelet, kube-proxy) or log file path (/var/log/syslog)
            tail_lines: Number of lines from end (0 = all lines)
            context: Kubernetes context to use (uses current context if not specified)
node_managementtool Manage nodes: cordon, uncordon, or drain.Processesdestructive (declared)
Manage nodes: cordon, uncordon, or drain.

        Args:
            action: Action to perform (cordon, uncordon, drain)
            node_name: Name of the node
            force: Force drain (for drain action)
            context: Kubernetes context to use (optional, uses current context if not specified)
node_stats_summarytool Get resource usage statistics from node via kubelet Summary API.Processesread-only (declared)
Get resource usage statistics from node via kubelet Summary API.

        Returns CPU, memory, filesystem, and network usage at node, pod, and
        container levels. On systems with cgroup v2 and kernel 4.20+, may include
        PSI (Pressure Stall Information) metrics.

        This provides more detailed metrics than 'kubectl top nodes' including:
        - Node-level: CPU, memory, filesystem, network, runtime stats
        - Pod-level: CPU, memory, network, volume stats for each pod
        - Container-level: CPU, memory, rootfs, logs usage for each container

        Args:
            name: Node name
            context: Kubernetes context to use (uses current context if not specified)
optimize_resource_requeststool Suggest optimal resource requests based on current usage patterns.ProcessesNetworkCredentialsEnv varsSensitive pathsoutside textread-only (declared)
Suggest optimal resource requests based on current usage patterns.

        Args:
            namespace: Target namespace
            deployment_name: Specific deployment to analyze (optional, all deployments if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
promote_rollouttool Promote a paused Argo Rollout to the next step or full.Processesdestructive (declared)
Promote a paused Argo Rollout to the next step or full.
renew_certtool Trigger certificate renewal.Processesdestructive (declared)
Trigger certificate renewal.
restart_rollouttool Restart an Argo Rollout.Processesdestructive (declared)
Restart an Argo Rollout.
retry_rollouttool Retry an aborted Argo Rollout.Processesdestructive (declared)
Retry an aborted Argo Rollout.
run_podtool Run a container image as a pod (kubectl run equivalent).CredentialsEnv varsSensitive paths
Run a container image as a pod (kubectl run equivalent).

        Creates a pod with the specified container image. This is useful for
        quick debugging, running one-off tasks, or testing container images.

        Args:
            image: Container image to run (e.g., 'nginx:latest', 'busybox')
            name: Name for the pod (auto-generated if not specified)
            namespace: Namespace to create the pod in
            command: Override the container's entrypoint (list of strings)
            args: Arguments to pass to the container command (list of strings)
            env: Environment variables as key-value pairs
            labels: Labels to apply to the pod
            restart_policy: Pod restart policy (Never, OnFailure, Always)
            context: Kubernetes context to use (uses current context if not specified)

        Examples:
            - Run nginx: run_pod(image="nginx:latest")
            - Run busybox with command: run_pod(image="busybox", command=["sh", "-c"], args=["echo hello"])
            - Run with env vars: run_pod(image="alpine", env={"MY_VAR": "value"})
search_crdstool Search for CRDs by keyword, category, or concept.CredentialsEnv varsSensitive pathsread-only (declared)
Search for CRDs by keyword, category, or concept.

        Natural language search across all CRDs in the cluster. Examples:
        - "databases"    -> CNPG, MySQL, MongoDB, Redis operators
        - "certificates" -> cert-manager CRDs
        - "monitoring"   -> Prometheus, Grafana, VictoriaMetrics
        - "kafka"        -> Strimzi Kafka CRDs
        - "chaos"        -> Chaos Mesh, Litmus experiments
        - "machine learning" -> Kubeflow, KServe, Ray

        Args:
            query: Search keyword or concept
            context: Kubernetes context (uses current if not specified)
set_namespace_for_contexttool Set the default namespace for a context.Processesdestructive (declared)
Set the default namespace for a context.

        Args:
            namespace: Namespace to set as default
            context_name: Context to modify (uses current context if not specified)
switch_contexttool Switch to a different kubectl context (changes default context).Processesdestructive (declared)
Switch to a different kubectl context (changes default context).

        Args:
            context_name: Name of the context to switch to

        Note: This changes the default context in kubeconfig. For multi-cluster
        operations without changing default, use the 'context' parameter on
        individual tools instead.
taint_nodetool Add or remove taints on a node.Processesdestructive (declared)
Add or remove taints on a node.

        Args:
            node_name: Name of the node
            key: Taint key
            value: Taint value (optional)
            effect: Taint effect (NoSchedule, PreferNoSchedule, NoExecute)
            remove: Remove the taint instead of adding
            context: Kubernetes context to use (optional, uses current context if not specified)
trace_service_chaintool Trace the connection chain from service to pods.CredentialsEnv varsSensitive pathsread-only (declared)
Trace the connection chain from service to pods.

        Args:
            service_name: Name of the service to trace
            namespace: Namespace of the service
            context: Kubernetes context to use (uses current context if not specified)
uninstall_helm_charttool Uninstall a Helm release.destructive (declared)
Uninstall a Helm release.

        Args:
            name: Release name to uninstall
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
upgrade_helm_charttool Upgrade a Helm release.destructive (declared)
Upgrade a Helm release.

        Args:
            name: Release name
            chart: Chart reference
            namespace: Target namespace
            repo: Repository in format 'repo_name=repo_url'
            values: Values to override
            context: Kubernetes context to use (optional, uses current context if not specified)
vind_connecttool Connect kubectl to a vCluster instance.
Connect kubectl to a vCluster instance.
vind_create_clustertool Create a new vCluster instance.
Create a new vCluster instance.

        Args:
            name: Name for the new vCluster
            namespace: Namespace to create vCluster in
            kubernetes_version: Kubernetes version (e.g., "v1.29.0")
            values_file: Path to values.yaml file
            set_values: Comma-separated Helm-style value overrides
            connect: Update kubeconfig after creation
            upgrade: Upgrade existing vCluster instead of failing
vind_delete_clustertool Delete a vCluster instance.destructive (declared)
Delete a vCluster instance.
vind_describetool Describe a vCluster instance with detailed information.read-only (declared)
Describe a vCluster instance with detailed information.
vind_disconnecttool Disconnect from a vCluster instance.destructive (declared)
Disconnect from a vCluster instance.
vind_get_kubeconfigtool Get kubeconfig for a vCluster instance.read-only (declared)
Get kubeconfig for a vCluster instance.
vind_list_clusterstool List all vCluster instances.read-only (declared)
List all vCluster instances.
vind_pausetool Pause/sleep a vCluster instance to save resources.destructive (declared)
Pause/sleep a vCluster instance to save resources.
vind_resumetool Resume/wake a sleeping vCluster instance.destructive (declared)
Resume/wake a sleeping vCluster instance.
vind_statustool Get detailed status of a vCluster instance.read-only (declared)
Get detailed status of a vCluster instance.
vind_upgradetool Upgrade a vCluster instance.destructive (declared)
Upgrade a vCluster instance.

        Args:
            name: Name of the vCluster to upgrade
            namespace: Namespace of the vCluster
            kubernetes_version: New Kubernetes version
            values_file: Path to values.yaml file
            set_values: Comma-separated Helm-style value overrides
wait_for_conditiontool Wait for a resource to reach a specific condition.Processesread-only (declared)
Wait for a resource to reach a specific condition.

        Args:
            resource_type: Type of resource to wait for
            name: Name of the resource
            condition: Condition to wait for (e.g., condition=Ready, delete)
            namespace: Target namespace (optional)
            timeout: Timeout in seconds
            context: Kubernetes context to use (optional, uses current context if not specified)

Text the model reads (233)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

list_backups tool
List Velero backups.
get_backup tool
Get detailed information about a backup.
create_backup tool
Create a new Velero backup.
delete_backup tool
Delete a Velero backup.
list_restores tool
List Velero restores.
create_restore tool
Create a restore from a backup.
get_restore tool
Get detailed information about a restore.
list_backup_locations tool
List Velero backup storage locations.
list_backup_schedules tool
List Velero backup schedules.
create_backup_schedule tool
Create a backup schedule.
capi_list_clusters tool
List Cluster API managed clusters.
capi_get_cluster tool
Get detailed information about a CAPI cluster.
capi_list_machines tool
List Cluster API machines.
capi_get_machine tool
Get detailed information about a CAPI machine.
capi_list_machinedeployments tool
List Cluster API MachineDeployments.
capi_scale_machinedeployment tool
Scale a CAPI MachineDeployment.
capi_list_machinesets tool
List Cluster API MachineSets.
capi_list_machinehealthchecks tool
List Cluster API MachineHealthChecks.
capi_list_clusterclasses tool
List Cluster API ClusterClasses.
capi_get_cluster_kubeconfig tool
Get kubeconfig secret info for a CAPI cluster.
list_certs tool
List cert-manager certificates with status.
get_cert tool
Get detailed information about a certificate.
list_cert_issuers tool
List cert-manager Issuers and ClusterIssuers.
get_cert_issuer tool
Get detailed information about an Issuer or ClusterIssuer.
renew_cert tool
Trigger certificate renewal.
explain_cert_status tool
Explain certificate status with diagnosis and recommendations.
list_cert_challenges tool
List ACME challenges for debugging certificate issuance.
list_cert_requests tool
List CertificateRequests.
cilium_list_policies tool
List Cilium network policies.
cilium_get_policy tool
Get detailed information about a Cilium network policy.
cilium_list_endpoints tool
List Cilium endpoints with their status.
cilium_list_identities tool
List Cilium identities.
cilium_list_nodes tool
List Cilium nodes with their status.
cilium_get_status tool
Get Cilium cluster status.
get_hubble_flows tool
Query Hubble flows for network observability.
list_contexts tool
List all available kubectl contexts with detailed info.

        Returns all contexts from kubeconfig with cluster, user, namespace info.
get_context_details tool
Get details about a specific context.

        Args:
            context_name: Name of the context to get details for
kubeconfig_view tool
View kubeconfig file contents (sanitized - no secrets).

        Args:
            minify: If True, show only current context info. If False, show all.
switch_context tool
Switch to a different kubectl context (changes default context).

        Args:
            context_name: Name of the context to switch to

        Note: This changes the default context in kubeconfig. For multi-cluster
        operations without changing default, use the 'context' parameter on
        individual tools instead.
set_namespace_for_context tool
Set the default namespace for a context.

        Args:
            namespace: Namespace to set as default
            context_name: Context to modify (uses current context if not specified)
health_check tool
Perform a cluster health check.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
kubectl_explain tool
Explain a Kubernetes resource.

        Args:
            resource: Resource type to explain (e.g., pods, deployments.spec)
            context: Kubernetes context to use (uses current context if not specified)
get_api_resources tool
Get available API resources.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
get_nodes_summary tool
Get summary of all nodes in the cluster.

        Args:
            context: Kubernetes context to use (uses current context if not specified)
node_logs tool
Get logs from a Kubernetes node via kubelet API proxy.

        This tool retrieves logs from a node's kubelet service or system log files.
        Common service names: kubelet, kube-proxy, containerd, docker.
        For file paths, use the full path like /var/log/syslog or /var/log/messages.

        Args:
            name: Node name
            query: Service name (kubelet, kube-proxy) or log file path (/var/log/syslog)
            tail_lines: Number of lines from end (0 = all lines)
            context: Kubernetes context to use (uses current context if not specified)
node_stats_summary tool
Get resource usage statistics from node via kubelet Summary API.

        Returns CPU, memory, filesystem, and network usage at node, pod, and
        container levels. On systems with cgroup v2 and kernel 4.20+, may include
        PSI (Pressure Stall Information) metrics.

        This provides more detailed metrics than 'kubectl top nodes' including:
        - Node-level: CPU, memory, filesystem, network, runtime stats
        - Pod-level: CPU, memory, network, volume stats for each pod
        - Container-level: CPU, memory, rootfs, logs usage for each container

        Args:
            name: Node name
            context: Kubernetes context to use (uses current context if not specified)
multi_cluster_query tool
Query resources across multiple Kubernetes clusters simultaneously.

        This tool allows you to query the same resource type across multiple clusters
        in a single request, returning aggregated results from all clusters.

        Args:
            contexts: List of context names to query (e.g., ["prod-us", "prod-eu", "staging"])
            resource: Resource type to query (pods, deployments, services, nodes, namespaces)
            namespace: Namespace to query (optional, all namespaces if not specified)
            label_selector: Label selector to filter resources (e.g., "app=nginx")
            field_selector: Field selector to filter resources (e.g., "status.phase=Running")

        Returns:
            Aggregated results from all specified clusters with per-cluster breakdown.

        Examples:
            - Get all pods across prod clusters: multi_cluster_query(contexts=["prod-us", "prod-eu"], resource="pods")
            - Get nginx deployments: multi_cluster_query(contexts=["dev", "staging"], resource="deployments", label_selector="app=nginx")
multi_cluster_health tool
Check health status across multiple Kubernetes clusters.

        Performs connectivity and version checks across specified clusters or all
        available contexts if none specified.

        Args:
            contexts: List of context names to check (optional, uses all contexts if not specified)

        Returns:
            Health status for each cluster including version, node count, and connectivity.
multi_cluster_pod_count tool
Get pod counts across multiple clusters grouped by status or namespace.

        Quickly see pod distribution across your clusters without fetching full pod details.

        Args:
            contexts: List of context names (optional, uses all contexts if not specified)
            namespace: Filter by namespace (optional, all namespaces if not specified)
            group_by: How to group results: "status" (Running/Pending/etc) or "namespace"

        Returns:
            Pod counts per cluster with grouping breakdown.
get_resource_recommendations tool
Analyze resource usage and provide optimization recommendations for pods/deployments.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            resource_type: Type of resource to analyze
            context: Kubernetes context to use (optional, uses current context if not specified)
get_idle_resources tool
Find underutilized pods using less than threshold percentage of requested resources.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            cpu_threshold: CPU usage threshold percentage
            memory_threshold: Memory usage threshold percentage
            context: Kubernetes context to use (optional, uses current context if not specified)
get_resource_quotas_usage tool
Show resource quota usage and availability across namespaces.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_cost_analysis tool
Analyze resource costs by namespace and workload based on resource requests.

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_overprovisioned_resources tool
Find pods using significantly less resources than requested (over-provisioned).

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            threshold: Utilization threshold percentage below which resources are considered over-provisioned
            context: Kubernetes context to use (optional, uses current context if not specified)
get_resource_trends tool
Get current resource usage snapshot for trend analysis (requires metrics-server).

        Args:
            namespace: Target namespace (optional, all namespaces if not specified)
            resource_type: Type of resource to analyze (pods or nodes)
            context: Kubernetes context to use (optional, uses current context if not specified)
get_namespace_cost_allocation tool
Calculate resource allocation percentages across all namespaces.

        Args:
            context: Kubernetes context to use (optional, uses current context if not specified)
optimize_resource_requests tool
Suggest optimal resource requests based on current usage patterns.

        Args:
            namespace: Target namespace
            deployment_name: Specific deployment to analyze (optional, all deployments if not specified)
            context: Kubernetes context to use (optional, uses current context if not specified)
discover_crds tool
Discover all CRDs in the cluster with semantic categorization.

        Scans the cluster for every installed CRD and categorizes them into
        human-readable groups. Use this to answer questions like:
        - "What databases are in this cluster?"
        - "Is there a service mesh installed?"
        - "What monitoring stack is running?"

        Categories: databases, messaging, certificates, networking, service_mesh,
        monitoring, logging, gitops, progressive_delivery, autoscaling, storage,
        security, secrets_management, virtualization, ai_ml, workflows,
        cluster_management, serverless, dns, chaos_engineering, api_gateway,
        container_registry, identity

        Args:
            category: Filter by category (e.g., "databases"). Empty returns all.
            context: Kubernetes context (uses current if not specified)
search_crds tool
Search for CRDs by keyword, category, or concept.

        Natural language search across all CRDs in the cluster. Examples:
        - "databases"    -> CNPG, MySQL, MongoDB, Redis operators
        - "certificates" -> cert-manager CRDs
        - "monitoring"   -> Prometheus, Grafana, VictoriaMetrics
        - "kafka"        -> Strimzi Kafka CRDs
        - "chaos"        -> Chaos Mesh, Litmus experiments
        - "machine learning" -> Kubeflow, KServe, Ray

        Args:
            query: Search keyword or concept
            context: Kubernetes context (uses current if not specified)
list_custom_resources tool
List instances of any custom resource type.

        Use discover_crds or search_crds first to find the group/version/plural,
        then call this to list actual instances.

        Example: to list CloudNativePG database clusters:
          list_custom_resources(group="postgresql.cnpg.io", version="v1", plural="clusters")

        Args:
            group: API group (e.g., "postgresql.cnpg.io")
            version: API version (e.g., "v1", "v1beta1")
            plural: Plural resource name (e.g., "clusters", "certificates")
            namespace: Namespace (empty = all namespaces / cluster-scoped)
            label_selector: Label selector to filter
            limit: Maximum number of results
            context: Kubernetes context (uses current if not specified)
get_custom_resource tool
Get full details of a specific custom resource instance.

        Returns the complete spec, status, and metadata of a single resource.
        Use list_custom_resources first to find the name and namespace.

        Args:
            group: API group (e.g., "postgresql.cnpg.io")
            version: API version (e.g., "v1")
            plural: Plural resource name (e.g., "clusters")
            name: Resource instance name
            namespace: Namespace (required for namespaced resources)
            context: Kubernetes context (uses current if not specified)
describe_crd tool
Get schema and documentation for a CRD.

        Shows the OpenAPI schema so the LLM understands what fields a custom
        resource accepts. Useful for explaining what a resource type does
        and what configuration options are available.

        Args:
            crd_name: Full CRD name (e.g., "clusters.postgresql.cnpg.io")
            context: Kubernetes context (uses current if not specified)
compare_namespaces tool
Compare resources between two namespaces.

        Args:
            namespace1: First namespace to compare
            namespace2: Second namespace to compare
            resource_type: Type of resource to compare (deployment, service, configmap, secret)
            context: Kubernetes context to use (optional, uses current context if not specified)
gitops_apps_list tool
List GitOps applications from Flux or Argo CD.
gitops_app_get tool
Get details of a specific GitOps application.
gitops_app_sync tool
Trigger sync/reconciliation for a GitOps application.
gitops_app_status tool
Get sync status of a GitOps application.
gitops_sources_list tool
List Flux source resources (GitRepositories, HelmRepositories).
gitops_source_get tool
Get details of a Flux source resource.
install_helm_chart tool
Install a Helm chart.

        Args:
            name: Release name
            chart: Chart reference
            namespace: Target namespace
            repo: Repository in format 'repo_name=repo_url'
            values: Values to override
            context: Kubernetes context to use (optional, uses current context if not specified)
upgrade_helm_chart tool
Upgrade a Helm release.

        Args:
            name: Release name
            chart: Chart reference
            namespace: Target namespace
            repo: Repository in format 'repo_name=repo_url'
            values: Values to override
            context: Kubernetes context to use (optional, uses current context if not specified)
uninstall_helm_chart tool
Uninstall a Helm release.

        Args:
            name: Release name to uninstall
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_list tool
List Helm releases with optional filtering.

        Args:
            namespace: Target namespace (default: current namespace)
            all_namespaces: List releases across all namespaces
            filter: Filter releases by name using regex
            deployed: Show deployed releases only
            failed: Show failed releases only
            pending: Show pending releases only
            uninstalled: Show uninstalled releases (if kept with --keep-history)
            superseded: Show superseded releases only
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_status tool
Get the status of a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            revision: Show status for a specific revision (default: latest)
            show_desc: Show description of the release
            show_resources: Show resources created by the release
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_history tool
Get the revision history of a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            max_revisions: Maximum number of revisions to return
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_get tool
Get details of a Helm release: values, manifest, notes, hooks, or all.

        Args:
            release_name: Name of the release
            what: values (default), manifest, notes, hooks, or all
            namespace: Kubernetes namespace
            revision: Specific revision (default: latest)
            all_values: For values, include chart defaults, not just user-supplied values
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_show tool
Show chart information before installing: values, chart (Chart.yaml), readme, crds, or all.

        Args:
            chart: Chart reference (repo/chart, OCI URL, or local path)
            what: values (default), chart, readme, crds, or all
            repo: Chart repository URL
            version: Chart version constraint
            jsonpath: For values, a JSONPath expression to extract a subset
helm_search_repo tool
Search for charts in configured Helm repositories.

        Args:
            keyword: Search keyword
            regexp: Use regular expression for searching
            versions: Show all chart versions (not just latest)
            version: Version constraint (e.g., '>1.0.0')
            max_results: Maximum number of results
helm_search_hub tool
Search for charts in Artifact Hub (https://artifacthub.io).

        Args:
            keyword: Search keyword
            max_results: Maximum number of results
            list_repo_url: Show repository URL for each chart
helm_repo_list tool
List all configured Helm repositories.
helm_repo_add tool
Add a Helm chart repository.

        Args:
            name: Repository name (local alias)
            url: Repository URL
            username: Username for basic auth
            password: Password for basic auth
            force_update: Replace existing repo with same name
            pass_credentials: Pass credentials to all domains
helm_repo_remove tool
Remove a Helm chart repository.

        Args:
            name: Repository name to remove
helm_repo_update tool
Update Helm repository indexes.

        Args:
            repos: Specific repositories to update (default: all)
helm_rollback tool
Rollback a Helm release to a previous revision.

        Args:
            release_name: Name of the release
            revision: Revision number to rollback to (use helm_history to see revisions)
            namespace: Kubernetes namespace
            force: Force resource updates through delete/recreate
            recreate_pods: Force pod restarts
            cleanup_on_fail: Delete newly created resources on failure
            wait: Wait until all resources are ready
            timeout: Timeout for waiting
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_test tool
Run tests for a Helm release.

        Args:
            release_name: Name of the release
            namespace: Kubernetes namespace
            timeout: Timeout for tests
            logs: Show test pod logs
            filter: Filter tests by name
            context: Kubernetes context to use (optional, uses current context if not specified)
helm_lint tool
Lint a Helm chart for issues.

        Args:
            chart_path: Path to the chart directory
            values: Values file path or --set values
            strict: Fail on lint warnings
            with_subcharts: Lint dependent charts
helm_package tool
Package a Helm chart into a versioned archive.

        Args:
            chart_path: Path to the chart directory
            destination: Output directory for the package
            version: Override the chart version
            app_version: Override the app version
            dependency_update: Update dependencies before packaging
helm_dependency_update tool
Update chart dependencies (download from Chart.yaml).

        Args:
            chart_path: Path to the chart directory
            skip_refresh: Don't refresh repo cache
helm_dependency_list tool
List chart dependencies.

        Args:
            chart_path: Path to the chart directory
helm_dependency_build tool
Build chart dependencies from Chart.lock.

        Args:
            chart_path: Path to the chart directory
            skip_refresh: Don't refresh repo cache
helm_pull tool
Download a chart from a repository.

        Args:
            chart: Chart reference (e.g., 'bitnami/nginx')
            repo: Repository URL
            version: Specific chart version
            destination: Download directory
            untar: Extract the chart archive
helm_create tool
Create a new Helm chart with the given name.

        Args:
            name: Name of the chart to create
            starter: Name of the starter chart to use
helm_template tool
Render Helm chart templates locally without installing.

        Args:
            chart: Chart reference
            name: Release name for template
            namespace: Target namespace
            repo: Repository URL
            values: Set values on command line
            context: Kubernetes context to use (optional, uses current context if not specified)
keda_scaledobjects_list tool
List KEDA ScaledObjects with their scaling status.
keda_scaledobject_get tool
Get detailed information about a ScaledObject.
keda_scaledjobs_list tool
List KEDA ScaledJobs with their status.
keda_triggerauths_list tool
List KEDA TriggerAuthentications and ClusterTriggerAuthentications.
keda_triggerauth_get tool
Get detailed information about a TriggerAuthentication.
keda_hpa_list tool
List HPAs managed by KEDA.
istio_virtualservices_list tool
List Istio VirtualServices.
istio_virtualservice_get tool
Get detailed information about a VirtualService.
istio_destinationrules_list tool
List Istio DestinationRules.
istio_gateways_list tool
List Istio Gateways.
istio_peerauthentications_list tool
List Istio PeerAuthentication policies.
istio_authorizationpolicies_list tool
List Istio AuthorizationPolicies.
istio_proxy_status tool
Get Istio proxy synchronization status.
istio_analyze tool
Analyze Istio configuration for potential issues.
istio_sidecar_status tool
Get sidecar injection status for pods.
kind_list_clusters tool
List all kind clusters.
kind_get_nodes tool
List nodes in a kind cluster.

        Args:
            name: Name of the kind cluster (default: kind)
kind_get_kubeconfig tool
Get kubeconfig for a kind cluster.

        Args:
            name: Name of the kind cluster
            internal: Return internal (container) kubeconfig instead of external
kind_export_logs tool
Export cluster logs for debugging.

        Args:
            name: Name of the kind cluster
            output_dir: Directory to export logs to (default: temp directory)
kind_cluster_info tool
Get cluster information including nodes and kubeconfig.

        Args:
            name: Name of the kind cluster
kind_node_labels tool
Get node labels for kind cluster nodes.

        Args:
            name: Name of the kind cluster
kind_create_cluster tool
Create a new kind cluster.

        Args:
            name: Name for the new cluster (default: kind)
            image: Node image (determines K8s version, e.g., kindest/node:v1.29.0)
            config: Path to kind config YAML file for multi-node or custom setup
            wait: Wait timeout for control plane (default: 5m)
            retain: Retain nodes on creation failure for debugging
kind_delete_cluster tool
Delete a kind cluster.

        Args:
            name: Name of the cluster to delete
kind_load_image tool
Load Docker images into kind cluster nodes.

        This is a key feature for local development - load locally built
        images directly into the cluster without pushing to a registry.

        Args:
            images: Comma-separated list of Docker image names to load
            name: Name of the kind cluster
kind_load_image_archive tool
Load Docker images from tar archive into kind cluster.

        Args:
            archive: Path to image archive (tar file)
            name: Name of the kind cluster
kind_build_node_image tool
Build a kind node image from Kubernetes source.

        This is an advanced feature for testing custom Kubernetes builds.

        Args:
            image: Name for the resulting image (default: kindest/node:latest)
            base_image: Base image to use
            kube_root: Path to Kubernetes source root
kind_set_kubeconfig tool
Export kubeconfig and set as current context.

        This updates your KUBECONFIG to add the kind cluster context.

        Args:
            name: Name of the kind cluster
kind_config_validate tool
Validate kind configuration file before cluster creation.

        Args:
            config_path: Path to kind config YAML file
kind_config_generate tool
Generate kind config YAML for common scenarios.

        Args:
            name: Cluster name (for reference)
            workers: Number of worker nodes (default: 0)
            control_planes: Number of control-plane nodes (1 for single, 3 for HA)
            registry: Add local registry configuration
            ingress: Add port mappings for ingress (80, 443)
kind_config_show tool
Show effective config for a running cluster.

        Args:
            name: Name of the kind cluster
kind_available_images tool
List available kindest/node images (K8s versions).
kind_registry_create tool
Create local Docker registry for kind clusters.

        Args:
            name: Name for the registry container
            port: Host port to expose registry on
kind_registry_connect tool
Connect kind cluster to local registry.

        Args:
            cluster_name: Name of the kind cluster
            registry_name: Name of the registry container
kind_registry_status tool
Check local registry status.

        Args:
            name: Name of the registry container
kind_node_exec tool
Execute command on kind node container.

        Useful for debugging with crictl, journalctl, systemctl.

        Args:
            node: Node name (e.g., kind-control-plane)
            command: Command to execute
            cluster: Cluster name (for validation)
kind_node_logs tool
Get logs from kind node container.

        Args:
            node: Node name
            tail: Number of lines to return
kind_node_inspect tool
Inspect kind node container details.

        Args:
            node: Node name
kind_node_restart tool
Restart kind node container.

        Args:
            node: Node name to restart
kind_network_inspect tool
Inspect kind Docker network.

        Args:
            cluster: Cluster name (kind network is shared)
kind_port_mappings tool
List all port mappings for cluster.

        Args:
            cluster: Cluster name
kind_ingress_setup tool
Setup ingress controller on kind cluster.

        Args:
            cluster: Cluster name
            ingress_type: Type of ingress (nginx or contour)
kind_cluster_status tool
Get detailed cluster health status.

        Args:
            name: Cluster name
kind_images_list tool
List images on cluster nodes.

        Args:
            cluster: Cluster name
            node: Specific node (optional, defaults to control-plane)
kind_provider_info tool
Get container runtime provider info (Docker/Podman).
kubectl_get tool
List or get any Kubernetes resource, including custom resources (kubectl get).

        Args:
            resource_type: Kind, plural or short name, e.g. pods, deploy, svc, nodes, events, certificates.cert-manager.io
            name: A single resource name (omit to list)
            namespace: Namespace (omit for the context default; ignored for cluster-scoped kinds)
            all_namespaces: List across all namespaces
            label_selector: e.g. app=web,tier!=db
            field_selector: e.g. status.phase=Running or involvedObject.name=web-123
            output: table (default), wide, name, yaml or json. Secret values are always redacted
            sort_by: JSONPath to sort by, e.g. .lastTimestamp for events
            context: Kubernetes context (optional)
kubectl_logs tool
Get container logs (kubectl logs).

        Args:
            pod_name: Pod name, or TYPE/NAME such as deployment/web to pick a pod of a workload
            namespace: Namespace of the pod
            container: Container name for multi-container pods
            tail: Lines from the end (default 200; -1 for all)
            previous: Logs of the previous, crashed container instance
            since: Only newer logs, e.g. 10m or 2h
            context: Kubernetes context (optional)
kubectl_top tool
CPU and memory usage of pods or nodes from metrics-server (kubectl top).

        Args:
            resource: pods or nodes
            name: A single pod or node
            namespace: Namespace for pods
            all_namespaces: Pods across all namespaces
            containers: Per-container usage for pods
            sort_by: cpu or memory
            context: Kubernetes context (optional)
kubectl_scale tool
Scale a deployment, statefulset, replicaset or any scalable resource (kubectl scale).

        Args:
            resource_type: deployment, statefulset, replicaset, or another kind with a scale subresource
            name: Resource name
            replicas: Desired replica count (0 stops the workload and needs confirmation in confirm mode)
            namespace: Namespace
            context: Kubernetes context (optional)
detect_ecosystem tool
Detect installed operators (Flux, Argo CD, cert-manager, Kyverno, Istio, ...) and local CLIs, and report
        which toolsets or dedicated MCP servers cover them.

        Args:
            context: Kubernetes context (optional)
kubevirt_vms_list tool
List KubeVirt VirtualMachines.
kubevirt_vm_get tool
Get detailed information about a VirtualMachine.
kubevirt_vmis_list tool
List running VirtualMachineInstances.
kubevirt_vm_start tool
Start a VirtualMachine.
kubevirt_vm_stop tool
Stop a VirtualMachine.
kubevirt_vm_restart tool
Restart a VirtualMachine.
kubevirt_vm_pause tool
Pause a VirtualMachine.
kubevirt_vm_unpause tool
Unpause a VirtualMachine.
kubevirt_vm_migrate tool
Trigger live migration of a VirtualMachine.
kubevirt_datasources_list tool
List KubeVirt DataSources.
kubevirt_instancetypes_list tool
List KubeVirt InstanceTypes (VM sizing templates).
kubevirt_datavolumes_list tool
List KubeVirt DataVolumes (disk images).
diagnose_network_connectivity tool
Diagnose network connectivity between pods or to external endpoints.

        Args:
            source_pod: Name of the pod to test from
            target: Target hostname or IP to test connectivity to
            source_namespace: Namespace of the source pod
            port: Optional port number to test
            context: Kubernetes context to use (uses current context if not specified)
check_dns_resolution tool
Check DNS resolution from within the cluster.

        Args:
            hostname: Hostname to resolve
            namespace: Namespace to find a pod in
            pod_name: Specific pod to use for testing (optional)
            context: Kubernetes context to use (uses current context if not specified)
trace_service_chain tool
Trace the connection chain from service to pods.

        Args:
            service_name: Name of the service to trace
            namespace: Namespace of the service
            context: Kubernetes context to use (uses current context if not specified)
kubectl_apply tool
Apply a YAML manifest to the cluster.

        Args:
            manifest: YAML manifest content to apply
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_describe tool
Describe a Kubernetes resource in detail.

        Args:
            resource_type: Type of resource (e.g., pod, deployment, service)
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_generic tool
Execute any kubectl command. Use with caution.

        Args:
            command: kubectl command to execute (without kubectl prefix)
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_patch tool
Patch a Kubernetes resource.

        Args:
            resource_type: Type of resource to patch
            name: Name of the resource
            patch: JSON patch content
            patch_type: Type of patch (strategic, merge, json)
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_rollout tool
Manage rollouts (restart, status, history, undo, pause, resume).

        Args:
            action: Rollout action (status, history, restart, undo, pause, resume)
            resource_type: Type of resource (deployment, statefulset, daemonset)
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_create tool
Create a Kubernetes resource.

        Args:
            resource_type: Type of resource to create
            name: Name of the resource
            namespace: Target namespace
            image: Container image (for deployment/pod)
            context: Kubernetes context to use (optional, uses current context if not specified)
delete_resource tool
Delete a Kubernetes resource.

        Args:
            resource_type: Type of resource to delete
            name: Name of the resource
            namespace: Target namespace
            context: Kubernetes context to use (optional, uses current context if not specified)
kubectl_cp tool
Copy files between local filesystem and pods.

        Use pod:path format for pod paths, e.g.:
        - Local to pod: kubectl_cp("/tmp/file.txt", "mypod:/tmp/file.txt")
        - Pod to local: kubectl_cp("mypod:/tmp/file.txt", "/tmp/file.txt")

        Args:
            source: Source path (local path or pod:path)
            destination: Destination path (local path or pod:path)
            namespace: Target namespace
            container: Container name (optional)
            context: Kubernetes context to use (optional, uses current context if not specified)
backup_resource tool
Export a resource as YAML for backup or migration.

        Args:
            resource_type: Type of resource to export
            name: Name of the resource
            namespace: Target namespace (optional)
            context: Kubernetes context to use (optional, uses current context if not specified)
label_resource tool
Add or update labels on a resource.

        Args:
            resource_type: Type of resource to label
            name: Name of the resource
            labels: Labels to apply (use None value to remove a label)
            namespace: Target namespace (optional)
            overwrite: Overwrite existing labels
            context: Kubernetes context to use (optional, uses current context if not specified)
annotate_resource tool
Add or update annotations on a resource.

        Args:
            resource_type: Type of resource to annotate
            name: Name of the resource
            annotations: Annotations to apply (use None value to remove)
            namespace: Target namespace (optional)
            overwrite: Overwrite existing annotations
            context: Kubernetes context to use (optional, uses current context if not specified)
taint_node tool
Add or remove taints on a node.

        Args:
            node_name: Name of the node
            key: Taint key
            value: Taint value (optional)
            effect: Taint effect (NoSchedule, PreferNoSchedule, NoExecute)
            remove: Remove the taint instead of adding
            context: Kubernetes context to use (optional, uses current context if not specified)
wait_for_condition tool
Wait for a resource to reach a specific condition.

        Args:
            resource_type: Type of resource to wait for
            name: Name of the resource
            condition: Condition to wait for (e.g., condition=Ready, delete)
            namespace: Target namespace (optional)
            timeout: Timeout in seconds
            context: Kubernetes context to use (optional, uses current context if not specified)
node_management tool
Manage nodes: cordon, uncordon, or drain.

        Args:
            action: Action to perform (cordon, uncordon, drain)
            node_name: Name of the node
            force: Force drain (for drain action)
            context: Kubernetes context to use (optional, uses current context if not specified)
check_pod_health tool
Check the health status of a pod.

        Args:
            pod_name: Name of the pod
            namespace: Namespace of the pod
            context: Kubernetes context to use (uses current context if not specified)
exec_in_pod tool
Execute a command inside a pod.

        Args:
            pod_name: Name of the pod
            command: Command to execute
            namespace: Namespace of the pod
            container: Container name (for multi-container pods)
            context: Kubernetes context to use (uses current context if not specified)
cleanup_pods tool
Clean up pods in problematic states (Evicted, Error, Completed, etc.).

        Args:
            namespace: Namespace to clean up (all namespaces if not specified)
            states: List of states to clean up (default: Evicted, Error, Completed, ContainerStatusUnknown)
            context: Kubernetes context to use (uses current context if not specified)
run_pod tool
Run a container image as a pod (kubectl run equivalent).

        Creates a pod with the specified container image. This is useful for
        quick debugging, running one-off tasks, or testing container images.

        Args:
            image: Container image to run (e.g., 'nginx:latest', 'busybox')
            name: Name for the pod (auto-generated if not specified)
            namespace: Namespace to create the pod in
            command: Override the container's entrypoint (list of strings)
            args: Arguments to pass to the container command (list of strings)
            env: Environment variables as key-value pairs
            labels: Labels to apply to the pod
            restart_policy: Pod restart policy (Never, OnFailure, Always)
            context: Kubernetes context to use (uses current context if not specified)

        Examples:
            - Run nginx: run_pod(image="nginx:latest")
            - Run busybox with command: run_pod(image="busybox", command=["sh", "-c"], args=["echo hello"])
            - Run with env vars: run_pod(image="alpine", env={"MY_VAR": "value"})
diagnose_pod_crash tool
Automated diagnosis of pod crash loops and failures.

        Args:
            pod_name: Name of the pod
            namespace: Namespace of the pod
            context: Kubernetes context to use (uses current context if not specified)
detect_pending_pods tool
Find pending pods and explain why they are not scheduled.

        Args:
            namespace: Namespace to search (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
get_evicted_pods tool
Find evicted pods with their eviction reasons.

        Args:
            namespace: Namespace to search (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
get_policy_list tool
List policies from Kyverno or Gatekeeper.
get_policy tool
Get detailed information about a policy.
get_policy_violations tool
List policy violations from PolicyReports or Gatekeeper.
explain_policy_denial tool
Explain an admission denial message by matching against policies.
audit_policies tool
Audit resources against installed policies.
get_rollouts_list tool
List Argo Rollouts with their status.
get_rollout tool
Get detailed information about an Argo Rollout.
get_rollout_status tool
Get current status of an Argo Rollout with step details.
promote_rollout tool
Promote a paused Argo Rollout to the next step or full.
abort_rollout tool
Abort an Argo Rollout.
retry_rollout tool
Retry an aborted Argo Rollout.
restart_rollout tool
Restart an Argo Rollout.
get_analysis_runs tool
List Argo Rollouts AnalysisRuns.
get_flagger_canaries tool
List Flagger Canary resources.
get_flagger_canary tool
Get detailed information about a Flagger Canary.
analyze_pod_security tool
Analyze pod security configurations.

        Args:
            namespace: Namespace to analyze pods in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
analyze_network_policies tool
Analyze network policies in the cluster.

        Args:
            namespace: Namespace to analyze policies in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
audit_rbac_permissions tool
Audit RBAC permissions for subjects.

        Args:
            namespace: Namespace to audit (cluster-wide if not specified)
            subject: Filter by subject name
            context: Kubernetes context to use (uses current context if not specified)
check_secrets_security tool
Check security posture of secrets.

        Args:
            namespace: Namespace to check secrets in (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
get_pod_security_info tool
Get Pod Security Standards information for namespaces.

        Args:
            namespace: Namespace to check (all namespaces if not specified)
            context: Kubernetes context to use (uses current context if not specified)
vind_list_clusters tool
List all vCluster instances.
vind_status tool
Get detailed status of a vCluster instance.
vind_get_kubeconfig tool
Get kubeconfig for a vCluster instance.
vind_create_cluster tool
Create a new vCluster instance.

        Args:
            name: Name for the new vCluster
            namespace: Namespace to create vCluster in
            kubernetes_version: Kubernetes version (e.g., "v1.29.0")
            values_file: Path to values.yaml file
            set_values: Comma-separated Helm-style value overrides
            connect: Update kubeconfig after creation
            upgrade: Upgrade existing vCluster instead of failing
vind_delete_cluster tool
Delete a vCluster instance.
vind_pause tool
Pause/sleep a vCluster instance to save resources.
vind_resume tool
Resume/wake a sleeping vCluster instance.
vind_connect tool
Connect kubectl to a vCluster instance.
vind_disconnect tool
Disconnect from a vCluster instance.
vind_upgrade tool
Upgrade a vCluster instance.

        Args:
            name: Name of the vCluster to upgrade
            namespace: Namespace of the vCluster
            kubernetes_version: New Kubernetes version
            values_file: Path to values.yaml file
            set_values: Comma-separated Helm-style value overrides
vind_describe tool
Describe a vCluster instance with detailed information.
fn tool
handler prompt
troubleshoot_workload prompt
Comprehensive troubleshooting guide for Kubernetes workloads.
deploy_application prompt
Step-by-step guide for deploying applications to Kubernetes.
security_audit prompt
Security audit workflow for Kubernetes clusters.
cost_optimization prompt
Cost optimization analysis workflow.
disaster_recovery prompt
Disaster recovery planning and execution workflow.
debug_networking prompt
Network debugging workflow for Kubernetes services.
scale_application prompt
Application scaling guide with best practices.
upgrade_cluster prompt
Kubernetes cluster upgrade planning guide.
get_kubeconfig_contexts resource
List all available kubectl contexts.
get_current_context resource
Get the current active kubectl context.
get_current_namespace resource
Get the current namespace from kubectl context.
list_all_namespaces resource
List all namespaces in the cluster.
get_cluster_info resource
Get cluster information including version and nodes.
get_cluster_nodes resource
Get detailed information about all cluster nodes.
get_cluster_version resource
Get Kubernetes cluster version.
get_api_resources resource
Get available API resources in the cluster.
get_deployment_manifest resource
Get YAML manifest for a specific deployment.
get_service_manifest resource
Get YAML manifest for a specific service.
get_configmap_manifest resource
Get YAML manifest for a specific ConfigMap.
get_pod_manifest resource
Get YAML manifest for a specific pod.
get_secret_manifest resource
Get YAML manifest for a specific secret (data masked).
get_ingress_manifest resource
Get YAML manifest for a specific ingress.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure4.7
  • Runs programs the caller chooses MEDIUM
    1 finding in helm_template; 1 more to review
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 232 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 232 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 232 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 232 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    131 of 233 capabilities start processes; 93 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 233 capabilities; 224 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    5 of 233 capabilities call the network; 219 more call code the scanner could not follow, where it may happen
Where the code is: 233 handlers in 25 files at commit a3fef9fe2310
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: package.json, requirements.txt
  • Lockfiles checked against OSV
    2 files resolved and checked against the OSV database; 2 not resolved: requirements.txt: 19 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp >=4.1,<5
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    27 of 233 capabilities read credentials; 197 more call code the scanner could not follow, where it may happen
  • Environment variables
    27 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

  • CRITICAL
    GHSA-94gr-w3q5-rfqrCVE-2025-65719
    Open Source Kubectl MCP Server vulnerable to arbitrary code execution via user interaction with crafted HTML page
    2026-05-12fixed in 1.2.0
  • CRITICAL
    GHSA-q2w8-w8pj-c9whCVE-2025-69902
    A command injection vulnerability in the minimal_wrapper.py component of kubectl-mcp-server v1.2....
    2026-03-16no fixed version listed

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=4.1,<5
Servers in the code20 (kubernetes, test-server, test)

The project's own security

Security policyyes SECURITY.md
Private reportingmentioned the policy names a private channel
Past advisories2 · 1 with a fixed version released
Last push2026-10-22
Signed releasesnot checked yet

Install it

For the server's own npm package kubectl-mcp-server. Pin a version ([email protected]) so an update cannot change the tools without you noticing.

Claude Desktop claude_desktop_config.json
{
  "mcpServers": {
    "kubectl-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "kubectl-mcp-server"
      ]
    }
  }
}
Cursor ~/.cursor/mcp.json
{
  "mcpServers": {
    "kubectl-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "kubectl-mcp-server"
      ]
    }
  }
}
VS Code .vscode/mcp.json
{
  "servers": {
    "kubectl-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kubectl-mcp-server"
      ]
    }
  }
}
Claude Code terminal
claude mcp add kubectl-mcp-server -- npx -y kubectl-mcp-server

Where it is published

npm packagekubectl-mcp-server
Other npm packages
1 package by other publishers point to this repository

Not published by the repository's owner; check who publishes a package before you install it.

Listed in10 catalogs (awesome_habitoai, awesome_punkpeye, awesome_rohitg00, awesome_tensorblock, docker_catalog, github_search, glama, mcp_toplist, mcpservers_org, npm)
LicenseMIT
Created2025-03-23
Topicsai deployment devops genai kubernetes kubernetes-cluster kubernetes-tools llms mcp mcp-server

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.