Lumino
Provides tools for analyzing etcd logs to assist SREs in monitoring core Kubernetes infrastructure health and troubleshooting cluster state issues.
Offers comprehensive cluster management capabilities, including resource querying, namespace investigation, pod management, and real-time health monitoring using various analysis strategies.
Enables the simulation and risk assessment of configuration changes for NGINX ingress controllers, helping to evaluate impact on traffic before deployment.
Integrates with Prometheus to enable advanced metrics monitoring, historical performance baselining, and predictive forecasting for resource bottlenecks.
Provides deep intelligence for Tekton CI/CD pipelines, including monitoring of runs, automated root cause analysis for failures, and performance baselining.
LUMINO MCP Server
An open source MCP (Model Context Protocol) server empowering SREs with intelligent observability, predictive analytics, and AI-driven automation across Kubernetes, OpenShift, and Tekton environments.
Table of Contents
Related MCP server: LUMINO MCP Server
Overview
LUMINO MCP Server transforms how Site Reliability Engineers (SREs) and DevOps teams interact with Kubernetes clusters. By exposing 37 specialized tools through the Model Context Protocol, it enables AI assistants to:
Monitor cluster health, resources, and pipeline status in real-time
Analyze logs, events, and anomalies using statistical and ML techniques
Troubleshoot failed pipelines with automated root cause analysis
Predict resource bottlenecks and potential issues before they occur
Simulate configuration changes to assess impact before deployment
Features
Kubernetes & OpenShift Operations
Namespace and pod management
Resource querying with flexible output formats
Label-based resource search across clusters
OpenShift operator and MachineConfigPool status
etcd log analysis
Tekton Pipeline Intelligence
Pipeline and task run monitoring across namespaces
Detailed log retrieval with optional cleaning
Failed pipeline root cause analysis
Cross-cluster pipeline tracing
CI/CD performance baselining
Advanced Log Analysis
Smart log summarization with configurable detail levels
Streaming analysis for large log volumes
Hybrid analysis combining multiple strategies
Semantic search using NLP techniques
Anomaly detection with severity classification
Predictive & Proactive Monitoring
Statistical anomaly detection using z-score analysis
Predictive log analysis for early warning
Resource bottleneck forecasting
Certificate health monitoring with expiry alerts
TLS certificate issue investigation
Event Intelligence
Smart event retrieval with multiple strategies
Progressive event analysis (overview to deep-dive)
Advanced analytics with ML pattern detection
Log-event correlation
Simulation & What-If Analysis
Monte Carlo simulation for configuration changes
Impact analysis before deployment
Risk assessment with configurable tolerance
Affected component identification
Quick Start
Get started with LUMINO in under 2 minutes:
For Claude Code CLI Users (Easiest)
Simply ask Claude Code to provision the Lumino MCP server for you by pasting this prompt:
Provision the Lumino MCP server as a project-local MCP integration:
1. Clone the repository:
git clone https://github.com/spre-sre/lumino-mcp-server.git
2. Install Python dependencies using uv:
cd lumino-mcp-server && uv sync
3. Create .mcp.json in the current project root (NOT inside lumino-mcp-server) with this configuration.
IMPORTANT: Replace <ABSOLUTE_PATH_TO_LUMINO> with the actual absolute path to the cloned lumino-mcp-server directory:
{
"mcpServers": {
"lumino": {
"type": "stdio",
"command": "<ABSOLUTE_PATH_TO_LUMINO>/.venv/bin/python",
"args": ["<ABSOLUTE_PATH_TO_LUMINO>/main.py"],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}
4. After creating .mcp.json, inform the user to:
- Exit Claude Code completely
- Connect to their Kubernetes or OpenShift cluster (kubectl/oc login)
- Restart Claude Code in this project directory
- They will see a prompt to approve the Lumino MCP server
- Once approved, Lumino tools will be available (check with /mcp command)For Other MCP Clients
Choose your preferred installation method:
MCPM (Recommended):
mcpm install @spre-sre/lumino-mcp-serverManual Setup: See detailed MCP Client Integration instructions
Verify Installation
Once installed, test with a simple query:
"List all namespaces in my Kubernetes cluster"Prerequisites
Required
Python 3.10 or higher - Core runtime
MCP Client - One of:
For Kubernetes Features
Kubernetes/OpenShift Access - Valid kubeconfig with read permissions
RBAC Permissions - Ability to list pods, namespaces, and other resources
Optional (Recommended)
uv - Faster dependency management than pip
MCPM - Easiest installation experience
Prometheus - For advanced metrics and forecasting features
Installation
Using uv (recommended)
# Clone the repository
git clone https://github.com/spre-sre/lumino-mcp-server.git
cd lumino-mcp-server
# Install dependencies
uv sync
# Run the server
uv run python main.pyUsing pip
# Clone the repository
git clone https://github.com/spre-sre/lumino-mcp-server.git
cd lumino-mcp-server
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -e .
# Run the server
python main.pyUsage
Local Mode (stdio transport)
By default, the server runs in local mode using stdio transport, suitable for direct integration with MCP clients:
python main.pyKubernetes Mode (HTTP streaming transport)
When running inside Kubernetes, set the namespace environment variable to enable HTTP streaming:
export KUBERNETES_NAMESPACE=my-namespace
python main.pyThe server automatically detects the environment and switches transport modes.
Usage Examples
π Intelligent Root Cause Analysis
Investigate and diagnose complex failures with automated analysis:
"Generate a comprehensive RCA report for the failed pipeline run 'build-api-pr-456' in namespace ci-cd""Analyze what caused pod crashes in namespace production over the last 6 hours and correlate with resource events""Investigate the TLS certificate issues affecting services in namespace ingress-nginx"π― Predictive Intelligence & Forecasting
Anticipate problems before they impact your systems:
"Predict resource bottlenecks across all production namespaces for the next 48 hours""Analyze historical pipeline performance and detect anomalies in build times for the last 30 days""Check cluster certificate health and alert me about any certificates expiring in the next 60 days""Use predictive log analysis to identify potential failures in namespace monitoring before they occur"π§ͺ Simulation & What-If Analysis
Test changes safely before applying them to production:
"Simulate the impact of increasing memory limits to 4Gi for all pods in namespace backend-services""Run a what-if scenario for scaling deployments to 10 replicas and analyze resource consumption""Simulate configuration changes for nginx ingress controller and assess risk to existing traffic"πΊοΈ Topology & Dependency Mapping
Understand system architecture and component relationships:
"Generate a live topology map of all services, deployments, and their dependencies in namespace microservices""Map the complete dependency graph for the payment-service including all connected resources""Show me the topology of components affected by the cert-manager service"π¬ Advanced Investigation & Forensics
Deep-dive into complex issues with multi-faceted analysis:
"Perform an adaptive namespace investigation for production - analyze logs, events, and resource patterns""Create a detailed investigation report for resource constraints and bottlenecks in namespace data-processing""Trace pipeline execution for commit SHA abc123def from source to deployment across all namespaces""Search logs semantically for 'authentication failures related to expired tokens' across the last 24 hours"π CI/CD Pipeline Intelligence
Optimize and troubleshoot your continuous delivery pipelines:
"Establish performance baselines for all Tekton pipelines and flag runs deviating by more than 2 standard deviations""Trace the complete pipeline flow for image 'api:v2.5.3' from build to production deployment""Analyze failed pipeline runs in namespace tekton-pipelines and identify common failure patterns""Compare current pipeline run times against 30-day baseline and highlight performance degradation"π¨ Progressive Event Analysis
Multi-level event investigation from overview to deep-dive:
"Start with an overview of events in namespace kube-system, then drill down into critical issues""Perform advanced event analytics with ML pattern detection for namespace monitoring over the last 12 hours""Correlate events with pod logs to identify the root cause of CrashLoopBackOff in namespace applications"π Real-Time Monitoring & Alerts
Stay informed about cluster health and pipeline status:
"Show me the status of all Tekton pipeline runs cluster-wide and highlight long-running pipelines""List all failed TaskRuns in the last hour with error details and recommended actions""Monitor OpenShift cluster operators and alert on any degraded components""Check MachineConfigPool status and show which nodes are being updated"π Security & Compliance
Ensure cluster security and certificate management:
"Scan all namespaces for expiring certificates and generate a renewal schedule""Investigate TLS certificate issues causing handshake failures in namespace istio-system""Audit all secrets and configmaps for sensitive data exposure patterns"π Advanced Analytics & ML Insights
Leverage machine learning for pattern detection:
"Use streaming log analysis to process large log volumes from namespace data-pipeline with error pattern detection""Detect anomalies in log patterns using ML analysis with medium severity threshold for namespace api-gateway""Analyze resource utilization trends using Prometheus metrics and forecast capacity needs"Configuration
Kubernetes Authentication
The server automatically detects Kubernetes configuration:
In-cluster config - When running inside a Kubernetes pod
Local kubeconfig - When running locally (uses
~/.kube/config)
Environment Variables
Variable | Description | Default | When to Use |
| Namespace for K8s mode | - | When running server inside a Kubernetes pod |
| Alternative namespace variable | - | Alternative to |
| Prometheus server URL for metrics | Auto-detected | Custom Prometheus endpoint or non-standard port |
| Path to kubeconfig file |
| Multiple clusters or custom kubeconfig location |
| Logging verbosity (DEBUG, INFO, WARNING, ERROR) |
| Debugging issues or reducing log noise |
| MCP framework log level |
| Troubleshooting MCP protocol issues |
| Disable Python output buffering | - | Recommended for MCP clients to see real-time logs |
Available Tools
Kubernetes Core (4 tools)
Tool | Description |
| List all namespaces in the cluster |
| List pods with status and placement info |
| Get any Kubernetes resource with flexible output |
| Search resources across namespaces by labels |
Tekton Pipelines (6 tools)
Tool | Description |
| List PipelineRuns with status and timing |
| List TaskRuns, optionally filtered by pipeline |
| Retrieve pipeline logs with optional cleaning |
| Recent pipelines across all namespaces |
| Find pipelines by pattern matching |
| Cluster-wide pipeline status summary |
Log Analysis (6 tools)
Tool | Description |
| Extract error patterns from log text |
| Intelligent log summarization |
| Streaming analysis for large logs |
| Combined analysis strategies |
| Anomaly detection with severity levels |
| NLP-based semantic log search |
Event Analysis (3 tools)
Tool | Description |
| Smart event retrieval with strategies |
| Multi-level event analysis |
| ML-powered event pattern detection |
Failure Analysis & RCA (2 tools)
Tool | Description |
| Root cause analysis for failed pipelines |
| Automated incident reports |
Resource Monitoring (4 tools)
Tool | Description |
| Detect resource issues in namespace |
| Statistical anomaly detection |
| Execute PromQL queries |
| Predict resource exhaustion |
Namespace Investigation (2 tools)
Tool | Description |
| Focused namespace health check |
| Dynamic investigation based on query |
Certificate & Security (2 tools)
Tool | Description |
| Find TLS-related problems |
| Certificate expiry monitoring |
OpenShift Specific (3 tools)
Tool | Description |
| MachineConfigPool status and updates |
| Cluster operator health |
| etcd log retrieval and analysis |
CI/CD Performance (2 tools)
Tool | Description |
| Pipeline performance baselines |
| Trace pipelines by commit, PR, or image |
Topology & Prediction (2 tools)
Tool | Description |
| Real-time system topology mapping |
| Predict issues from log patterns |
Simulation (1 tool)
Tool | Description |
| Simulate configuration changes |
Architecture
lumino-mcp-server/
βββ main.py # Entry point with transport detection
βββ src/
β βββ server-mcp.py # MCP server with all 37 tools
β βββ helpers/
β βββ constants.py # Shared constants
β βββ event_analysis.py # Event processing logic
β βββ failure_analysis.py # RCA algorithms
β βββ log_analysis.py # Log processing
β βββ resource_topology.py # Topology mapping
β βββ semantic_search.py # NLP search
β βββ utils.py # Utility functions
βββ pyproject.toml # Project configurationHow It Works
LUMINO acts as a bridge between AI assistants and your Kubernetes infrastructure through the Model Context Protocol:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Assistant Layer β
β (Claude Desktop, Claude Code CLI, Gemini CLI) β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
β Natural Language Queries
β "Analyze failed pipelines"
β "Predict resource bottlenecks"
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Model Context Protocol β
β (MCP Communication) β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
β Tool Invocations & Results
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β LUMINO MCP Server β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Log Analysis β β Event Intel β β Predictive β β
β β (6 tools) β β (3 tools) β β (2 tools) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Pipeline β β Simulation β β Topology β β
β β (6 tools) β β (1 tool) β β (2 tools) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
β Kubernetes API Calls
β Prometheus Queries
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Kubernetes/OpenShift Cluster β
β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β Pods β β Services β β Tekton β βetcd/Logs β β
β ββββββββββββ ββββββββββββ βPipelines β ββββββββββββ β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β Events β β Configs β ββββββββββββ βPrometheusβ β
β ββββββββββββ ββββββββββββ βOpenShift β ββββββββββββ β
β βOperators β β
β ββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββWorkflow
User Query β AI assistant receives natural language request
MCP Translation β Assistant converts query to appropriate tool calls
LUMINO Processing β Server executes Kubernetes/Prometheus operations
Data Analysis β ML/statistical algorithms process raw data
AI Synthesis β Assistant formats results into human-readable insights
Key Features
Stateless Design - No data persistence, queries cluster in real-time
Automatic Transport Detection - Switches between stdio (local) and HTTP (K8s) modes
Token Budget Management - Adaptive strategies to handle large log volumes
Intelligent Caching - Smart caching for frequently accessed data
Security First - Uses existing kubeconfig RBAC permissions, no separate auth
MCP Client Integration
Method 1: Using MCPM (Recommended for Claude Code CLI / Gemini CLI)
The easiest way to install LUMINO MCP Server for Claude Code CLI or Gemini CLI is using MCPM - an MCP server package manager.
Install MCPM
# Clone and build MCPM
git clone https://github.com/spre-sre/mcpm.git
cd mcpm
go build -o mcpm .
# Optional: Add to PATH
sudo mv mcpm /usr/local/bin/Requirements: Go 1.23+, Git, Python 3.10+, uv (or pip)
Install LUMINO MCP Server
# Install from GitHub repository (short syntax)
mcpm install @spre-sre/lumino-mcp-server
# Or use full GitHub URL
mcpm install https://github.com/spre-sre/lumino-mcp-server.git
# For GitLab repositories (if hosted on GitLab)
mcpm install gl:@spre-sre/lumino-mcp-server
# Install for specific client
mcpm install @spre-sre/lumino-mcp-server --claude # For Claude Code CLI
mcpm install @spre-sre/lumino-mcp-server --gemini # For Gemini CLI
# Install globally (works with both Claude and Gemini)
mcpm install @spre-sre/lumino-mcp-server --globalShort syntax explained:
@owner/repo- Installs from GitHub (default:https://github.com/owner/repo.git)gl:@owner/repo- Installs from GitLab (https://gitlab.com/owner/repo.git)Full URL - Works with any Git repository
This will:
Clone the repository to
~/.mcp/servers/lumino-mcp-server/Auto-detect Python project and install dependencies using
uv(or pip)Register with Claude Code CLI or Gemini CLI configuration automatically
Manage LUMINO
# List installed servers
mcpm list
# Update LUMINO
mcpm update lumino-mcp-server
# Remove LUMINO
mcpm remove lumino-mcp-serverMethod 2: Manual Configuration
If you prefer manual setup or need to configure Claude Desktop / Cursor, follow these client-specific guides:
Claude Desktop
Find your config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add LUMINO configuration:
{
"mcpServers": {
"lumino": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/lumino-mcp-server",
"python",
"main.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Restart Claude Desktop
Verify: Look for the hammer icon (π¨) in Claude Desktop to see available tools
Claude Code CLI
Option A: Using MCPM (see Method 1 above)
Option B: Automatic Provisioning via Claude Code (Recommended and easiest way)
Copy and paste the provisioning prompt from the Quick Start section above into Claude Code. Claude will clone the repository, install dependencies, and configure the MCP server for your project.
Option C: Manual Configuration
Clone and install:
git clone https://github.com/spre-sre/lumino-mcp-server.git
cd lumino-mcp-server
uv sync # Creates .venv with all dependenciesCreate
.mcp.jsonin your project root (for project-local config) or update~/.claude.json(for global config):
{
"mcpServers": {
"lumino": {
"type": "stdio",
"command": "/absolute/path/to/lumino-mcp-server/.venv/bin/python",
"args": ["/absolute/path/to/lumino-mcp-server/main.py"],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Important: Replace /absolute/path/to/lumino-mcp-server with the actual absolute path where you cloned the repository (e.g., /Users/username/projects/lumino-mcp-server).
Verify installation:
# Check MCP servers
claude mcp list
# Test with a query
claude "List all namespaces in my cluster"Gemini CLI
Option A: Using MCPM (Recommended - see Method 1 above)
Option B: Manual Configuration
Find your config file location:
macOS/Linux:
~/.config/gemini/mcp_servers.jsonWindows:
%APPDATA%\gemini\mcp_servers.json
Add LUMINO configuration:
{
"mcpServers": {
"lumino": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/lumino-mcp-server",
"python",
"main.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Verify installation:
# Check MCP servers
gemini mcp list
# Test with a query
gemini "Show me failed pipeline runs"Cursor IDE
Open Cursor Settings:
Press
Cmd+,(macOS) orCtrl+,(Windows/Linux)Search for "MCP" or "Model Context Protocol"
Add MCP Server Configuration:
In Cursor's MCP settings, add:
{
"mcpServers": {
"lumino": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/lumino-mcp-server",
"python",
"main.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Alternative - Using Cursor's settings.json:
Open Command Palette (
Cmd+Shift+PorCtrl+Shift+P)Type "Preferences: Open User Settings (JSON)"
Add the MCP configuration:
{
"mcp.servers": {
"lumino": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/lumino-mcp-server",
"python",
"main.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Restart Cursor IDE
Verify: Open Cursor's AI chat and check if LUMINO tools are available
Configuration Notes
Replace /path/to/lumino-mcp-server with the actual path where you cloned the repository:
# Example paths:
# macOS/Linux: /Users/username/projects/lumino-mcp-server
# Windows: C:\Users\username\projects\lumino-mcp-server
# If installed via MCPM:
# ~/.mcp/servers/lumino-mcp-server/Environment Variables (optional):
Add these to the env section if needed:
{
"env": {
"PYTHONUNBUFFERED": "1",
"KUBERNETES_NAMESPACE": "default",
"PROMETHEUS_URL": "http://prometheus:9090",
"LOG_LEVEL": "INFO"
}
}Using Alternative Python Package Managers
With pip instead of uv
{
"command": "python",
"args": [
"/path/to/lumino-mcp-server/main.py"
]
}Note: Ensure you've activated the virtual environment first:
cd /path/to/lumino-mcp-server
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .With poetry
{
"command": "poetry",
"args": [
"run",
"python",
"main.py"
],
"cwd": "/path/to/lumino-mcp-server"
}Testing Your Configuration
After configuring any client, test the connection:
Check if tools are loaded:
Claude Desktop: Look for π¨ hammer icon
Claude Code CLI:
claude mcp listGemini CLI:
gemini mcp listCursor: Check AI chat for available tools
Test a simple query:
"List all namespaces in my Kubernetes cluster"Check server logs (if issues):
# Run server manually to see errors
cd /path/to/lumino-mcp-server
uv run python main.pyExpected output:
MCP Server running in stdio mode
Available tools: 37
Waiting for requests...Advanced Configuration
Multiple Clusters
Configure multiple LUMINO instances for different clusters:
{
"mcpServers": {
"lumino-prod": {
"command": "uv",
"args": ["run", "--directory", "/path/to/lumino-mcp-server", "python", "main.py"],
"env": {
"KUBECONFIG": "/path/to/prod-kubeconfig.yaml"
}
},
"lumino-dev": {
"command": "uv",
"args": ["run", "--directory", "/path/to/lumino-mcp-server", "python", "main.py"],
"env": {
"KUBECONFIG": "/path/to/dev-kubeconfig.yaml"
}
}
}
}Custom Log Level
{
"env": {
"LOG_LEVEL": "DEBUG",
"MCP_SERVER_LOG_LEVEL": "DEBUG"
}
}Supported Transports
The server automatically detects the appropriate transport:
stdio - For local desktop integrations (Claude Desktop, Claude Code CLI, Gemini CLI, Cursor)
streamable-http - For Kubernetes deployments (when
KUBERNETES_NAMESPACEis set)
Performance Considerations
Optimizing for Large Clusters
LUMINO is designed to handle clusters of any size efficiently:
Cluster Size | Recommendation | Tool Strategy |
Small (< 50 pods) | Use default settings | All tools work optimally |
Medium (50-500 pods) | Use namespace filtering | Leverage adaptive tools with auto-sampling |
Large (500+ pods) | Specify time windows and namespaces | Use conservative and streaming tools |
Very Large (1000+ pods) | Combine filters and pagination | Progressive analysis with targeted queries |
Token Budget Management
LUMINO automatically manages AI context limits:
Adaptive Sampling - Smart tools auto-sample data when volumes are high
Progressive Loading - Stream analysis processes data in chunks
Token Budgets - Configurable limits prevent context overflow
Hybrid Strategies - Automatically selects best analysis approach
Query Optimization Tips
Use Namespace Filtering
β
"Analyze logs for pods in namespace production"
β "Analyze all pod logs in the cluster"Specify Time Windows
β
"Show events from the last 2 hours"
β "Show all events" (might return thousands)Leverage Smart Tools
β
"smart_summarize_pod_logs" - Adaptive analysis
β Direct log dumps - No processingUse Progressive Analysis
β
Start with "overview" β drill down to "detailed"
β Jump directly to "deep_dive" on large datasetsPerformance Metrics
Operation | Typical Response Time | Scalability |
List namespaces | < 1s | O(1) |
Get pod logs (1 pod) | 1-3s | O(log size) |
Analyze pipeline run | 2-5s | O(task count) |
Cluster-wide search | 5-15s | O(namespace count) |
ML anomaly detection | 3-10s | O(data points) |
Topology mapping | 5-20s | O(resource count) |
Caching Strategy
LUMINO uses intelligent caching for frequently accessed data:
15-minute cache - For web-fetched content
Session cache - For hybrid log analysis
No persistence - All data queries cluster in real-time
Concurrent Requests
The server handles multiple concurrent requests efficiently:
Thread-safe operations - Safe parallel tool execution
Connection pooling - Reuses Kubernetes API connections
Async HTTP - Non-blocking Prometheus queries
Resource Usage
Server Resource Requirements
Deployment | CPU | Memory | Disk |
Local (stdio) | 100-500m | 256-512Mi | Minimal |
Kubernetes | 200m-1 | 512Mi-1Gi | Minimal |
High-load | 1-2 | 1-2Gi | Minimal |
Note: LUMINO is stateless and requires minimal resources. Most processing happens in the AI assistant.
Troubleshooting
Common Issues
No Kubernetes cluster found
Error: Unable to load kubeconfigEnsure you have a valid kubeconfig at ~/.kube/config or are running inside a cluster.
Permission denied for resources
Error: Forbidden - User cannot list resourceCheck your RBAC permissions. The server needs read access to the resources you want to query.
Tool timeout For large clusters, some tools may timeout. Use filtering options (namespace, labels) to reduce scope.
Dependencies
mcp[cli]>=1.10.1- Model Context Protocol SDKkubernetes>=32.0.1- Kubernetes Python clientpandas>=2.0.0- Data analysisscikit-learn>=1.6.1- ML algorithmsprometheus-client>=0.22.0- Prometheus integrationaiohttp>=3.12.2- Async HTTP client
Contributing
Contributions are welcome! Please read our Contributing Guide before submitting pull requests.
Security
For security vulnerabilities, please see our Security Policy.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Acknowledgments
Built with FastMCP framework
Inspired by the needs of SRE teams managing complex Kubernetes environments
Available Tools
37 toolsadaptive_namespace_investigationA
Adaptive namespace investigation with progressive analysis and token budget management.
Best for medium namespaces (5-30 pods). Prioritizes failed/error pods, correlates events.
Args:
namespace: Kubernetes namespace to investigate.
investigation_query: What to investigate (default: "investigate all logs and events for potential issues").
max_pods: Maximum pods to analyze (default: 20).
focus_areas: Areas to focus on (default: ["errors", "warnings", "performance"]).
token_budget: Max tokens for investigation (default: 200000).
Returns:
Dict: Pod analysis, event correlation, findings, and recommendations.
Inputs: namespace (required), investigation_query, max_pods, focus_areas, +1 more. Returns: result
advanced_event_analyticsB
Advanced ML-powered event analytics with log/metrics integration and runbook suggestions.
Args:
namespace: Kubernetes namespace to analyze.
time_period: Time window (e.g., "4h", "1d", "12h").
include_ml_patterns: Enable ML pattern detection (default: True).
include_log_correlation: Correlate with log data (default: True).
include_metrics_correlation: Correlate with metrics (default: True).
include_runbook_suggestions: Generate runbook suggestions (default: True).
analysis_depth: "basic", "comprehensive" (default), or "deep".
Returns:
Dict: Advanced analytics with ML insights, correlations, and runbook suggestions.
Inputs: namespace (required), time_period, include_ml_patterns, include_log_correlation, +3 more. Returns: result
analyze_failed_pipelineA
Perform root cause analysis on a failed Tekton PipelineRun.
Fetches pipeline/task details, analyzes logs for errors, and provides remediation recommendations.
Args:
namespace: Kubernetes namespace of the PipelineRun.
pipeline_run: Name of the failed PipelineRun.
Returns:
Dict[str, Any]: Keys: pipeline_name, pipeline_status, overall_message, failed_task_count,
failed_tasks, probable_root_cause, recommended_actions.
Inputs: namespace (required), pipeline_run (required). Returns: result
analyze_logsC
Analyze log text to extract error patterns and insights.
Args:
log_text: Log content string (single entry, multiple lines, or full log file).
Returns:
Dict[str, Any]: Keys: error_count, error_patterns, categorized_errors, summary.
Inputs: log_text (required). Returns: result
analyze_pod_logs_hybridA
Hybrid log analyzer with intelligent strategy selection and caching.
Automatically selects best analysis approach based on context and urgency.
Args:
namespace: Kubernetes namespace.
pod_name: Pod name to analyze.
container_name: Specific container (if multiple).
strategy: "auto" (default), "smart_summary", "streaming", or "hybrid".
request_type: "investigation", "troubleshooting", or "monitoring".
urgency: "low", "medium" (default), "high", or "critical".
use_cache: Use intelligent caching (default: True).
custom_params: Custom parameters for strategies.
Returns:
Dict[str, Any]: Keys: strategy_used, analysis_results, supplementary_insights,
performance_metrics, recommendations, cache_info.
Inputs: namespace (required), pod_name (required), container_name, strategy, +4 more. Returns: result
automated_triage_rca_report_generatorB
Generate automated Root Cause Analysis (RCA) report for pipeline/pod failures.
Performs log analysis, resource checks, event correlation, and provides remediation suggestions.
Args:
failure_identifier: Pipeline run name, pod name, or failure event ID.
namespace: Optional namespace where the failure occurred. If not provided, searches across detected CI/CD namespaces.
investigation_depth: "quick", "standard" (default), or "deep".
include_related_failures: Analyze related recent failures (default: True).
time_window: Time window for related events (default: "2h").
generate_timeline: Generate event timeline (default: True).
include_remediation: Include remediation steps (default: True).
Returns:
Dict: RCA report with summary, timeline, root cause, diagnostics, and remediation.
Inputs: failure_identifier (required), namespace, investigation_depth, include_related_failures, +3 more. Returns: result
check_cluster_certificate_healthA
Scan for expiring certificates across the cluster to prevent service disruptions.
Scans TLS secrets, system certificates, and provides renewal recommendations.
Args:
warning_threshold_days: Days before expiration for warning (default: 30).
critical_threshold_days: Days before expiration for critical alert (default: 7).
include_system_certs: Include system certificates (default: True).
include_user_certs: Include user certificates (default: True).
namespaces: Namespaces to scan (default: all accessible).
certificate_types: Types to check: "tls", "ca", "client", "server" (default: all).
Returns:
Dict: Certificate health with expiration timeline, recommendations, and security findings.
Inputs: warning_threshold_days, critical_threshold_days, include_system_certs, include_user_certs, +2 more. Returns: result
check_resource_constraintsA
Check for resource constraints in a namespace that may impact pipelines.
Identifies: pending/unschedulable pods, OOMKilled containers, CrashLoopBackOff,
ImagePullBackOff, high restart counts, and resource quota utilization.
Args:
namespace: Kubernetes namespace to inspect.
Returns:
Dict[str, Any]: Keys: status (Healthy/Warning/Critical/Error), summary, resource_quotas,
pending_pods_due_to_resources, oom_killed_containers, container_issues,
high_utilization_quotas, recommendations.
Inputs: namespace (required). Returns: result
ci_cd_performance_baselining_toolA
Establish performance baselines for pipelines and flag runs deviating from historical norms.
Uses Prometheus metrics from Tekton controller for accurate historical performance data.
Falls back to Kubernetes API if Prometheus is unavailable.
Args:
pipeline_names: Pipelines to analyze (default: all).
baseline_period: "7d", "30d" (default), or "90d".
deviation_threshold: Std deviations to trigger alerts (default: 2.0).
performance_metrics: Metrics: "duration", "cpu", "memory", "success_rate" (default: all).
update_frequency: "daily" (default) or "weekly".
include_task_level: Include task-level analysis (default: True).
Returns:
Dict: Baselines, recent runs analysis, trends, and optimization opportunities.
Inputs: pipeline_names, baseline_period, deviation_threshold, performance_metrics, +2 more. Returns: result
conservative_namespace_overviewA
Conservative namespace analysis optimized for large namespaces with strict token limits.
Smart-samples critical pods (failed, high-restart, error states) for rapid issue detection.
Args:
namespace: Kubernetes namespace to analyze.
max_pods: Maximum pods to analyze (default: 10).
focus_areas: Areas to focus on (default: ["errors", "warnings"]).
sample_strategy: "smart" for intelligent sampling, "recent" for newest pods.
Returns:
Dict: Analysis results with pod health, issues detected, and recommendations.
Inputs: namespace (required), max_pods, focus_areas, sample_strategy. Returns: result
detect_anomaliesA
Detect anomalies in Tekton PipelineRuns/TaskRuns using z-score statistical analysis.
Identifies unusually long execution times (threshold: 2.5 standard deviations from mean).
Args:
namespace: Kubernetes namespace to analyze.
limit: Max recent PipelineRuns to analyze (default: 50).
Returns:
Dict: Keys: pipeline_anomalies, task_anomalies (lists with anomaly details).
Inputs: namespace (required), limit. Returns: result
detect_log_anomaliesB
Detect anomalies in log data using error frequency, pattern repetition, and timestamp analysis.
Args:
logs: Raw log content (newline-separated entries).
baseline_patterns: Optional expected error patterns for comparison.
severity_threshold: "low" (most sensitive), "medium", or "high" (least sensitive).
Returns:
Dict[str, Any]: Keys: anomaly_detected (bool), anomaly_details, analysis_summary.
Inputs: logs (required), baseline_patterns, severity_threshold. Returns: result
find_pipelineA
Find Tekton pipelines matching a pattern across all accessible namespaces.
Searches PipelineRuns/TaskRuns by name, labels, or annotations using cluster-wide queries.
Args:
pipeline_id_pattern: Pattern to match (partial name, label value, or substring).
include_taskruns: Include TaskRuns in search results (default: False for performance).
max_results: Maximum matching results to return per resource type (default: 100).
namespaces: Optional list of namespaces to search (default: all namespaces).
pipeline_runs_limit: Max PipelineRuns to fetch from API (default: 1000).
task_runs_limit: Max TaskRuns to fetch from API if include_taskruns=True (default: 500).
Returns:
Dict[str, Any]: Keys: pipeline_runs, task_runs, pipelines_as_code, all_namespaces_checked,
diagnostic_info, substring_matches.
Inputs: pipeline_id_pattern (required), include_taskruns, max_results, namespaces, +2 more. Returns: result
get_etcd_logsA
Retrieve etcd pod logs from Kubernetes/OpenShift with flexible time and line filtering.
Auto-detects cluster type and uses appropriate namespace/label selectors.
Args:
tail_lines: Lines from end of logs (default: 200, None for all).
since_seconds: Logs newer than N seconds (overrides tail_lines).
since_time: Logs newer than RFC3339 timestamp (overrides since_seconds).
until_time: Logs older than RFC3339 timestamp (requires since_time or since_seconds).
follow: Stream logs in real-time (default: False).
timestamps: Include timestamps (default: True).
previous: Get logs from previous container instance (default: False).
clean_logs: Clean/format logs (default: True).
Returns:
Dict[str, str]: Pod names as keys, logs as values.
Inputs: tail_lines, since_seconds, since_time, until_time, +4 more. Returns: result
get_kubernetes_resourceB
Retrieve details about a Kubernetes/Tekton resource.
Args:
resource_type: Resource type. Supported: pod, service, configmap, secret, pvc, namespace, node,
serviceaccount, endpoints, event, persistentvolume, resourcequota, limitrange,
deployment, replicaset, daemonset, statefulset, job, cronjob, ingress,
storageclass, hpa (horizontalpodautoscaler),
pipelinerun, taskrun, pipeline, task, clustertask,
triggertemplate, triggerbinding, eventlistener,
podmonitor, servicemonitor, prometheusrule, alertmanager.
name: Resource name.
namespace: Namespace (default: "default").
output_format: "summary", "detailed", or "yaml" (default: "summary").
Returns:
str: Formatted resource information.
Inputs: resource_type (required), name (required), namespace, output_format. Returns: result
get_machine_config_pool_statusA
Monitor OpenShift Machine Config Pools for node configuration and update rollouts.
Analyzes pool status, update progress, and configuration drift.
Args:
pool_names: Pools to monitor (default: all).
include_node_details: Include node status per pool (default: True).
show_config_diff: Show config differences during updates (default: False).
include_update_history: Include update history (default: True).
filter_updating: Only show updating pools (default: False).
Returns:
Dict: Keys: pools_overview, machine_config_pools, recent_config_changes, issues,
update_recommendations.
Inputs: pool_names, include_node_details, show_config_diff, include_update_history, +1 more. Returns: result
get_openshift_cluster_operator_statusA
Check health and status of OpenShift cluster operators for platform functionality.
Analyzes operator conditions, versions, and dependencies.
Args:
operator_names: Operators to check (default: all).
include_conditions: Include condition details (default: True).
show_version_info: Include version info (default: True).
filter_degraded: Only show operators with issues (default: False).
include_dependencies: Show operator dependencies (default: False).
Returns:
Dict: Keys: cluster_info, operator_status, health_summary, critical_issues, dependencies.
Inputs: operator_names, include_conditions, show_version_info, filter_degraded, +1 more. Returns: result
get_pipelinerun_logsA
Fetch logs from all pods in a Tekton PipelineRun with adaptive volume management.
Prioritizes failed pods and manages token budgets automatically when no time/line filters specified.
Args:
pipelinerun_name: PipelineRun name.
namespace: Kubernetes namespace.
clean_logs: Clean and format logs (default: True).
tail_lines: Lines from end (optional).
since_seconds: Logs newer than N seconds (optional).
since_time: Logs newer than RFC3339 timestamp (optional).
timestamps: Include timestamps (default: True).
previous: Get logs from previous container instance (default: False).
max_token_budget: Maximum tokens for output (default: 120000). Applies to both adaptive and manual modes.
Returns:
Dict[str, Any]: Pod names as keys, logs as values. Includes "_metadata" with processing info.
Inputs: pipelinerun_name (required), namespace (required), clean_logs, tail_lines, +5 more. Returns: result
get_tekton_pipeline_runs_statusA
Get cluster-wide status summary of all Tekton PipelineRuns and TaskRuns.
Shows running/succeeded/failed counts, recent failures, and long-running pipelines (>1 hour).
Args:
pipeline_runs_limit: Max PipelineRuns to fetch cluster-wide (default: 500).
task_runs_limit_per_namespace: Max TaskRuns to fetch per namespace (default: 100).
max_namespaces: Max namespaces to scan for TaskRuns (default: 20).
recent_failures_limit: Max recent failures to include in output (default: 10).
long_running_limit: Max long-running pipelines to include (default: 5).
Returns:
Dict[str, Any]: Keys: timestamp, sampling_info, pipeline_runs (total, by_status,
recent_failures [top N], failures_by_namespace, long_running [top N]),
task_runs (total, by_status, recent_failures [top N], failures_by_namespace),
insights.
Inputs: pipeline_runs_limit, task_runs_limit_per_namespace, max_namespaces, recent_failures_limit, +1 more. Returns: result
investigate_tls_certificate_issuesA
Investigate TLS/certificate issues across the cluster with targeted search and analysis.
Searches system namespaces for TLS error patterns and correlates with certificate events.
Args:
search_pattern: TLS error pattern (default: "tls: bad certificate").
time_range: Search time range (default: "24h").
max_namespaces: Max namespaces to search (default: 20).
focus_on_system_namespaces: Prioritize system namespaces (default: True).
Returns:
Dict: TLS issues, affected pods, certificate problems, and remediation suggestions.
Inputs: search_pattern, time_range, max_namespaces, focus_on_system_namespaces. Returns: result
list_namespacesA
List all namespaces in the Kubernetes cluster.
Returns:
List[str]: Alphabetically sorted namespace names. Empty list if access denied or cluster unreachable.
Inputs: no named parameters. Returns: result
list_pipelinerunsA
List Tekton PipelineRuns in a namespace with status and timing details.
Args:
namespace: Kubernetes namespace to query.
Returns:
List[Dict]: PipelineRuns with keys: name, pipeline, status, started_at, completed_at, duration.
Empty list if none found. [{"error": "msg"}] on failure.
Inputs: namespace (required). Returns: result
list_pods_in_namespaceA
List all pods in a Kubernetes namespace with status and placement info.
Args:
namespace: Kubernetes namespace to query.
Returns:
List[Dict]: Pods with keys: name, status, ip, node_name, creation_timestamp,
restart_count, container_states (list of waiting/terminated reasons).
Inputs: namespace (required). Returns: result
list_recent_pipeline_runsA
List recent Tekton PipelineRuns across all accessible namespaces, sorted by start time.
Args:
limit: Max PipelineRuns to retrieve (default: 10).
Returns:
Dict[str, List[Dict]]: Namespace to PipelineRun list. Each run has: namespace, name,
start_time, status, pipeline, labels.
Inputs: limit. Returns: result
list_taskrunsA
List Tekton TaskRuns in a namespace, optionally filtered by a specific PipelineRun.
Args:
namespace: Kubernetes namespace to query.
pipeline_run: Optional PipelineRun name to filter by.
Returns:
List[Dict]: TaskRuns with keys: name, task, pipeline_run, status, started_at, completed_at, duration.
Inputs: namespace (required), pipeline_run. Returns: result
live_system_topology_mapperA
Generate real-time dependency graph of Kubernetes/Tekton components and their interconnections.
Maps Services, Deployments, Pipelines, PVCs, and their relationships via ownerReferences and selectors.
Args:
cluster_names: Clusters to map (default: all).
component_types: Filter by types (services, deployments, pipelines, pvcs, etc.). Note: secrets are NOT included by default.
namespace_filter: Regex pattern to filter namespaces.
depth_limit: Max dependency depth (default: 5).
include_metrics: Include resource metrics (default: False).
output_format: "json" (default), "graphviz", or "mermaid".
skip_on_permission_denied: Continue mapping other resources if permission denied (default: True).
Returns:
Dict: Topology graph with nodes, edges, summary, metadata, and permission report.
Inputs: cluster_names, component_types, namespace_filter, depth_limit, +3 more. Returns: result
pipeline_tracerA
Trace a logical operation (commit, PR, image) as it flows through pipelines.
Correlates pipeline runs using labels, annotations, and artifact references.
Args:
trace_identifier: Commit SHA, PR number, image tag, or custom trace ID.
trace_type: "commit", "pr", "image", or "custom".
start_time: ISO 8601 start timestamp.
end_time: ISO 8601 end timestamp.
include_artifacts: Include artifact details (default: True).
trace_depth: "shallow" or "deep" (default: "deep").
namespaces: Specific namespaces to search (skips auto-detection).
max_namespaces: Maximum namespaces to search when auto-detecting (default: 50).
Returns:
Dict: Pipeline flow, artifacts, bottlenecks, and summary.
Inputs: trace_identifier (required), trace_type (required), start_time, end_time, +4 more. Returns: result
predictive_log_analyzerA
Predict failures using ML analysis of historical log patterns before critical outages occur.
Uses anomaly detection algorithms to correlate log patterns with failure events.
Args:
prediction_window: Time window - "1h", "6h", "24h", "7d" (default: "6h").
confidence_threshold: Min confidence for predictions 0.0-1.0 (default: 0.75).
log_sources: Sources to analyze - pods, services, nodes (default: all).
failure_types: Types to predict - pod_crash, resource_exhaustion, network_issues.
historical_data_range: Historical data period (default: "30d").
model_refresh_interval: Model retrain frequency (default: "24h").
namespaces: Specific namespaces to analyze (default: auto-detect active namespaces).
max_namespaces: Maximum namespaces to scan when auto-detecting (default: 20).
Returns:
Dict: Keys: predictions, model_performance, anomaly_scores, trend_analysis.
Inputs: prediction_window, confidence_threshold, log_sources, failure_types, +4 more. Returns: result
progressive_event_analysisB
Progressive event analysis with multiple detail levels and correlation detection.
Args:
namespace: Kubernetes namespace to analyze.
analysis_level: "overview", "detailed", "correlation", or "deep_dive" (default: "overview").
time_period: Time window (e.g., "2h", "4h", "1d").
event_filters: Filters like {"severity": ["CRITICAL"], "category": ["FAILURE"]}.
seed_event_id: Event ID for correlation analysis.
focus_areas: Areas to emphasize (default: ["errors", "warnings", "failures"]).
Returns:
Dict: Analysis results based on selected level.
Inputs: namespace (required), analysis_level, time_period, event_filters, +2 more. Returns: result
prometheus_queryA
Execute PromQL queries against Prometheus for cluster metrics.
Supports instant and range queries with automatic endpoint discovery and authentication.
Args:
query: PromQL query string.
query_type: "instant" or "range" (default: "instant").
start_time: Start for range queries (ISO 8601 or Unix timestamp).
end_time: End for range queries (ISO 8601 or Unix timestamp).
step: Step interval for range queries (default: "300s").
cluster: Cluster domain override.
format: "json", "table", or "csv" (default: "json").
namespace_filter: Regex to filter by namespace.
limit: Max results to return.
timeout: Query timeout in seconds (default: 30).
Returns:
Dict: Query results, metadata, execution info, and analysis.
Inputs: query (required), query_type, start_time, end_time, +6 more. Returns: result
resource_bottleneck_forecasterA
Forecast resource bottlenecks by analyzing utilization trends and predicting exhaustion points.
Uses time-series analysis to predict CPU, memory, disk, and network capacity constraints.
Args:
forecast_horizon: Forecast window - "1h", "6h", "24h", "7d", "30d" (default: "24h").
resource_types: Resources to analyze - cpu, memory, disk, network, pvc (default: all).
clusters: Specific clusters to analyze (default: all).
namespaces: Specific namespaces to focus on.
confidence_level: Statistical confidence 0.80-0.99 (default: 0.95).
trend_analysis_period: Historical period for trends (default: "7d").
alerting_threshold: Alert threshold percentage (default: 0.80).
Returns:
Dict: Keys: forecasts, capacity_recommendations, cluster_overview, historical_accuracy.
Inputs: forecast_horizon, resource_types, clusters, namespaces, +3 more. Returns: result
search_resources_by_labelsA
Search Kubernetes resources by labels across multiple resource types and namespaces.
Args:
resource_types: Types to search (e.g., ["pods", "services", "deployments"]).
label_selectors: Criteria list [{"key": str, "value": str, "operator": "equals|exists|not_equals|in|not_in"}].
namespaces: Namespaces to search (default: all).
field_selectors: Additional field selectors.
limit_per_type: Max results per type (default: 100).
include_metadata_only: Return only metadata (default: False).
include_status: Include status info (default: True).
sort_by: "name", "namespace", "creation_time", or "labels" (default: "creation_time").
sort_order: "asc" or "desc" (default: "desc").
Returns:
Dict: Search results with resource details, analysis, and recommendations.
Inputs: resource_types (required), label_selectors (required), namespaces, field_selectors, +5 more. Returns: result
semantic_log_searchA
Search logs using natural language queries with semantic understanding beyond keyword matching.
Uses NLP for query interpretation, Kubernetes/Tekton entity recognition, and relevance ranking.
Args:
query: Natural language query describing what to search for.
time_range: Time range - "1h", "6h", "24h", "7d" (default: "1h").
namespaces: Specific namespaces to search (default: auto-detect relevant namespaces).
severity_levels: Log severity levels to include.
max_results: Maximum results to return (default: 100).
context_lines: Surrounding lines per match (default: 3).
group_similar: Group similar log entries (default: True).
Returns:
Dict: Keys: query_interpretation, search_results, result_summary, suggestions.
Inputs: query (required), time_range, namespaces, severity_levels, +3 more. Returns: result
smart_get_namespace_eventsA
Adaptive event analysis for a namespace with automatic volume management.
When no constraints specified, automatically: estimates volume, applies smart time windows,
prioritizes errors/warnings, samples within token limits.
Args:
namespace: Kubernetes namespace to analyze.
last_n_events: Exact event count (only if user specifies).
time_period: Exact time window (only if user specifies).
strategy: "auto" for adaptive behavior (default).
focus_areas: Areas to emphasize (default: ["errors", "warnings", "failures"]).
max_context_tokens: Max output tokens (default: 8000).
include_summary: Include summary and insights (default: True).
severity_filter: Filter by severity levels.
resource_filter: Filter by resource type.
Returns:
Dict: Events with adaptive filtering, insights, and recommendations.
Inputs: namespace (required), last_n_events, time_period, strategy, +5 more. Returns: result
smart_summarize_pod_logsA
Adaptive pod log analysis with automatic volume management and multi-pass processing.
When no time constraints specified, automatically estimates volume and selects optimal time windows.
Args:
namespace: Kubernetes namespace.
pod_name: Pod name to analyze.
container_name: Specific container (if multiple).
summary_level: "brief", "detailed", or "comprehensive" (default: "detailed").
focus_areas: Analysis focus (default: ["errors", "warnings", "performance"]).
time_segments: Time-based segments to analyze (default: 5).
max_context_tokens: Max tokens for analysis (default: 10000).
since_seconds: Only if user specifies exact seconds.
tail_lines: Only if user specifies exact line count.
time_period: Only if user specifies period (e.g., "1h", "30m").
start_time: Only if user specifies exact start time.
end_time: Only if user specifies exact end time.
Returns:
Dict[str, Any]: Log analysis with insights, patterns, and recommendations.
Inputs: namespace (required), pod_name (required), container_name, summary_level, +8 more. Returns: result
stream_analyze_pod_logsA
Stream and analyze pod logs in chunks with progressive pattern detection.
Processes logs in manageable chunks for memory efficiency and real-time insights.
Args:
namespace: Kubernetes namespace.
pod_name: Pod name to stream logs from.
container_name: Specific container (if multiple).
chunk_size: Lines per chunk (default: 5000).
analysis_mode: "errors_only", "errors_and_warnings" (default), "full_analysis", or "custom_patterns".
time_window: Time window for historical logs (e.g., "1h", "6h", "24h").
follow: Stream logs in real-time (default: False).
max_chunks: Max chunks to process (default: 50).
since_seconds: Logs from last N seconds.
tail_lines: Limit to last N lines.
time_period: Time period (e.g., "1h", "30m").
start_time: Start time (ISO format).
end_time: End time (ISO format).
max_context_tokens: Maximum tokens for output (default: 50000).
Returns:
Dict[str, Any]: Keys: chunks, overall_summary, trending_patterns, recommendations, metadata.
Inputs: namespace (required), pod_name (required), container_name, chunk_size, +10 more. Returns: result
what_if_scenario_simulatorA
Simulate impact of configuration changes before applying to live system with risk assessment.
Uses Monte Carlo simulation and load modeling based on historical data.
Args:
scenario_type: Type - "resource_limits", "scaling", "configuration", "deployment".
changes: Changes to simulate with before/after values.
scope: Simulation scope - clusters, namespaces, components.
simulation_duration: Duration - "1h", "24h", "7d" (default: "24h").
load_profile: Expected load - "current", "peak", "custom" (default: "current").
risk_tolerance: Risk level - "conservative", "moderate", "aggressive" (default: "moderate").
Returns:
Dict: Keys: simulation_id, impact_analysis, risk_assessment, affected_components, recommendations.
Inputs: scenario_type (required), changes (required), scope, simulation_duration, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 37 tools
Multiple tools have overlapping purposes that could cause confusion. For example, 'adaptive_namespace_investigation', 'conservative_namespace_overview', and 'smart_get_namespace_events' all analyze namespace events with similar parameters. Similarly, 'analyze_pod_logs_hybrid', 'smart_summarize_pod_logs', and 'stream_analyze_pod_logs' all handle pod log analysis with overlapping functionality. While descriptions provide some differentiation, the boundaries between these tools are unclear.
The naming conventions are mixed but generally readable. Most tools use snake_case (e.g., 'adaptive_namespace_investigation', 'analyze_failed_pipeline'), but there are deviations like 'ci_cd_performance_baselining_tool' with inconsistent underscores. Verb patterns vary: some start with verbs (analyze_, detect_, get_, list_), others are descriptive phrases (adaptive_namespace_investigation, conservative_namespace_overview). While not chaotic, the lack of a consistent pattern reduces predictability.
With 37 tools, this server feels excessively heavy for its Kubernetes/Tekton monitoring and troubleshooting domain. Many tools appear to be minor variations of core functions (e.g., multiple namespace investigation tools, multiple pod log analyzers). The count suggests feature duplication rather than comprehensive coverage, making it difficult for agents to navigate efficiently. A more focused set of 15-20 tools would better serve the apparent scope.
The tool surface covers the Kubernetes/Tekton monitoring domain comprehensively. It includes resource retrieval (get_kubernetes_resource), listing operations (list_namespaces, list_pipelineruns), log analysis, event investigation, performance monitoring, and advanced features like predictive analytics and simulation. While there might be minor gaps in specific subdomains, the set supports complete troubleshooting workflows from detection to remediation across the CI/CD pipeline lifecycle.
Maintenance
Related MCP Connectors
AI SRE: investigate production incidents across your observability stack.
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
MCP-native AI SRE: ask what's broken in production, get a reviewed GitHub fix PR.
MCP observability. Query live traffic, errors, duration, and alerts from your AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive, AI-powered performance analysis and monitoring platform for OpenShift/Kubernetes clusters. This project provides Model Context Protocol (MCP) servers for analyzing etcd, network, and OVN-Kubernetes components with deep performance insights, automated root cause analysis, and actionable recommendations.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn open source MCP server empowering SREs with intelligent observability, predictive analytics, and AI-driven automation across Kubernetes, OpenShift, and Tekton environments.20 PyPI11Apache 2.0
- AlicenseAqualityDmaintenanceAI-powered MCP server for enterprise OpenShift/Kubernetes cluster management, providing diagnostic tools, RAG knowledge retrieval, and autonomous remediation recommendations.9MIT
- AlicenseBqualityCmaintenanceA comprehensive Model Context Protocol (MCP) server that exposes 216 tools, 7 resources, and 10 runbook prompts for every OpenShift 4 cluster operation an SRE, developer, or operator could need β all driven by an LLM.216Apache 2.0