Skip to main content
Glama
moohoorama

Prometheus MCP Server

by moohoorama

Prometheus MCP 服务器

一种允许通过模型上下文协议服务器访问 Prometheus 数据的工具。

安装

pipx install git+https://github.com/moohoorama/prometheus-mcp-server-py.git

无需安装即可运行

您也可以使用pipx run直接运行该包而无需安装它:

pipx run --spec git+https://github.com/moohoorama/prometheus-mcp-server-py.git prometheus-mcp --url http://your-prometheus-server:9090

这对于测试或一次性使用场景很有用。

Related MCP server: Prometheus MCP Server

用法

# Command line arguments
prometheus-mcp --url http://your-prometheus-server:9090 \
  --username username \
  --password password
# Or
prometheus-mcp --url http://your-prometheus-server:9090 \
  --token your-token

命令行参数

  • --url :Prometheus 服务器 URL(必需)

  • --username :基本身份验证的用户名(可选)

  • --password :基本身份验证的密码(可选)

  • --token :身份验证令牌(可选)

  • --org-id :多租户设置的组织 ID(可选)

Related MCP Connectors

  • Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.

  • The Google GKE MCP server is a managed Model Context Protocol server that provides AI applications with tools to manage Google Kubernetes Engine (GKE) clusters and Kubernetes resources. It exposes a structured, discoverable interface that allows AI agents to interact with GKE and Kubernetes APIs, enabling them to inspect cluster configurations, retrieve Kubernetes resource YAMLs, monitor operations like cluster upgrades, diagnose issues, and optimize costs—all without needing to parse text output or use complex kubectl commands.

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    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
  • A
    license
    A
    quality
    A
    maintenance
    Provides access to Prometheus metrics and queries through standardized Model Context Protocol interfaces, allowing AI assistants to execute PromQL queries and analyze metrics data.
    6
    516
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A tool that lets users access Prometheus metrics data through a Model Context Protocol server, supporting authentication options for secure data retrieval.
    1
    MIT
  • 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
    91 npm
    MIT