MCP directory
PM

Prometheus Mcp

by github.com/mshegolev · v0.1.0 · updated Apr 18, 2026

Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx prometheus-mcp==0.1.0

Environment variables

  • PROMETHEUS_URLrequired

    Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash)

  • PROMETHEUS_TOKENsecret

    Bearer token for authentication. Takes priority over Basic auth.

  • PROMETHEUS_USERNAME

    HTTP Basic auth username. Used only when PROMETHEUS_TOKEN is not set.

  • PROMETHEUS_PASSWORDsecret

    HTTP Basic auth password.

  • PROMETHEUS_SSL_VERIFY

    Verify SSL certificates (true/false). Set to 'false' for self-signed certs.

More from github.com/mshegolev

More MCP servers