Hub / connectors / kubernetes
Connector · DevOps & Homelab
Kubernetes Cluster MCP
Apache-2.0 Go-based Kubernetes MCP server for safe read-only cluster diagnostics, pod logs, and event inspection.
Verified
Process-isolated MCP · SecurityGate
Local 14B+
Apache-2.0
kubernetesk8sdevopshomelabmcp
How to use
Runs as a process-isolated MCP server (a separate OS process, never imported inside Prometheus). Adding a connector requires the daemon’s master token (owner devices cannot). Tool calls are double-checked against allowed_tools and still prompt in SecurityGate unless you explicitly enable autonomous mode.
~/.prometheus/config.yaml
mcp_servers:
kubernetes:
transport: stdio
command: npx
args:
- "-y"
- "[email protected]"
- "--read-only"
allowed_tools:
- pods_list
- pods_log
- events_list
- namespaces_list
- resources_list
env:
KUBECONFIG: "${KUBECONFIG}"Honest disclosures
- Launches with --read-only flag and a read-only default allowed_tools preset.
- Reads the kubeconfig pointed to by KUBECONFIG; every call requires SecurityGate confirmation.
Inspect raw source (connectors/kubernetes.yaml)
hub_schema: 1 kind: connector slug: kubernetes name: Kubernetes Cluster MCP version: 0.0.50 category: devops-homelab tags: [kubernetes, k8s, devops, homelab, mcp] trust_tier: verified execution_boundary: mcp_out_of_process model_fit: local_14b license: Apache-2.0 provenance: origin: upstream_mcp repo: https://github.com/containers/kubernetes-mcp-server package_pin: "[email protected]" audited_at: "2026-11-26" mcp: transport: stdio command: npx args: ["-y", "[email protected]", "--read-only"] allowed_tools: - pods_list - pods_log - events_list - namespaces_list - resources_list env_vars: [KUBECONFIG] disclosures: - "Launches with --read-only flag and a read-only default allowed_tools preset." - "Reads the kubeconfig pointed to by KUBECONFIG; every call requires SecurityGate confirmation." summary: "Apache-2.0 Go-based Kubernetes MCP server for safe read-only cluster diagnostics, pod logs, and event inspection."