Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Prometheus Mcp Server

A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit 4c9b37796adf, unchanged since the check below.

NETWORK_HOST_FROM_INPUT

Why this grade

  • NETWORK_HOST_FROM_INPUT Medium

    A file takes a URL or endpoint as input and has no fixed host list.

    src/prometheus_mcp_server/server.py, line 224 response = requests.get(url, params=params, auth=auth, headers=headers, verify=url_ssl_verify, cert=client_cert, timeout=config.request_timeout)

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Note

    The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell.

    INSTALL_DOCUMENTED_INSTALLER

    CONTRIBUTING.md, line 79

    curl -LsSf https://astral.sh/uv/install.sh | sh

    README.md, line 216

    curl -LsSf https://astral.sh/uv/install.sh | sh

  • Network

    Serious

    accepts a host from input, with no fixed list in this file.

    NETWORK_HOST_FROM_INPUT

    src/prometheus_mcp_server/server.py, line 224

    response = requests.get(url, params=params, auth=auth, headers=headers, verify=url_ssl_verify, cert=client_cert, timeout=config.request_timeout)

    src/prometheus_mcp_server/server.py, line 203

    auth = None # Clear auth for requests.get if it's already in headers

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    src/prometheus_mcp_server/main.py, line 12

    logger.info("Environment configuration loaded", source=".env file")

    src/prometheus_mcp_server/main.py, line 14

    logger.info("Environment configuration loaded", source="environment variables", note="No .env file found")

    src/prometheus_mcp_server/server.py, line 165

    password=os.environ.get("PROMETHEUS_PASSWORD", ""),

    Show more

    src/prometheus_mcp_server/server.py, line 166

    token=os.environ.get("PROMETHEUS_TOKEN", ""),

    src/prometheus_mcp_server/server.py, line 175

    client_key=os.environ.get("PROMETHEUS_CLIENT_KEY", "") or None,

    .dockerignore, line 24

    # Virtual environment

    .dockerignore, line 40

    # Config

    .gitignore, line 24

    # Environment

    CONTRIBUTING.md, line 103

    cp .env.template .env

    CONTRIBUTING.md, line 104

    # Edit .env with your Prometheus URL and credentials

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    uv.lock, line 1

    version = 1

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 4c9b37796adf. The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: 4c9b37796adf1a0175bff3ff70f981df9053ffa2

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen