nodes_stats_summary
Get detailed resource usage statistics from a Kubernetes node via the kubelet's Summary API. Provides comprehensive metrics including CPU, memory, filesystem, and network usage at the node, pod, and container levels. On systems with cgroup v2 and kernel 4.20+, also includes PSI (Pressure Stall Infor
How to use it
nodes_stats_summary is exposed by the Kubernetes MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the nodes_stats_summary tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Kubernetes MCP Server
npx kubernetes-mcp-server@latest --helpOther tools in Kubernetes MCP Server (39)
(boolean) - If true, list the resource consumption for all Pods in all namespaces. If false, list the resource consumption for Pods in the provided namespace or the current namespace
(array) (required) - Command to execute in the Pod container. The first item is the command to be run, and the rest are the arguments to that command. Example: ["ls", "-l", "/tmp"]
List all available context names and associated server urls from the kubeconfig file
Get the current Kubernetes configuration content as a kubeconfig YAML
(string) - Name of the Pod container where the command will be executed (Optional)
Most common tools for Kubernetes management (Pods, Generic Resources, Events, etc.)
List Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaces
(string) - Optional Kubernetes field selector to filter events by field values (e.g. 'type=Warning', 'involvedObject.name=my-pod'). Supported fields: involvedObject.kind, involvedObject.name, involvedObject.namespace, involvedObject.uid, involvedObject.apiVersion, involvedObject.resourceVersion, inv
Tools for managing Helm charts and releases
(string) (required) - Container Image to run in the Pod
Manage kcp workspaces and multi-tenancy features
Most common tools for managing Kiali, check the Kiali documentation for more details.
KubeVirt virtual machine management tools, check the KubeVirt documentation for more details.
(string) - Kubernetes label selector (e.g. 'node-role.kubernetes.io/worker=') to filter nodes by label (Optional, only applicable when name is not provided)
(string) - Optional Kubernetes label selector (e.g. 'app=myapp,env=prod' or 'app in (myapp,yourapp)'), use this option when you want to filter the pods by label
(boolean) - Return a minified version of the configuration. If set to true, keeps only the current-context and the relevant pieces of the configuration for that context. If set to false, all contexts, clusters, auth-infos, and users are returned in the configuration. (Optional, default true)
(string) (required) - Name of the node to get logs from
(string) - Optional Namespace to retrieve the events from. If not provided, will list events from all namespaces
List all the Kubernetes namespaces in the current cluster
Network observability tools backed by the NetObserv console plugin API (flows, metrics, export). Check the NetObserv documentation for more details.
Get logs from a Kubernetes node (kubelet, kube-proxy, or other system logs). This accesses node logs through the Kubernetes API proxy to the kubelet
List the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Nodes or all nodes in the cluster
Delete a Kubernetes Pod in the current or provided namespace with the provided name
Execute a command in a Kubernetes Pod (shell access, run commands in container) in the current or provided namespace with the provided name and command
Get a Kubernetes Pod in the current or provided namespace with the provided name
List all the Kubernetes pods in the current cluster from all namespaces
List all the Kubernetes pods in the specified namespace in the current cluster
Get the logs of a Kubernetes Pod in the current or provided namespace with the provided name
Run a Kubernetes Pod in the current or provided namespace with the provided container image and optional name
List the resource consumption (CPU and memory) as recorded by the Kubernetes Metrics Server for the specified Kubernetes Pods in the all namespaces, the provided namespace, or the current namespace
(number) - TCP/IP port to expose from the Pod container (Optional, no port exposed if not provided)
(boolean) - Return previous terminated container logs (Optional)
List all the OpenShift projects in the current cluster
(string) (required) - query specifies services(s) or files from which to return logs (required). Example: "kubelet" to fetch kubelet logs, "/<log-file-name>" to fetch a specific log file from the node (e.g., "/var/log/kubelet.log" or "/var/log/kube-proxy.log")
List Kubernetes resources and objects in the current cluster by providing their apiVersion and kind and optionally the namespace and label selector
(integer) - Number of lines to retrieve from the end of the logs (Optional, default: 100)
(integer) - Number of lines to retrieve from the end of the logs (Optional, 0 means all logs)
List all available targets
Tekton pipeline management tools for Pipelines, PipelineRuns, Tasks, TaskRuns, and troubleshooting.