Loading...

Kubernetes MCP server provides a flexible interface to interact with Kubernetes clusters, supporting read and write operations, Helm, and OpenTelemetry.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Kubernetes MCP server provides a flexible interface to interact with Kubernetes clusters, supporting read and write operations, Helm, and OpenTelemetry.
The Kubernetes MCP server offers flexibility but requires careful configuration. Running in read-only mode significantly reduces risk. Exercise caution when performing write operations or executing commands within pods.
Performance depends on the size and complexity of the Kubernetes cluster. Interacting directly with the Kubernetes API server provides low latency.
Cost depends on the resources consumed by the MCP server and the frequency of API calls to the Kubernetes cluster.
npx kubernetes-mcp-server@latest{
"mcpServers": {
"kubernetes-mcp-server": {
"command": "npx",
"args": ["-y", "kubernetes-mcp-server@latest"]
}
}
}List PodsLists pods in a specified namespace or all namespaces.
Read-only operation, no modification of resources.
Get PodRetrieves details for a specific pod in a namespace.
Read-only operation, no modification of resources.
Delete PodDeletes a pod from a specified namespace.
Destructive operation, can cause service disruption.
Show LogsDisplays logs for a pod in a specified namespace.
Read-only operation, no modification of resources.
ExecExecutes a command inside a pod.
Can execute arbitrary commands, potentially leading to security breaches.
Install Helm ChartInstalls a Helm chart in a specified namespace.
Helm charts can contain malicious code or misconfigurations.
Uninstall Helm ReleaseUninstalls a Helm release from a specified namespace.
Can remove critical applications or services.
Token
cloud
The Kubernetes MCP server offers flexibility but requires careful configuration. Running in read-only mode significantly reduces risk. Exercise caution when performing write operations or executing commands within pods.
Autonomy depends on the configured permissions and the specific tool used. Exercise caution when granting write access.
Production Tip
Use a dedicated ServiceAccount with restricted RBAC permissions for production deployments.
The server uses the Kubernetes configuration file (`kubeconfig`) for authentication.
Yes, use the `--read-only` flag to prevent write operations.
Use the `--log-level` flag to set the logging level.
Yes, it can interact with multiple clusters defined in your kubeconfig files.
Use the `helm install` command with the appropriate chart name and namespace.
Yes, it supports OpenShift projects and resources.
Yes, it supports OpenTelemetry for distributed tracing and metrics, including a `/stats` endpoint.