openshift-cluster-health-mcp
Verified Safeby tosin2013
Overview
Serves as a Model Context Protocol (MCP) server providing OpenShift cluster health monitoring and AI Operations integration to AI assistants like OpenShift Lightspeed.
Installation
podman run -p 8080:8080 -e MCP_TRANSPORT=http -v ~/.kube/config:/kubeconfig:ro -e KUBECONFIG=/kubeconfig quay.io/takinosh/openshift-cluster-health-mcp:latestEnvironment Variables
- MCP_TRANSPORT
- MCP_HTTP_HOST
- MCP_HTTP_PORT
- LOG_LEVEL
- LOG_FORMAT
- ENABLE_COORDINATION_ENGINE
- COORDINATION_ENGINE_URL
- ENABLE_KSERVE
- KSERVE_NAMESPACE
- KSERVE_PREDICTOR_PORT
- ENABLE_PROMETHEUS
- PROMETHEUS_URL
- CACHE_TTL
- REQUEST_TIMEOUT
- KUBECONFIG
Security Notes
The project demonstrates a strong commitment to security: it uses Go (ADR-001) for performance and Kubernetes-native integration, builds distroless container images (ADR-008) to minimize attack surface, enforces an RBAC-based security model (ADR-007) with least privilege (read-only access to most cluster resources), and integrates NetworkPolicies. Hardcoded secrets are avoided, with explicit instructions for using ServiceAccount tokens and GitHub Secrets. Debugging in production is handled via separate debug images or ephemeral containers, rather than including a shell in the main image. The stdio transport was deprecated (ADR-004) to reduce complexity and focus on the more secure HTTP/SSE transport.
Similar Servers
mcp-server-kubernetes
This MCP server enables AI agents to connect to and manage Kubernetes clusters by executing kubectl and Helm commands.
kubernetes-mcp-server
Facilitates AI agent interaction with Kubernetes and OpenShift clusters by exposing management and observability tools via the Model Context Protocol.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-k8s
Facilitates natural language interaction and automation for Kubernetes cluster management and Helm operations via the Model Control Protocol (MCP).