MCP server · Audited from source
Prometheus MCP server
by idanfishman/prometheus-mcpMIT licenceAudited 8 Oct 2026 · source 6913cb0d7bde
Is it safe? Yes — SAFE, grade B (89/100). It exposes 10 tools: 8 read, 2 write and 0 destructive. The audit recorded 6 findings (0 critical, 0 high, 0 medium, 5 low). Maintainer's description: A Model Context Protocol (MCP) server implementation that provides AI agents with programmatic access to Prometheus metrics via a unified interface.
Cite
Cite this page
ModelsAtlas. “Prometheus MCP server (idanfishman/prometheus-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/idanfishman/prometheus-5
4 MCP servers are called Prometheus. You are viewing idanfishman/prometheus-mcp. Compare all 4 →
- tjhop/prometheus-mcp-server Org-owned★ 119!CAUTION
- pab1it0/prometheus-mcp-server★ 517✓SAFE
- caesaryangs/prometheus_mcp_server★ 33✓SAFE
- idanfishman/prometheus-mcp★ 27✓SAFE
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared1 observation
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 4 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
idanfishmanUser accountAccount type recorded when we read the repository. - PackagePublished on npm
prometheus-mcpat version 1.1.3 - LicenceMITFrom the repository, as read at the audited commit.
- Last push8 months agoActivity of the repository when we read it.
- Source commit read6913cb0d7bdeThe audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory10 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (6)
Sorted by severity
LOWFilesystem / pathfs.traversal · src/cmd/cmd.ts:7
import packageJSON from "../../package.json";
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/server/server.test.ts:19
vi.mock("../../package.json", () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/server/server.ts:6
import packageJSON from "../../package.json";
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, dotenv, express, pino, yargs, zod, @eslint/js, @tsconfig/recommended
- Why
- 23 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.authority_framing · examples/dba/prompts/weekly-newsletter-generator.md:9
You are a senior PostgreSQL DBA creating executive-level reporting for technical leadership. Your audience includes database administrators, application developers, infrastructure teams, and technical
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
10 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
prometheus_query | write | Execute PromQL queries against Prometheus |
prometheus_query_range | write | Execute PromQL range queries for time-series data |
prometheus_build_info | read | Get Prometheus build information |
prometheus_label_values | read | Get available values for a specific label |
prometheus_list_labels | read | List all available Prometheus labels |
prometheus_list_metrics | read | List all available Prometheus metrics |
prometheus_list_targets | read | List all available Prometheus targets |
prometheus_metric_metadata | read | Get metadata for a specific Prometheus metric |
prometheus_runtime_info | read | Get Prometheus runtime information |
prometheus_scrape_pool_targets | read | Get targets for a specific scrape pool |
Install
Package version 1.1.3 · audited commit 6913cb0
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.1.3. The audit covers commit 6913cb0 only.
claude mcp add prometheus-mcp -- npx -y [email protected]
{
"mcpServers": {
"prometheus-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}The command pins the package version recorded in the source (1.1.3); the audit covers commit 6913cb0d7bde. Transport: stdio · streamable-http. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
6913cb0d7bde
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/idanfishman/prometheus-5/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Prometheus MCP server
What is the Prometheus MCP server?
What tools does Prometheus expose?
Is Prometheus safe to connect to an agent?
What credentials does Prometheus need?
How does Prometheus run?
How current is this page?
Which Prometheus MCP server is the right one?
Sources
- idanfishman/prometheus-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 6913cb0d7bdeObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Prometheus MCP server?
- What tools does Prometheus expose?
- Is Prometheus safe to connect to an agent?