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
这对于测试或一次性使用场景很有用。
用法
# 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
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
该工具允许用户通过模型上下文协议服务器访问 Prometheus 指标数据,支持安全数据检索的身份验证选项。
Related MCP Servers
- -securityAlicense-qualityMCP server for interacting with Prometheus metrics and data.Last updated -16MIT License
- -securityAlicense-qualityAn MCP server that enables Large Language Models to retrieve, analyze, and query metric data from Prometheus databases through pre-defined routes.Last updated -31MIT License
- AsecurityAlicenseAqualityProvides access to Prometheus metrics and queries through standardized Model Context Protocol interfaces, allowing AI assistants to execute PromQL queries and analyze metrics data.Last updated -5249MIT License
- -securityFlicense-qualityA tool that enables access to Prometheus metrics data through a Model Context Protocol server, allowing interaction with monitoring data using natural language.Last updated -