# spre-sre/lumino-mcp-server [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/spre-sre/lumino-mcp-server  
**GitHub Stars:** 11  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/spre-sre-lumino-mcp-server

## Description
AI-powered SRE observability for Kubernetes and OpenShift with 40+ tools for Tekton pipeline debugging, log analysis, root cause analysis, and predictive monitoring.

## Tools
Capabilities this server exposes over MCP:

- **list_namespaces** — List all namespaces in the cluster
- **list_pods_in_namespace** — List pods with status and placement info
- **get_kubernetes_resource** — Get any Kubernetes resource with flexible output
- **search_resources_by_labels** — Search resources across namespaces by labels
- **query_kubearchive** — Query archived Kubernetes resources from KubeArchive with optional log retrieval
- **list_pipelineruns** — List PipelineRuns with status and timing
- **list_taskruns** — List TaskRuns, optionally filtered by pipeline
- **get_pipelinerun_logs** — Retrieve pipeline logs with optional cleaning
- **list_recent_pipeline_runs** — Recent pipelines across all namespaces
- **find_pipeline** — Find pipelines by pattern matching
- **get_tekton_pipeline_runs_status** — Cluster-wide pipeline status summary
- **analyze_logs** — Extract error patterns from log text
- **smart_summarize_pod_logs** — Intelligent log summarization
- **stream_analyze_pod_logs** — Streaming analysis for large logs
- **analyze_pod_logs_hybrid** — Combined analysis strategies
- **detect_log_anomalies** — Anomaly detection with severity levels
- **semantic_log_search** — NLP-based semantic log search
- **templatize_pod_logs** — Cluster logs into unique structural templates using Drain3 (requires optional `logan` dependency)
- **deep_analyze_pod_logs** — Classify log templates into golden signals and fault categories using zero-shot ML (requires optional `logan` dependency)
- **smart_get_namespace_events** — Smart event retrieval with strategies
- **progressive_event_analysis** — Multi-level event analysis
- **advanced_event_analytics** — ML-powered event pattern detection
- **analyze_failed_pipeline** — Root cause analysis for failed pipelines
- **automated_triage_rca_report_generator** — Automated incident reports
- **check_resource_constraints** — Detect resource issues in namespace
- **detect_anomalies** — Statistical anomaly detection
- **prometheus_query** — Execute PromQL queries
- **resource_bottleneck_forecaster** — Predict resource exhaustion
- **conservative_namespace_overview** — Focused namespace health check
- **adaptive_namespace_investigation** — Dynamic investigation based on query
- **investigate_tls_certificate_issues** — Find TLS-related problems
- **check_cluster_certificate_health** — Certificate expiry monitoring
- **get_machine_config_pool_status** — MachineConfigPool status and updates
- **get_openshift_cluster_operator_status** — Cluster operator health
- **get_etcd_logs** — etcd log retrieval and analysis
- **ci_cd_performance_baselining_tool** — Pipeline performance baselines
- **pipeline_tracer** — Trace pipelines by commit, PR, or image
- **live_system_topology_mapper** — Real-time system topology mapping
- **predictive_log_analyzer** — Predict issues from log patterns
- **manage_prediction_training_data** — Manage training data for predictive log analyzer
- **what_if_scenario_simulator** — Simulate configuration changes

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/spre-sre/lumino-mcp-server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/spre-sre/lumino-mcp-server.git
```

2. Run:

```sh
cd lumino-mcp-server
```

3. Install:

```sh
uv sync
```

4. Start the server:

```sh
uv run python main.py
```

5. Install:

```sh
python -m venv venv
```

6. Install:

```sh
pip install -e .
```

## Documentation

## What spre-sre/lumino-mcp-server MCP server does

spre-sre/lumino-mcp-server MCP server gives an MCP-compatible AI client structured access to Kubernetes and OpenShift operational data. Its tools cover cluster inventory, namespaces, pods, arbitrary Kubernetes resources, label searches, and archived resources from KubeArchive. It also provides Tekton-focused queries for PipelineRuns and TaskRuns, including status summaries, recent-run discovery, pattern-based pipeline lookup, and pipeline log retrieval.

The server extends basic inspection with analysis workflows. It can summarize, stream-analyze, search, and classify pod logs; detect log anomalies and recurring structures; retrieve and analyze Kubernetes events; investigate failed pipelines; and produce automated root cause analysis reports. Additional tools query PromQL, identify namespace resource constraints, detect statistical anomalies, forecast resource exhaustion, and produce focused or adaptive namespace investigations.

## How it works

The server communicates with MCP clients and uses the client’s Kubernetes or OpenShift access for cluster operations. In local mode, it uses stdio transport and can be started with `python main.py`. When `KUBERNETES_NAMESPACE` is set while running inside Kubernetes, it automatically uses HTTP streaming transport instead.

Kubernetes features require a valid kubeconfig or equivalent cluster login and RBAC permissions sufficient to list pods, namespaces, and other resources. Prometheus is optional and supports the PromQL and forecasting features that depend on metrics data. KubeArchive-backed queries require access to that archive. The `templatize_pod_logs` and `deep_analyze_pod_logs` tools require the optional `logan` dependency.

## Setup and configuration

Install with Python 3.10 or newer. The documented `uv` flow clones the repository, runs `uv sync`, and starts the server with `uv run python main.py`. A pip-based option creates a virtual environment, installs the project with `pip install -e .`, and runs `python main.py`.

For Claude Code, the repository can be used as a project-local MCP integration. The configuration points the client at the virtual environment’s Python executable and `main.py`, with `PYTHONUNBUFFERED=1` in the process environment. After connecting to the target cluster, restart the client and approve the server connection. Other documented installation options include MCPM and manual MCP client configuration.

## Tools and capabilities

- Inspect namespaces, pods, arbitrary resources, labels, and archived objects.
- Monitor Tekton PipelineRuns and TaskRuns across namespaces.
- Retrieve, clean, summarize, stream, search, and analyze logs.
- Detect log and event patterns, anomalies, severities, and structural templates.
- Investigate failed pipelines and generate RCA reports.
- Query Prometheus, check resource constraints, and forecast exhaustion.
- Run focused or adaptive namespace health investigations.

## Limitations and notes

The server does not replace Kubernetes permissions or cluster connectivity; its useful results depend on the access available to the process. Metrics-oriented capabilities need a reachable Prometheus setup, while archived-resource queries need KubeArchive access. Two advanced log tools have an additional `logan` dependency and are not available from the base installation unless that dependency is installed.

HTTP streaming is conditional on running in Kubernetes with `KUBERNETES_NAMESPACE` configured. Clients must also support MCP and be configured to launch or connect to the server.

_Full upstream README: https://allmcps.com/mcp/spre-sre-lumino-mcp-server/readme_

