Prometheus MCP Server

v0.19.0-rc.0
io.github.prometheus/prometheus-mcp Checked 56 minutes ago Published 28 days ago

An API-complete MCP server to manage Prometheus-compatible backends.

Docker verified

Requires Docker

Run in a terminal
claude mcp add prometheus-mcp -- docker run -i --rm docker.io/prom/prometheus-mcp:v0.19.0-rc.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "prometheus-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/prom/prometheus-mcp:v0.19.0-rc.0"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prometheus-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/prom/prometheus-mcp:v0.19.0-rc.0"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "prometheus-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/prom/prometheus-mcp:v0.19.0-rc.0"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prometheus-mcp]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/prom/prometheus-mcp:v0.19.0-rc.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: alertmanagers, build_info, clean_tombstones, config, delete_series, docs_list, docs_read, docs_search, ….
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json