1. Conduid
  2. Developer Tools
  3. Kubectl MCP Server.git
MCP server · Developer Tools

Kubectl MCP Server.git

Published in CNCF Landscape: A MCP server for Kubernetes.

Unclaimed MIT devtools
71Good

Scored 17 hours ago · breakdown

About Kubectl MCP Server.git

Kubectl MCP Server.git is an MCP server published by rohitg00 in the Developer Tools category: published in CNCF Landscape: A MCP server for Kubernetes. Conduid read 198 tools from its source: abort_rollout, analyze_network_policies, analyze_pod_security, annotate_resource, audit_policies, audit_rbac_permissions and 192 more. No package is published for it, so it installs from a source checkout.

The repository has 974 stars and 188 forks, is licensed MIT, and its last commit was on 22 Oct 2026. The latest release is v2.0.0 (22 Oct 2026): kubectl-mcp-server 2.0.0 moves to the stateless MCP 2026-07-28 protocol, fixes fresh installs, hardens network exposure, and cuts the default tool list from 281 to 26. It follows v1.24.0 (20 Feb 2026), and the 5 most recent releases go back to v1.22.0 (2 Feb 2026). It passes 3 of the 4 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include devtools.

Install

From source
git clone https://github.com/rohitg00/kubectl-mcp-server.git

Tools (198)

