kubernetes-mcp-server
Verified Safeby 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
npx -y kubernetes-mcp-server@latest --port 8080Environment 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
mcp-server-kubernetes
Manages Kubernetes clusters by executing kubectl and Helm commands, facilitating automation and interaction through the Model Context Protocol.
mcp-k8s-go
An MCP server enabling AI assistants and users to interact with and manage Kubernetes clusters by listing, getting, applying, and executing commands on Kubernetes resources.
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.
mkp
MKP is a Model Context Protocol (MCP) server for Kubernetes that enables LLM-powered applications to interact with Kubernetes clusters.