Skip to main content
Glama
Prometheus MCP

Prometheus MCP

by etruong42

프로메테우스 MCP

개념 증명 Prometheus MCP 서버.

필수 조건

uv 설치: https://docs.astral.sh/uv/getting-started/installation/

uv 사용하면 Python을 설치할 수도 있습니다.

Related MCP server: Scenario Word

실행 방법

이 저장소를 복제합니다.

.env 파일을 업데이트하세요

지엑스피1

Claude와 통합

서버를 실행할 수 있습니다

uv --directory "/directory/to/prometheus-mcp" run server.py

따라서 이 MCP 서버를 Claude MCP 서버 구성에 추가할 수 있습니다.

{
  "mcpServers": {
      "Prometheus MCP": {
          "command": "/path/to/uv",
          "args": [
              "--directory",
              "/directory/to/prometheus-mcp",
              "run",
              "server.py"
          ]
      }
  }
}

클로드 관련 지침에 대한 자세한 내용은 MCP 빠른 시작을 참조하세요.

데모

데모 gif

데모에서 공유된 Claude 채팅에 대한 링크

Available Tools

2 tools
prometheus_alert_rulesB

Query the Prometheus /rules API. Returns a list of alerting and recording rules that are currently loaded. In addition it returns the currently active alerts fired by the Prometheus instance of each alerting rule.

Inputs: no named parameters.

prometheus_query_rangeA
Query Prometheus /query_range API endpoint and return
an image of a plot of the time series monitoring data.
Use this tool whenever the user asks about the status
of their compute infrastructure.

Inputs: step (required), query (required), end_time (required), start_time (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools target completely different aspects: one retrieves alert and recording rules, the other queries time series data and returns a plot. There is no overlap in functionality, making selection unambiguous.

    Naming Consistency4/5

    Both tools share the 'prometheus_' prefix and follow snake_case. One uses a noun phrase ('alert_rules') and the other a verb-noun phrase ('query_range'), which is a minor inconsistency but still predictable and descriptive.

    Tool Count2/5

    With only 2 tools for a complex system like Prometheus, the server is severely under-scoped. Many essential operations (e.g., listing metrics, instant queries, target discovery) are missing, limiting its usefulness.

    Completeness2/5

    The server covers only alert rules and range queries with plots, leaving out critical Prometheus capabilities such as instant queries, metric metadata, targets, or alert management beyond listing rules. Agents cannot perform basic monitoring workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables Large Language Models to retrieve, analyze, and query metric data from Prometheus databases through pre-defined routes.
      33
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A customizable Model Context Protocol server built with mcp-framework that enables Claude to access external tools and capabilities through a standardized interface.
      -
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to query Prometheus metrics, discover available data, and analyze system performance through natural language interactions.
      5
      128 npm
      MIT