io.github.mshegolev/prometheus-mcp

io.github.mshegolev/prometheus-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "prometheus-mcp": {
      "command": "uvx",
      "args": [
        "prometheus-mcp"
      ],
      "env": {
        "PROMETHEUS_URL": "<your PROMETHEUS_URL>",
        "PROMETHEUS_TOKEN": "<your PROMETHEUS_TOKEN>",
        "PROMETHEUS_PASSWORD": "<your PROMETHEUS_PASSWORD>",
        "PROMETHEUS_SSL_VERIFY": "true"
      }
    }
  }
}
Environment variables
  • PROMETHEUS_URLrequiredPrometheus server URL, e.g. https://prometheus.example.com (no trailing slash)
  • PROMETHEUS_TOKENsecretBearer token for authentication. Takes priority over Basic auth.
  • PROMETHEUS_PASSWORDsecretHTTP Basic auth password.
  • PROMETHEUS_SSL_VERIFYVerify SSL certificates (true/false). Set to 'false' for self-signed certs.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.0
Registry
active
Published
4/18/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.mshegolev/prometheus-mcp is listed here — it’s also the link we check for a free listing.

io.github.mshegolev/prometheus-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mshegolev-prometheus-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.mshegolev/prometheus-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.mshegolev/prometheus-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mshegolev-prometheus-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.