Skip to main content
Glama

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(可选)

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moohoorama/prometheus-mcp-server-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server