io.github.mshegolev

prometheus-mcp

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

stdiocommunityapplication

Package Details

Transportstdio

Environment Variables

PROMETHEUS_URL(str)
Required

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

PROMETHEUS_TOKEN(str)
Secret

Bearer token for authentication. Takes priority over Basic auth.

PROMETHEUS_USERNAME(str)

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

PROMETHEUS_PASSWORD(str)
Secret

HTTP Basic auth password.

PROMETHEUS_SSL_VERIFY(str)
Default:true

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