# Kubernetes MCP
> Open-source MCP server maintained in the containers GitHub organization for Kubernetes and OpenShift cluster operations. It can access the cluster selected by the user
Canonical: https://www.mcpfolio.com/servers/kubernetes-mcp-server-containers
Last updated: 2026-10-29
## Catalog record

- Publisher: Containers project maintainers (community; not Kubernetes upstream)
- Categories: version-control, cloud-service

## Website

https://kubernetes.io/

## Repository

https://github.com/containers/kubernetes-mcp-server

## Transports

stdio for local CLI; Streamable HTTP supported in container mode

## Authentication

Uses the selected Kubernetes kubeconfig or in-cluster credentials; no hosted MCP OAuth service is documented.

## Tools

- **configuration_contexts_list**: List all available context names and associated server urls from the kubeconfig file
- **targets_list**: List all available targets
- **configuration_view**: Get the current Kubernetes configuration content as a kubeconfig YAML
- **events_list**: List Kubernetes events (warnings, errors, state changes) for debugging and troubleshooting in the current cluster from all namespaces. Use limit and continue to retrieve a large list one page at a time.
- **namespaces_list**: List all the Kubernetes namespaces in the current cluster. Use limit and continue to retrieve a large list one page at a time.
- **projects_list**: List all the OpenShift projects in the current cluster. Use limit and continue to retrieve a large list one page at a time.
- **nodes_log**: 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
- **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 Information) metrics that show resource pressure for CPU, memory, and I/O. See https://kubernetes.io/docs/reference/instrumentation/understand-psi-metrics/ for details on PSI metrics
- **nodes_top**: 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. Use limit and continue to retrieve a large list one page at a time.
- **pods_list**: List all the Kubernetes pods in the current cluster from all namespaces. Use limit and continue to retrieve a large list one page at a time.
- **pods_list_in_namespace**: List all the Kubernetes pods in the specified namespace in the current cluster. Use limit and continue to retrieve a large list one page at a time.

## Sources

- [maintainer_repository_setup](https://github.com/containers/kubernetes-mcp-server/)
- [maintainer_server_manifest](https://github.com/containers/kubernetes-mcp-server/blob/main/manifest.json)
- [Kubernetes upstream logo asset](https://github.com/kubernetes/kubernetes/blob/master/logo/logo.svg)
- [official_documentation](https://github.com/containers/kubernetes-mcp-server)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/kubernetes-mcp-server-containers) to view instructions for each supported client.