abort_rolloutAbort an Argo Rollout.
ParameterTypeDescription
name *string
namespace *string
analyze_network_policiesAnalyze network policies in the cluster.
ParameterTypeDescription
namespacestringNamespace to analyze policies in (all namespaces if not specified)
analyze_pod_securityAnalyze pod security configurations.
ParameterTypeDescription
namespacestringNamespace to analyze pods in (all namespaces if not specified)
annotate_resourceAdd or update annotations on a resource.
ParameterTypeDescription
annotations *objectAnnotations to apply (use None value to remove)
name *stringName of the resource
namespacestringTarget namespace (optional)
overwritebooleanOverwrite existing annotations
resource_type *stringType of resource to annotate
audit_policiesAudit resources against installed policies.
ParameterTypeDescription
namespacestring
resource_kindstring
audit_rbac_permissionsAudit RBAC permissions for subjects.
ParameterTypeDescription
namespacestringNamespace to audit (cluster-wide if not specified)
subjectstringFilter by subject name
backup_resourceExport a resource as YAML for backup or migration.
ParameterTypeDescription
name *stringName of the resource
namespacestringTarget namespace (optional)
resource_type *stringType of resource to export
capi_get_clusterGet detailed information about a CAPI cluster.
ParameterTypeDescription
name *string
namespace *string
capi_get_cluster_kubeconfigGet kubeconfig secret info for a CAPI cluster.
ParameterTypeDescription
name *string
namespace *string
capi_get_machineGet detailed information about a CAPI machine.
ParameterTypeDescription
name *string
namespace *string
capi_list_clusterclassesList Cluster API ClusterClasses.
ParameterTypeDescription
label_selectorstring
namespacestring
capi_list_clustersList Cluster API managed clusters.
ParameterTypeDescription
label_selectorstring
namespacestring
capi_list_machinedeploymentsList Cluster API MachineDeployments.
ParameterTypeDescription
cluster_namestring
label_selectorstring
namespacestring
capi_list_machinehealthchecksList Cluster API MachineHealthChecks.
ParameterTypeDescription
cluster_namestring
label_selectorstring
namespacestring
capi_list_machinesList Cluster API machines.
ParameterTypeDescription
cluster_namestring
label_selectorstring
namespacestring
capi_list_machinesetsList Cluster API MachineSets.
ParameterTypeDescription
cluster_namestring
label_selectorstring
namespacestring
capi_scale_machinedeploymentScale a CAPI MachineDeployment.
ParameterTypeDescription
name *string
namespace *string
replicas *integer
check_dns_resolutionCheck DNS resolution from within the cluster.
ParameterTypeDescription
hostname *stringHostname to resolve
namespacestringNamespace to find a pod in
pod_namestringSpecific pod to use for testing (optional)
check_pod_healthCheck the health status of a pod.
ParameterTypeDescription
namespacestringNamespace of the pod
pod_name *stringName of the pod
check_secrets_securityCheck security posture of secrets.
ParameterTypeDescription
namespacestringNamespace to check secrets in (all namespaces if not specified)
cilium_get_policyGet detailed information about a Cilium network policy.
ParameterTypeDescription
kindstring
name *string
namespacestring
cilium_get_statusGet Cilium cluster status.
cilium_list_endpointsList Cilium endpoints with their status.
ParameterTypeDescription
label_selectorstring
namespacestring
cilium_list_identitiesList Cilium identities.
ParameterTypeDescription
label_selectorstring
cilium_list_nodesList Cilium nodes with their status.
cilium_list_policiesList Cilium network policies.
ParameterTypeDescription
include_clusterwideboolean
namespacestring
cleanup_podsClean up pods in problematic states (Evicted, Error, Completed, etc.).
ParameterTypeDescription
namespacestringNamespace to clean up (all namespaces if not specified)
statesarrayList of states to clean up (default: Evicted, Error, Completed, ContainerStatusUnknown)
compare_namespacesCompare resources between two namespaces.
ParameterTypeDescription
namespace1 *stringFirst namespace to compare
namespace2 *stringSecond namespace to compare
resource_typestringType of resource to compare (deployment, service, configmap, secret)
create_backupCreate a new Velero backup.
ParameterTypeDescription
excluded_namespacesstring
included_namespacesstring
namestring
namespacestring
snapshot_volumesboolean
ttlstring
create_backup_scheduleCreate a backup schedule.
ParameterTypeDescription
excluded_namespacesstring
included_namespacesstring
name *string
namespacestring
schedule *string
ttlstring
create_restoreCreate a restore from a backup.
ParameterTypeDescription
backup_name *string
excluded_namespacesstring
included_namespacesstring
namestring
namespacestring
restore_pvsboolean
delete_backupDelete a Velero backup.
ParameterTypeDescription
name *string
namespacestring
delete_resourceDelete a Kubernetes resource.
ParameterTypeDescription
name *stringName of the resource
namespacestringTarget namespace
resource_type *stringType of resource to delete
describe_crdGet schema and documentation for a CRD.
ParameterTypeDescription
crd_name *stringFull CRD name (e.g., "clusters.postgresql.cnpg.io")
detect_ecosystemDetect installed operators (Flux, Argo CD, cert-manager, Kyverno, Istio, ...) and local CLIs, and report
detect_pending_podsFind pending pods and explain why they are not scheduled.
ParameterTypeDescription
namespacestringNamespace to search (all namespaces if not specified)
diagnose_network_connectivityDiagnose network connectivity between pods or to external endpoints.
ParameterTypeDescription
portintegerOptional port number to test
source_namespacestringNamespace of the source pod
source_pod *stringName of the pod to test from
target *stringTarget hostname or IP to test connectivity to
diagnose_pod_crashAutomated diagnosis of pod crash loops and failures.
ParameterTypeDescription
namespacestringNamespace of the pod
pod_name *stringName of the pod
discover_crdsDiscover all CRDs in the cluster with semantic categorization.
ParameterTypeDescription
categorystringFilter by category (e.g., "databases"). Empty returns all.
exec_in_podExecute a command inside a pod.
ParameterTypeDescription
command *stringCommand to execute
containerstringContainer name (for multi-container pods)
namespacestringNamespace of the pod
pod_name *stringName of the pod
explain_cert_statusExplain certificate status with diagnosis and recommendations.
ParameterTypeDescription
name *string
namespace *string
explain_policy_denialExplain an admission denial message by matching against policies.
ParameterTypeDescription
message *string
get_analysis_runsList Argo Rollouts AnalysisRuns.
ParameterTypeDescription
label_selectorstring
namespacestring
get_api_resourcesGet available API resources.
get_backupGet detailed information about a backup.
ParameterTypeDescription
name *string
namespacestring
get_certGet detailed information about a certificate.
ParameterTypeDescription
name *string
namespace *string
get_cert_issuerGet detailed information about an Issuer or ClusterIssuer.
ParameterTypeDescription
kindstring
name *string
namespacestring
get_context_detailsGet details about a specific context.
ParameterTypeDescription
context_name *stringName of the context to get details for
get_cost_analysisAnalyze resource costs by namespace and workload based on resource requests.
ParameterTypeDescription
namespacestringTarget namespace (optional, all namespaces if not specified)
get_custom_resourceGet full details of a specific custom resource instance.
ParameterTypeDescription
group *stringAPI group (e.g., "postgresql.cnpg.io")
name *stringResource instance name
namespacestringNamespace (required for namespaced resources)
plural *stringPlural resource name (e.g., "clusters")
version *stringAPI version (e.g., "v1")
get_evicted_podsFind evicted pods with their eviction reasons.
ParameterTypeDescription
namespacestringNamespace to search (all namespaces if not specified)
get_flagger_canariesList Flagger Canary resources.
ParameterTypeDescription
label_selectorstring
namespacestring
get_flagger_canaryGet detailed information about a Flagger Canary.
ParameterTypeDescription
name *string
namespace *string
get_hubble_flowsQuery Hubble flows for network observability.
ParameterTypeDescription
label_selectorstring
lastinteger
namespacestring
podstring
protocolstring
verdictstring
get_idle_resourcesFind underutilized pods using less than threshold percentage of requested resources.
ParameterTypeDescription
cpu_thresholdnumberCPU usage threshold percentage
memory_thresholdnumberMemory usage threshold percentage
namespacestringTarget namespace (optional, all namespaces if not specified)
get_namespace_cost_allocationCalculate resource allocation percentages across all namespaces.
get_nodes_summaryGet summary of all nodes in the cluster.
get_overprovisioned_resourcesFind pods using significantly less resources than requested (over-provisioned).
ParameterTypeDescription
namespacestringTarget namespace (optional, all namespaces if not specified)
thresholdnumberUtilization threshold percentage below which resources are considered over-provisioned
get_pod_security_infoGet Pod Security Standards information for namespaces.
ParameterTypeDescription
namespacestringNamespace to check (all namespaces if not specified)
get_policyGet detailed information about a policy.
ParameterTypeDescription
kindstring
name *string
namespacestring
get_policy_listList policies from Kyverno or Gatekeeper.
ParameterTypeDescription
enginestring
label_selectorstring
namespacestring
get_policy_violationsList policy violations from PolicyReports or Gatekeeper.
ParameterTypeDescription
enginestring
namespacestring
severitystring
get_resource_quotas_usageShow resource quota usage and availability across namespaces.
ParameterTypeDescription
namespacestringTarget namespace (optional, all namespaces if not specified)
get_resource_recommendationsAnalyze resource usage and provide optimization recommendations for pods/deployments.
ParameterTypeDescription
namespacestringTarget namespace (optional, all namespaces if not specified)
resource_typestringType of resource to analyze
get_resource_trendsGet current resource usage snapshot for trend analysis (requires metrics-server).
ParameterTypeDescription
namespacestringTarget namespace (optional, all namespaces if not specified)
resource_typestringType of resource to analyze (pods or nodes)
get_restoreGet detailed information about a restore.
ParameterTypeDescription
name *string
namespacestring
get_rolloutGet detailed information about an Argo Rollout.
ParameterTypeDescription
name *string
namespace *string
get_rollout_statusGet current status of an Argo Rollout with step details.
ParameterTypeDescription
name *string
namespace *string
get_rollouts_listList Argo Rollouts with their status.
ParameterTypeDescription
label_selectorstring
namespacestring
gitops_app_getGet details of a specific GitOps application.
ParameterTypeDescription
kind *string
name *string
namespace *string
gitops_app_statusGet sync status of a GitOps application.
ParameterTypeDescription
kind *string
name *string
namespace *string
gitops_app_syncTrigger sync/reconciliation for a GitOps application.
ParameterTypeDescription
kind *string
name *string
namespace *string
gitops_apps_listList GitOps applications from Flux or Argo CD.
ParameterTypeDescription
kindstring
label_selectorstring
namespacestring
gitops_source_getGet details of a Flux source resource.
ParameterTypeDescription
kind *string
name *string
namespace *string
gitops_sources_listList Flux source resources (GitRepositories, HelmRepositories).
ParameterTypeDescription
kindstring
label_selectorstring
namespacestring
health_checkPerform a cluster health check.
helm_createCreate a new Helm chart with the given name.
ParameterTypeDescription
name *stringName of the chart to create
starterstringName of the starter chart to use
helm_dependency_buildBuild chart dependencies from Chart.lock.
ParameterTypeDescription
chart_path *stringPath to the chart directory
skip_refreshbooleanDon't refresh repo cache
helm_dependency_listList chart dependencies.
ParameterTypeDescription
chart_path *stringPath to the chart directory
helm_dependency_updateUpdate chart dependencies (download from Chart.yaml).
ParameterTypeDescription
chart_path *stringPath to the chart directory
skip_refreshbooleanDon't refresh repo cache
helm_getGet details of a Helm release: values, manifest, notes, hooks, or all.
ParameterTypeDescription
all_valuesbooleanFor values, include chart defaults, not just user-supplied values
namespacestringKubernetes namespace
release_name *stringName of the release
revisionintegerSpecific revision (default: latest)
whatstringvalues (default), manifest, notes, hooks, or all
helm_historyGet the revision history of a Helm release.
ParameterTypeDescription
max_revisionsintegerMaximum number of revisions to return
namespacestringKubernetes namespace
release_name *stringName of the release
helm_lintLint a Helm chart for issues.
ParameterTypeDescription
chart_path *stringPath to the chart directory
strictbooleanFail on lint warnings
valuesstringValues file path or --set values
with_subchartsbooleanLint dependent charts
helm_listList Helm releases with optional filtering.
ParameterTypeDescription
all_namespacesbooleanList releases across all namespaces
deployedbooleanShow deployed releases only
failedbooleanShow failed releases only
filterstringFilter releases by name using regex
namespacestringTarget namespace (default: current namespace)
pendingbooleanShow pending releases only
supersededbooleanShow superseded releases only
uninstalledbooleanShow uninstalled releases (if kept with --keep-history)
helm_packagePackage a Helm chart into a versioned archive.
ParameterTypeDescription
app_versionstringOverride the app version
chart_path *stringPath to the chart directory
dependency_updatebooleanUpdate dependencies before packaging
destinationstringOutput directory for the package
versionstringOverride the chart version
helm_pullDownload a chart from a repository.
ParameterTypeDescription
chart *stringChart reference (e.g., 'bitnami/nginx')
destinationstringDownload directory
repostringRepository URL
untarbooleanExtract the chart archive
versionstringSpecific chart version
helm_repo_addAdd a Helm chart repository.
ParameterTypeDescription
force_updatebooleanReplace existing repo with same name
name *stringRepository name (local alias)
pass_credentialsbooleanPass credentials to all domains
passwordstringPassword for basic auth
url *stringRepository URL
usernamestringUsername for basic auth
helm_repo_listList all configured Helm repositories.
helm_repo_removeRemove a Helm chart repository.
ParameterTypeDescription
name *stringRepository name to remove
helm_repo_updateUpdate Helm repository indexes.
ParameterTypeDescription
reposarraySpecific repositories to update (default: all)
helm_rollbackRollback a Helm release to a previous revision.
ParameterTypeDescription
cleanup_on_failbooleanDelete newly created resources on failure
forcebooleanForce resource updates through delete/recreate
namespacestringKubernetes namespace
recreate_podsbooleanForce pod restarts
release_name *stringName of the release
revision *integerRevision number to rollback to (use helm_history to see revisions)
timeoutstringTimeout for waiting
waitbooleanWait until all resources are ready
helm_search_hubSearch for charts in Artifact Hub (https://artifacthub.io).
ParameterTypeDescription
keyword *stringSearch keyword
list_repo_urlbooleanShow repository URL for each chart
max_resultsintegerMaximum number of results
helm_search_repoSearch for charts in configured Helm repositories.
ParameterTypeDescription
keyword *stringSearch keyword
max_resultsintegerMaximum number of results
regexpbooleanUse regular expression for searching
versionstringVersion constraint (e.g., '>1.0.0')
versionsbooleanShow all chart versions (not just latest)
helm_showShow chart information before installing: values, chart (Chart.yaml), readme, crds, or all.
ParameterTypeDescription
chart *stringChart reference (repo/chart, OCI URL, or local path)
jsonpathstringFor values, a JSONPath expression to extract a subset
repostringChart repository URL
versionstringChart version constraint
whatstringvalues (default), chart, readme, crds, or all
helm_statusGet the status of a Helm release.
ParameterTypeDescription
namespacestringKubernetes namespace
release_name *stringName of the release
revisionintegerShow status for a specific revision (default: latest)
show_descbooleanShow description of the release
show_resourcesbooleanShow resources created by the release
helm_templateRender Helm chart templates locally without installing.
ParameterTypeDescription
chart *stringChart reference
name *stringRelease name for template
namespacestringTarget namespace
repostringRepository URL
valuesstringSet values on command line
helm_testRun tests for a Helm release.
ParameterTypeDescription
filterstringFilter tests by name
logsbooleanShow test pod logs
namespacestringKubernetes namespace
release_name *stringName of the release
timeoutstringTimeout for tests
install_helm_chartInstall a Helm chart.
ParameterTypeDescription
chart *stringChart reference
name *stringRelease name
namespace *stringTarget namespace
repostringRepository in format 'repo_name=repo_url'
valuesobjectValues to override
istio_analyzeAnalyze Istio configuration for potential issues.
ParameterTypeDescription
namespacestring
istio_authorizationpolicies_listList Istio AuthorizationPolicies.
ParameterTypeDescription
label_selectorstring
namespacestring
istio_destinationrules_listList Istio DestinationRules.
ParameterTypeDescription
label_selectorstring
namespacestring
istio_gateways_listList Istio Gateways.
ParameterTypeDescription
label_selectorstring
namespacestring
istio_peerauthentications_listList Istio PeerAuthentication policies.
ParameterTypeDescription
label_selectorstring
namespacestring
istio_proxy_statusGet Istio proxy synchronization status.
istio_sidecar_statusGet sidecar injection status for pods.
ParameterTypeDescription
namespacestring
istio_virtualservice_getGet detailed information about a VirtualService.
ParameterTypeDescription
name *string
namespace *string
istio_virtualservices_listList Istio VirtualServices.
ParameterTypeDescription
label_selectorstring
namespacestring
keda_hpa_listList HPAs managed by KEDA.
ParameterTypeDescription
label_selectorstring
namespacestring
keda_scaledjobs_listList KEDA ScaledJobs with their status.
ParameterTypeDescription
label_selectorstring
namespacestring
keda_scaledobject_getGet detailed information about a ScaledObject.
ParameterTypeDescription
name *string
namespace *string
keda_scaledobjects_listList KEDA ScaledObjects with their scaling status.
ParameterTypeDescription
label_selectorstring
namespacestring
keda_triggerauth_getGet detailed information about a TriggerAuthentication.
ParameterTypeDescription
kindstring
name *string
namespacestring
keda_triggerauths_listList KEDA TriggerAuthentications and ClusterTriggerAuthentications.
ParameterTypeDescription
include_clusterboolean
namespacestring
kind_available_imagesList available kindest/node images (K8s versions).
kind_build_node_imageBuild a kind node image from Kubernetes source.
ParameterTypeDescription
base_imagestringBase image to use
imagestringName for the resulting image (default: kindest/node:latest)
kube_rootstringPath to Kubernetes source root
kind_cluster_infoGet cluster information including nodes and kubeconfig.
ParameterTypeDescription
namestringName of the kind cluster
kind_cluster_statusGet detailed cluster health status.
ParameterTypeDescription
namestringCluster name
kind_config_generateGenerate kind config YAML for common scenarios.
ParameterTypeDescription
control_planesintegerNumber of control-plane nodes (1 for single, 3 for HA)
ingressbooleanAdd port mappings for ingress (80, 443)
namestringCluster name (for reference)
registrybooleanAdd local registry configuration
workersintegerNumber of worker nodes (default: 0)
kind_config_showShow effective config for a running cluster.
ParameterTypeDescription
namestringName of the kind cluster
kind_config_validateValidate kind configuration file before cluster creation.
ParameterTypeDescription
config_path *stringPath to kind config YAML file
kind_create_clusterCreate a new kind cluster.
ParameterTypeDescription
configstringPath to kind config YAML file for multi-node or custom setup
imagestringNode image (determines K8s version, e.g., kindest/node:v1.29.0)
namestringName for the new cluster (default: kind)
retainbooleanRetain nodes on creation failure for debugging
waitstringWait timeout for control plane (default: 5m)
kind_delete_clusterDelete a kind cluster.
ParameterTypeDescription
namestringName of the cluster to delete
kind_export_logsExport cluster logs for debugging.
ParameterTypeDescription
namestringName of the kind cluster
output_dirstringDirectory to export logs to (default: temp directory)
kind_get_kubeconfigGet kubeconfig for a kind cluster.
ParameterTypeDescription
internalbooleanReturn internal (container) kubeconfig instead of external
namestringName of the kind cluster
kind_get_nodesList nodes in a kind cluster.
ParameterTypeDescription
namestringName of the kind cluster (default: kind)
kind_images_listList images on cluster nodes.
ParameterTypeDescription
clusterstringCluster name
nodestringSpecific node (optional, defaults to control-plane)
kind_ingress_setupSetup ingress controller on kind cluster.
ParameterTypeDescription
clusterstringCluster name
ingress_typestringType of ingress (nginx or contour)
kind_list_clustersList all kind clusters.
kind_load_imageLoad Docker images into kind cluster nodes.
ParameterTypeDescription
images *stringComma-separated list of Docker image names to load
namestringName of the kind cluster
kind_load_image_archiveLoad Docker images from tar archive into kind cluster.
ParameterTypeDescription
archive *stringPath to image archive (tar file)
namestringName of the kind cluster
kind_network_inspectInspect kind Docker network.
ParameterTypeDescription
clusterstringCluster name (kind network is shared)
kind_node_execExecute command on kind node container.
ParameterTypeDescription
clusterstringCluster name (for validation)
command *stringCommand to execute
node *stringNode name (e.g., kind-control-plane)
kind_node_inspectInspect kind node container details.
ParameterTypeDescription
node *stringNode name
kind_node_labelsGet node labels for kind cluster nodes.
ParameterTypeDescription
namestringName of the kind cluster
kind_node_logsGet logs from kind node container.
ParameterTypeDescription
node *stringNode name
tailintegerNumber of lines to return
kind_node_restartRestart kind node container.
ParameterTypeDescription
node *stringNode name to restart
kind_port_mappingsList all port mappings for cluster.
ParameterTypeDescription
clusterstringCluster name
kind_provider_infoGet container runtime provider info (Docker/Podman).
kind_registry_connectConnect kind cluster to local registry.
ParameterTypeDescription
cluster_namestringName of the kind cluster
registry_namestringName of the registry container
kind_registry_createCreate local Docker registry for kind clusters.
ParameterTypeDescription
namestringName for the registry container
portintegerHost port to expose registry on
kind_registry_statusCheck local registry status.
ParameterTypeDescription
namestringName of the registry container
kind_set_kubeconfigExport kubeconfig and set as current context.
ParameterTypeDescription
namestringName of the kind cluster
kubeconfig_viewView kubeconfig file contents (sanitized - no secrets).
ParameterTypeDescription
minifybooleanIf True, show only current context info. If False, show all.
kubectl_applyApply a YAML manifest to the cluster.
ParameterTypeDescription
manifest *stringYAML manifest content to apply
namespacestringTarget namespace
kubectl_cpCopy files between local filesystem and pods.
ParameterTypeDescription
containerstringContainer name (optional)
destination *stringDestination path (local path or pod:path)
namespacestringTarget namespace
source *stringSource path (local path or pod:path)
kubectl_createCreate a Kubernetes resource.
ParameterTypeDescription
imagestringContainer image (for deployment/pod)
name *stringName of the resource
namespacestringTarget namespace
resource_type *stringType of resource to create
kubectl_describeDescribe a Kubernetes resource in detail.
ParameterTypeDescription
name *stringName of the resource
namespacestringTarget namespace
resource_type *stringType of resource (e.g., pod, deployment, service)
kubectl_explainExplain a Kubernetes resource.
ParameterTypeDescription
resource *stringResource type to explain (e.g., pods, deployments.spec)
kubectl_genericExecute any kubectl command. Use with caution.
ParameterTypeDescription
command *stringkubectl command to execute (without kubectl prefix)
kubectl_getList or get any Kubernetes resource, including custom resources (kubectl get).
ParameterTypeDescription
all_namespacesbooleanList across all namespaces
field_selectorstringe.g. status.phase=Running or involvedObject.name=web-123
label_selectorstringe.g. app=web,tier!=db
namestringA single resource name (omit to list)
namespacestringNamespace (omit for the context default; ignored for cluster-scoped kinds)
outputstringtable (default), wide, name, yaml or json. Secret values are always redacted
resource_type *stringKind, plural or short name, e.g. pods, deploy, svc, nodes, events, certificates.cert-manager.io
sort_bystringJSONPath to sort by, e.g. .lastTimestamp for events
kubectl_logsGet container logs (kubectl logs).
ParameterTypeDescription
containerstringContainer name for multi-container pods
namespacestringNamespace of the pod
pod_name *stringPod name, or TYPE/NAME such as deployment/web to pick a pod of a workload
previousbooleanLogs of the previous, crashed container instance
sincestringOnly newer logs, e.g. 10m or 2h
tailintegerLines from the end (default 200; -1 for all)
kubectl_patchPatch a Kubernetes resource.
ParameterTypeDescription
name *stringName of the resource
namespacestringTarget namespace
patch *stringJSON patch content
patch_typestringType of patch (strategic, merge, json)
resource_type *stringType of resource to patch
kubectl_rolloutManage rollouts (restart, status, history, undo, pause, resume).
ParameterTypeDescription
action *stringRollout action (status, history, restart, undo, pause, resume)
name *stringName of the resource
namespacestringTarget namespace
resource_type *stringType of resource (deployment, statefulset, daemonset)
kubectl_scaleScale a deployment, statefulset, replicaset or any scalable resource (kubectl scale).
ParameterTypeDescription
name *stringResource name
namespacestringNamespace
replicas *integerDesired replica count (0 stops the workload and needs confirmation in confirm mode)
resource_type *stringdeployment, statefulset, replicaset, or another kind with a scale subresource
kubectl_topCPU and memory usage of pods or nodes from metrics-server (kubectl top).
ParameterTypeDescription
all_namespacesbooleanPods across all namespaces
containersbooleanPer-container usage for pods
namestringA single pod or node
namespacestringNamespace for pods
resourcestringpods or nodes
sort_bystringcpu or memory
kubevirt_datasources_listList KubeVirt DataSources.
ParameterTypeDescription
label_selectorstring
namespacestring
kubevirt_datavolumes_listList KubeVirt DataVolumes (disk images).
ParameterTypeDescription
label_selectorstring
namespacestring
kubevirt_instancetypes_listList KubeVirt InstanceTypes (VM sizing templates).
ParameterTypeDescription
include_clusterboolean
namespacestring
kubevirt_vm_getGet detailed information about a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vm_migrateTrigger live migration of a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vm_pausePause a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vm_restartRestart a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vm_startStart a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vm_stopStop a VirtualMachine.
ParameterTypeDescription
forceboolean
name *string
namespace *string
kubevirt_vm_unpauseUnpause a VirtualMachine.
ParameterTypeDescription
name *string
namespace *string
kubevirt_vmis_listList running VirtualMachineInstances.
ParameterTypeDescription
label_selectorstring
namespacestring
kubevirt_vms_listList KubeVirt VirtualMachines.
ParameterTypeDescription
label_selectorstring
namespacestring
label_resourceAdd or update labels on a resource.
ParameterTypeDescription
labels *objectLabels to apply (use None value to remove a label)
name *stringName of the resource
namespacestringTarget namespace (optional)
overwritebooleanOverwrite existing labels
resource_type *stringType of resource to label
list_backup_locationsList Velero backup storage locations.
ParameterTypeDescription
namespacestring
list_backup_schedulesList Velero backup schedules.
ParameterTypeDescription
namespacestring
list_backupsList Velero backups.
ParameterTypeDescription
label_selectorstring
namespacestring
list_cert_challengesList ACME challenges for debugging certificate issuance.
ParameterTypeDescription
label_selectorstring
namespacestring
list_cert_issuersList cert-manager Issuers and ClusterIssuers.
ParameterTypeDescription
include_cluster_issuersboolean
namespacestring
list_cert_requestsList CertificateRequests.
ParameterTypeDescription
label_selectorstring
namespacestring
list_certsList cert-manager certificates with status.
ParameterTypeDescription
label_selectorstring
namespacestring
list_contextsList all available kubectl contexts with detailed info.
list_custom_resourcesList instances of any custom resource type.
ParameterTypeDescription
group *stringAPI group (e.g., "postgresql.cnpg.io")
label_selectorstringLabel selector to filter
limitintegerMaximum number of results
namespacestringNamespace (empty = all namespaces / cluster-scoped)
plural *stringPlural resource name (e.g., "clusters", "certificates")
version *stringAPI version (e.g., "v1", "v1beta1")
list_restoresList Velero restores.
ParameterTypeDescription
label_selectorstring
namespacestring
multi_cluster_healthCheck health status across multiple Kubernetes clusters.
ParameterTypeDescription
contextsarrayList of context names to check (optional, uses all contexts if not specified)
multi_cluster_pod_countGet pod counts across multiple clusters grouped by status or namespace.
ParameterTypeDescription
contextsarrayList of context names (optional, uses all contexts if not specified)
group_bystringHow to group results: "status" (Running/Pending/etc) or "namespace"
namespacestringFilter by namespace (optional, all namespaces if not specified)
multi_cluster_queryQuery resources across multiple Kubernetes clusters simultaneously.
ParameterTypeDescription
contexts *arrayList of context names to query (e.g., ["prod-us", "prod-eu", "staging"])
field_selectorstringField selector to filter resources (e.g., "status.phase=Running")
label_selectorstringLabel selector to filter resources (e.g., "app=nginx")
namespacestringNamespace to query (optional, all namespaces if not specified)
resourcestringResource type to query (pods, deployments, services, nodes, namespaces)
node_logsGet logs from a Kubernetes node via kubelet API proxy.
ParameterTypeDescription
name *stringNode name
querystringService name (kubelet, kube-proxy) or log file path (/var/log/syslog)
tail_linesintegerNumber of lines from end (0 = all lines)
node_managementManage nodes: cordon, uncordon, or drain.
ParameterTypeDescription
action *stringAction to perform (cordon, uncordon, drain)
forcebooleanForce drain (for drain action)
node_name *stringName of the node
node_stats_summaryGet resource usage statistics from node via kubelet Summary API.
ParameterTypeDescription
name *stringNode name
optimize_resource_requestsSuggest optimal resource requests based on current usage patterns.
ParameterTypeDescription
deployment_namestringSpecific deployment to analyze (optional, all deployments if not specified)
namespace *stringTarget namespace
promote_rolloutPromote a paused Argo Rollout to the next step or full.
ParameterTypeDescription
fullboolean
name *string
namespace *string
renew_certTrigger certificate renewal.
ParameterTypeDescription
name *string
namespace *string
restart_rolloutRestart an Argo Rollout.
ParameterTypeDescription
name *string
namespace *string
retry_rolloutRetry an aborted Argo Rollout.
ParameterTypeDescription
name *string
namespace *string
run_podRun a container image as a pod (kubectl run equivalent).
ParameterTypeDescription
argsarrayArguments to pass to the container command (list of strings)
commandarrayOverride the container's entrypoint (list of strings)
envobjectEnvironment variables as key-value pairs
image *stringContainer image to run (e.g., 'nginx:latest', 'busybox')
labelsobjectLabels to apply to the pod
namestringName for the pod (auto-generated if not specified)
namespacestringNamespace to create the pod in
restart_policystringPod restart policy (Never, OnFailure, Always)
search_crdsSearch for CRDs by keyword, category, or concept.
ParameterTypeDescription
query *stringSearch keyword or concept
set_namespace_for_contextSet the default namespace for a context.
ParameterTypeDescription
context_namestringContext to modify (uses current context if not specified)
namespace *stringNamespace to set as default
switch_contextSwitch to a different kubectl context (changes default context).
ParameterTypeDescription
context_name *stringName of the context to switch to
taint_nodeAdd or remove taints on a node.
ParameterTypeDescription
effectstringTaint effect (NoSchedule, PreferNoSchedule, NoExecute)
key *stringTaint key
node_name *stringName of the node
removebooleanRemove the taint instead of adding
valuestringTaint value (optional)
trace_service_chainTrace the connection chain from service to pods.
ParameterTypeDescription
namespacestringNamespace of the service
service_name *stringName of the service to trace
uninstall_helm_chartUninstall a Helm release.
ParameterTypeDescription
name *stringRelease name to uninstall
namespace *stringTarget namespace
upgrade_helm_chartUpgrade a Helm release.
ParameterTypeDescription
chart *stringChart reference
name *stringRelease name
namespace *stringTarget namespace
repostringRepository in format 'repo_name=repo_url'
valuesobjectValues to override
wait_for_conditionWait for a resource to reach a specific condition.
ParameterTypeDescription
condition *stringCondition to wait for (e.g., condition=Ready, delete)
name *stringName of the resource
namespacestringTarget namespace (optional)
resource_type *stringType of resource to wait for
timeoutintegerTimeout in seconds

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.

2 checks have not been run yet.

Releases

v2.0.0v2.0.0 - Stateless MCP, Security Hardening, Toolsets · 22 Oct 2026kubectl-mcp-server 2.0.0 moves to the stateless MCP 2026-07-28 protocol, fixes fresh installs, hardens network exposure, and cuts the default tool list from 281 to 26. Upgrade now if you run 1.24.0. Its unbounded `fastmcp>=3.0.0b1` pin…
v1.24.0v1.24.0 - 3D Cluster Topology Viewer · 20 Feb 20263D Cluster Topology Viewer <img width="823" height="366" alt="Screenshot 2026-02-20 at 22 26 21" src="https://github.com/user-attachments/assets/5d26057d-feb1-4a72-ace2-d2f4ae2ef214" /> New interactive 3D Kubernetes cluster topology UI…
v1.23.1v1.23.1 - Code Optimization & Security Fixes · 4 Feb 2026Changes Security Fixes Fixed `os.system()` command injection in `networking.py` port-forward — replaced with `subprocess.Popen` using list args Fixed temp file leak in `kubectl_apply` — wrapped `os.unlink` in `try/finally` Fixed…
v1.23.0v1.23.0 · 3 Feb 2026Fix: In-Cluster Kubernetes Config Resolves the `HTTPConnectionPool(host='localhost', port=80): Max retries exceeded` error when the server is deployed inside a Kubernetes cluster (#61). What Changed Fixed config loading —…
v1.22.0v1.22.0 - kubectl-mcp-app Interactive UI Dashboards · 2 Feb 2026What's New kubectl-mcp-app - 8 Interactive UI Dashboards Added a standalone npm package `kubectl-mcp-app` that provides beautiful, interactive UI dashboards for Kubernetes management using the MCP ext-apps SDK. Installation: Via npm npm…

README

The repository's README runs to about 4.9K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Kubectl MCP Server.git

How do I install Kubectl MCP Server.git?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kubectl MCP Server.git safe to use with an AI agent?

Its trust score is 71 out of 100 (good). It passes 3 of the 4 static checks Conduid ran on the repository; it does not pass Dependencies pinned. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kubectl MCP Server.git still maintained?

Yes — the latest release is v2.0.0 (22 Oct 2026), and the last commit was a month ago. The repository has 974 stars and 13 open issues.

What tools does Kubectl MCP Server.git provide?

Conduid read 198 tools from the source: abort_rollout, analyze_network_policies, analyze_pod_security, annotate_resource, audit_policies, audit_rbac_permissions, backup_resource, capi_get_cluster and 190 more. 185 of them publish their parameters, listed under Tools above.

What license is Kubectl MCP Server.git released under?

The repository declares the MIT license. That applies to the latest release, v2.0.0, as well.