Prometheus MCP 服务器
一种允许通过模型上下文协议服务器访问 Prometheus 数据的工具。
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Prometheus 数据访问服务器:
npx -y @smithery/cli install @kakao-yanoo-kim/prometheus-mcp-server-py --client claude手动安装
pipx install git+https://github.com/kakao-yanoo-kim/prometheus-mcp-server-py.git无需安装即可运行
您也可以使用pipx run直接运行该包而无需安装它:
pipx run --spec git+https://github.com/kakao-yanoo-kim/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(可选)--timeout:评估超时(秒)(默认值:30)--limit:返回系列的最大数量(默认值:1000)
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.