Index / Observability

prometheus-mcp (official)

access level: configurable✔ Source-reviewed Oct 2026

We read this project's source code and tool definitions (Oct 2026). This is a code review, not a live test against real systems. Re-check after upgrades.
Repositoryhttps://github.com/prometheus/prometheus-mcp
CategoryObservability
Systems touchedPrometheus (and Thanos-compatible backends): PromQL, labels/series, alerts/rules/targets, docs, admin
Access (as described)configurable
License / priceApache-2.0 / free
GitHub stars137 (checked Oct 2026)
Read toolsquery, range_query, label_names/values, series, metric_metadata, list_alerts/rules/targets, build_info, config, flags, runtime_info, healthy/ready, docs_*, runbooks_*, tsdb_stats, exemplar_query, …
Write / delete / exec toolsreload, quit; TSDB admin (delete_series, clean_tombstones, snapshot) only with --dangerous.enable-tsdb-admin-tools
Read-only modePartial: --mcp.tools whitelist; TSDB admin off by default; core query/docs tools always loaded; use a read-only Prometheus reverse-proxy or auth for hard readonly
Safety notesDo not pass --dangerous.enable-tsdb-admin-tools unless you really mean it. reload/quit can disrupt scraping — drop them via --mcp.tools if the agent should only query. Prefer this official server over one-off forks when starting fresh.
Verifiedyes (README review 2026-11-07)
NotesOfficial Prometheus org server (supersedes community-only options for many users). Embeds Agent Skills/runbooks. Actively updated (push 2026-11-05). Added 2026-11-07. Sibling still listed: pab1it0/prometheus-mcp-server.

📬 SysAdmin Agents

The SysAdmin Agents newsletter: new MCP servers, agent skills and safety notes for sysadmins. One email a week.