{"repo":"rhobs/obs-mcp","free":true,"listed":false,"github":"https://github.com/rhobs/obs-mcp","clone":"git clone https://github.com/rhobs/obs-mcp.git","description":"MCP server to allow LLMs to interact with a running Prometheus, Thanos, Alertmanager and optionally Tempo, OpenTelemetry Collector and Loki instances via the API","language":"Go","stars":11,"topics":["alertmanager","loki","mcp-server","observability","opentelemetry-collector","perses","prometheus","tempo","thanos","kubernetes"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"obs mcp server obs-mcp is an MCP server that lets LLMs query Prometheus or Thanos Querier and Alertmanager in Kubernetes. It optionally supports Loki for logs, Grafana Tempo for traces, and OpenTelemetry Collector configuration assistance. Enable additional toolsets with --toolsets (e.g., --toolsets observability/metrics,observability/logs,observability/traces,observability/otelcol ). [!NOTE] This project is moved from jhadvig/genie-plugin preserving the history of commits. Quickstart Run make help to see all available commands. 1. Using Kubeconfig (OpenShift) The easiest way to get the obs-mcp connected to the cluster is via a kubeconfig: 1. Login into your OpenShift cluster 2. Run the server with Or directly: This will auto-discover the metrics backend in OpenShift. By default, it tries thanos-querier route first, then falls back to prometheus-k8s route. Use --metrics-backend to control which route is preferred. [!WARNING] kubeconfig auth mode requires a bearer token. Run oc whoami -t to verify you have one. If it fails, either: - Re-login with: oc login --token= or oc login -u user -p password - Use port-forwarding with --auth-mode header instead Example using Prometheus as the preferred backend: Example using Thanos as the preferred backend: [!NOTE] Thanos versions before v0.40.0 do not expose the /api/v1/status/tsdb endpoint, so guardrails that rely on TSDB stats ( max-metric-cardinality , disallow-blanket-regex with max-label-cardinality 0 ) will fail. Use --guardrails=","default_branch":null,"files":null,"tree":[],"storefront":"/r/rhobs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rhobs/obs-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}