AGENTS.mdA

AGENTS.md from prometheus/prometheus-mcp is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add prometheus/prometheus-mcp/AGENTS.md@git:20261016.c4e1736

Pins git:20261016.c4e1736 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
prometheus/prometheus-mcp
Path
AGENTS.md
Versions recorded
7
Latest version
git:20261016.c4e1736, committed Oct 16, 2026
First version recorded
Jun 25, 2026
Size
10,289 bytes
Repository stars
138
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Agent Guide for Prometheus MCP Server

An MCP server that exposes a running Prometheus instance (or compatible backend, e.g. Thanos) to LLM clients as typed tools and resources, plus search over an embedded snapshot of the official Prometheus docs (Bleve-indexed at startup). [README.md](README.md) is the canonical reference for the tool list, install methods, auth, telemetry, and flags — when a change affects any of those, update the README rather than duplicating it here.

## Build, test, lint

Standard Prometheus tooling: `Makefile` includes `Makefile.common` and drives [`promu`](https://github.com/prometheus/promu); CI is [`prometheus/promci`](https://github.com/prometheus/promci) (`.github/workflows/ci.yml`). Release artifacts are built in CI, not locally.

| Task | Command |
|---|---|
| Tests | `make test` |
| Single test while iterating | `go test -race -run TestName ./pkg/mcp/` |
| Lint | `make lint` |
| Full pre-commit check (style, license headers, lint, yamllint, tidy, build, test) | `make` |
| Build host binary | `make build` |
| Refresh embedded docs snapshot | `make docs` |
| List project-specific targets | `make help` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add prometheus/prometheus-mcp/AGENTS.md@sha256:b7ffb44e5d4c5211

The line at the top of this page pins the label git:20261016.c4e1736, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xt2f7roe2xjverqz.svg)](https://markdownregistry.com/a/art_xt2f7roe2xjverqz)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Jun 25, 2026 and Oct 16, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
git:20261016.c4e1736 latest2026-10-16 c4e1736 10,289 BA view · diff
git:20261002.ca816da2026-10-02 ca816da 9,524 BA view · diff
git:20260929.d6f2ffb2026-09-29 d6f2ffb 9,405 BA view · diff
git:20260929.881fd222026-09-29 881fd22 9,233 BA view · diff
git:20260813.5cdfb872026-08-13 5cdfb87 7,516 BA view · diff
git:20260703.694ce962026-07-03 694ce96 7,360 BA view · diff
git:20260625.b95e6892026-06-25 b95e689 6,727 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (10289 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

prometheus/prometheus-mcp · 138 stars · license Apache-2.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xt2f7roe2xjverqz
GET https://markdownregistry.com/api/v1/resolve?ref=prometheus/prometheus-mcp/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/b7ffb44e5d4c52113bf65466bca05e912ee6f6a6a2818b682dd87e3b7122290d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from prometheus/prometheus-mcp

CLAUDE.md CLAUDE.md file
prometheus/prometheus-mcp · CLAUDE.md
git:20260324.e032979 · audit B · 138 stars
check-system-health SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/check-system-health/SKILL.md · Health-check the Prometheus server and its targets. Use for status, uptime, or is-monitoring-OK questions; reviews…
git:20260721.4db318b · audit A · 138 stars
find-top-resource-consumers SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/find-top-resource-consumers/SKILL.md · Find the top CPU, memory, or disk consumers. Use for capacity reviews, noisy-neighbor hunts, and top-N questions about…
git:20260721.4db318b · audit A · 138 stars
investigate-error-rates SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/investigate-error-rates/SKILL.md · Investigate elevated error rates and failing requests. Use when errors or 5xx/gRPC failures spike, SLOs burn, or an…
git:20260721.4db318b · audit A · 138 stars
optimize-high-cardinality SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/optimize-high-cardinality/SKILL.md · Find and reduce high-cardinality metrics and labels. Use when series counts or memory grow, queries slow down, or…
git:20260721.4db318b · audit A · 138 stars
review-prometheus-rules SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/review-prometheus-rules/SKILL.md · Audit and improve recording and alerting rules. Use when reviewing alert coverage or rule health, drafting new alerts…
git:20260721.4db318b · audit A · 138 stars
troubleshoot-missing-data SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/troubleshoot-missing-data/SKILL.md · Diagnose missing metrics, absent series, or scrape gaps. Use when queries unexpectedly return empty, a metric stopped…
git:20260721.4db318b · audit A · 138 stars
tune-prometheus-config SKILL.md skill
prometheus/prometheus-mcp · pkg/mcp/assets/skills/tune-prometheus-config/SKILL.md · Review and tune Prometheus configuration and performance. Use for scrape interval, retention, storage, relabeling…
git:20260721.4db318b · audit A · 138 stars

Every file in prometheus/prometheus-mcp

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.