AGENTS.mdA
AGENTS.md from prometheus/prometheus-mcp is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add prometheus/prometheus-mcp/AGENTS.md@git:20261016.c4e1736Pins 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
mdr add prometheus/prometheus-mcp/AGENTS.md@sha256:b7ffb44e5d4c5211The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261016.c4e1736 latest | 2026-10-16 | c4e1736 | 10,289 B | A | view · diff |
| git:20261002.ca816da | 2026-10-02 | ca816da | 9,524 B | A | view · diff |
| git:20260929.d6f2ffb | 2026-09-29 | d6f2ffb | 9,405 B | A | view · diff |
| git:20260929.881fd22 | 2026-09-29 | 881fd22 | 9,233 B | A | view · diff |
| git:20260813.5cdfb87 | 2026-08-13 | 5cdfb87 | 7,516 B | A | view · diff |
| git:20260703.694ce96 | 2026-07-03 | 694ce96 | 7,360 B | A | view · diff |
| git:20260625.b95e689 | 2026-06-25 | b95e689 | 6,727 B | A | view |
Audit of the latest version
- 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
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
Every file in prometheus/prometheus-mcp