k8scortex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the SSE server. | 3001 |
| KUBECONFIG | No | Path to a kubeconfig file (default is ~/.kube/config). | |
| DISABLE_AUTH | No | Set to 'true' to bypass authentication (local dev mode). | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_podsB | Lists pods in a specific namespace. |
| get_pod_logsB | Retrieves logs for a specific pod. |
| describe_podA | Shows detailed pod status including container states, conditions, resource settings, and recent events. |
| describe_deploymentC | Shows details of a deployment. |
| list_nodesB | Lists cluster nodes. |
| list_statefulsetsB | Lists StatefulSets in a specific namespace. |
| describe_statefulsetB | Shows details of a StatefulSet. |
| list_daemonsetsB | Lists DaemonSets in a specific namespace. |
| describe_daemonsetB | Shows details of a DaemonSet. |
| scale_deploymentC | Scales replicas for a deployment. |
| rollout_statusA | Checks deployment rollout status (complete, in-progress, or stalled). |
| rollout_undoB | Rolls a deployment back to the previous ReplicaSet template. |
| restart_podA | Deletes a pod to force a restart. Usually managed by a deployment/replicaset. |
| get_configmapC | Reads data from a ConfigMap. |
| describe_namespace_quotaB | Reads resource quotas for a namespace. |
| list_eventsC | Lists recent cluster events for a namespace. |
| list_persistent_volume_claimsB | Lists PersistentVolumeClaims in a specific namespace with binding and capacity details. |
| get_effective_permissionsB | Evaluates effective Kubernetes API permissions for a ServiceAccount using SubjectAccessReview checks. |
| get_hpa_statusB | Retrieves Horizontal Pod Autoscaler metrics and status. |
| list_warning_eventsC | Filters cluster events for warnings in a namespace. |
| get_node_pressureB | Analyzes node resource pressure for a specific node. |
| list_clustersB | Lists all registered Kubernetes clusters managed by KubeNexus. |
| get_cluster_infoA | Returns API server URL, Kubernetes version, node count, and cloud metadata for a given cluster. |
| list_jobsB | Lists Jobs in a specific namespace. |
| create_jobB | Creates a new Job. Use either basic configuration or provide a raw YAML manifest. |
| list_cronjobsB | Lists CronJobs in a specific namespace. |
| suspend_cronjobB | Suspends an active CronJob. |
| resume_cronjobB | Resumes a suspended CronJob. |
| create_configmapA | Creates a new ConfigMap. Use either basic key-value data or provide a raw YAML manifest. |
| update_configmapB | Updates an existing ConfigMap by patching its data. |
| create_secretA | Creates a new Opaque Secret. Use either basic stringData or provide a raw YAML manifest. stringData values will be base64-encoded automatically. |
| update_secretA | Updates an existing Secret by patching its stringData. KNOWN LIMITATION: The Kubernetes API never returns stringData on read (it is write-only); the API server stores values as base64 in the data field. This means the client-side merge only contains the keys passed in args.stringData — existing keys not included in the request will be silently dropped. If you need to preserve existing keys, read them first via get_secret and re-supply all values. |
| create_serviceA | Creates a new Service. Use either basic configuration or provide a raw YAML manifest. |
| list_ingressesB | Lists Ingress resources in a namespace. |
| get_service_endpointsC | Shows endpoint addresses backing a Service. |
| update_ingressB | Updates an existing Ingress. Merges new rules or annotations into the existing Ingress. |
| create_network_policyA | Creates a new NetworkPolicy. Use either basic configuration or provide a raw YAML manifest. |
| set_resource_limitsB | Sets CPU and Memory requests and limits for a specific container in a Deployment. |
| get_resource_recommendationsB | Suggests optimal resource requests/limits based on current metrics heuristically. |
| get_cluster_resource_utilisationB | Returns CPU and Memory usage vs capacity across all nodes. |
| cordon_nodeB | Marks a node as unschedulable. |
| uncordon_nodeB | Marks a node as schedulable. |
| drain_nodeC | Cordons the node and evicts/deletes non-daemonset pods. |
| taint_nodeB | Adds a taint to a node. |
| remove_taintB | Removes a specific taint from a node by key. |
| create_deploymentA | Creates a new Deployment. Use either basic configuration or provide a raw YAML manifest. |
| delete_deploymentC | Deletes an existing Deployment. |
| create_namespaceC | Creates a new Kubernetes Namespace. |
| delete_namespaceB | Deletes an existing Kubernetes Namespace. |
| create_horizontal_pod_autoscalerA | Creates an HPA for a Deployment. Use either basic configuration or provide a raw YAML manifest. |
| get_gitops_app_statusB | Gets the health and sync status of an ArgoCD Application or Flux Kustomization. |
| get_gitops_diffA | Gets out-of-sync resources (ArgoCD) or managed resource inventory with revision drift (Flux Kustomization). |
| sync_gitops_appA | Forces a sync/reconciliation of an ArgoCD Application, Flux Kustomization, or Flux HelmRelease. |
| compare_clustersB | Compares the running version/state of an application across two clusters. |
| list_flux_kustomizationsA | Lists all Flux Kustomizations in a namespace with their ready/suspended/revision status. |
| list_flux_helm_releasesA | Lists all Flux HelmReleases in a namespace with chart name, version, and ready/suspended status. |
| get_flux_helm_releaseA | Gets detailed status of a Flux HelmRelease including chart version, values, and condition history. |
| list_flux_sourcesA | Lists Flux source objects (GitRepository, HelmRepository, OCIRepository, Bucket) with their URL, ref, and ready status. |
| suspend_flux_resourceB | Suspends reconciliation of a Flux Kustomization or HelmRelease to pause automated deployments. |
| resume_flux_resourceB | Resumes reconciliation of a suspended Flux Kustomization or HelmRelease. |
| list_flux_alertsB | Lists Flux Notification Alert objects showing which events trigger which providers. |
| list_k8s_resourcesC | Generic read: list Kubernetes resources by group/version/resource. |
| get_k8s_resourceA | Generic read: get a single Kubernetes resource by group/version/resource/name. |
| list_node_poolsA | Groups nodes by managed-cloud node pool labels (AKS/EKS/GKE) and reports pool health. |
| get_node_pool_detailB | Returns detailed node, spot/preemptible, and optional metrics view for a specific node pool. |
| get_workload_identity_configA | Returns workload identity annotation configuration for a ServiceAccount (AKS/EKS/GKE conventions). |
| validate_workload_identityC | Validates identity chain from ServiceAccount annotation to pods using that ServiceAccount. |
| list_pod_disruption_budgetsA | Lists PodDisruptionBudgets in a namespace with budget satisfaction status. |
| get_pdb_statusB | Returns detailed status and covered pods for a PodDisruptionBudget. |
| list_vpasA | Lists VerticalPodAutoscaler objects in a namespace and their update mode/recommendation state. |
| get_vpa_recommendationA | Returns VPA recommendation lower/target/upper bounds for a workload when available. |
| list_storage_classesA | Lists StorageClasses and indicates default class. |
| get_storage_classA | Returns details for a specific StorageClass. |
| get_addon_healthA | Checks health of common kube-system addons (CoreDNS, metrics-server, kube-proxy, CNI). |
| list_limit_rangesC | Lists LimitRange objects in a namespace and default resource constraints. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/apatilgtn/k8scortex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server