Back to Home
containers icon

kubernetes-mcp-server

Verified Safe

by containers

Overview

Provides a Model Context Protocol (MCP) server for AI agents to interact with Kubernetes and OpenShift clusters, enabling AI-driven cluster management and diagnosis.

Installation

Run Command
npx -y kubernetes-mcp-server@latest --port 8080

Environment Variables

  • KUBECONFIG
  • KUBE_CLIENT_QPS
  • KUBE_CLIENT_BURST
  • CLUSTER_STATE_POLL_INTERVAL_MS
  • CLUSTER_STATE_DEBOUNCE_WINDOW_MS
  • KUBECONFIG_DEBOUNCE_WINDOW_MS

Security Notes

The server's distribution via `npx` or `uvx` involves downloading and executing pre-built Go binaries, which necessitates trusting the package source. However, the application itself implements robust security features, including OAuth/OIDC authorization, configurable read-only mode, a flag to disable destructive operations, and an `AccessControlRoundTripper` to filter Kubernetes API requests based on a denied resources list.

Similar Servers

Stats

Interest Score99
Security Score8
Cost ClassLow
Stars849
Forks191
Last Update2025-12-05

Tags

KubernetesOpenShiftMCPAI AgentsCluster Management