Skip to main content
Glama
bgauger

Prometheus Safe MCP

by bgauger

Prometheus Safe MCP

一个专注的、只读的 MCP 服务器,用于有界的 Prometheus 即时查询、活动告警和目标健康状态。Alpha: 测试使用合成的 HTTP 响应;与真实 Prometheus 版本的兼容性尚未认证。

安装与运行

需要 Python 3.11+ 和 uv

uv sync --extra test
export PROMETHEUS_SAFE_URL=https://prometheus.example.invalid
uv run prometheus-safe-mcp

该进程通过 stdio 使用 MCP 协议通信。它不会加载 .env.env.example 仅作为文档。请配置只读、网络受限的 Prometheus 端点的 URL。

Related MCP server: Prometheus MCP Server

安全性

所有工具均使用 HTTP GET。查询长度、HTTP 持续时间/字节数以及返回的目标数量均设有上限。配置会拒绝 URL 凭据、查询、片段和非 HTTP 协议。审计记录包含操作类别,而非 PromQL 文本或响应体。这不能替代上游的身份验证、授权或出口策略。请参阅安全设计

验证

uv run --extra test pytest
uv run python -m compileall -q src tests
uv build

MIT © 2026 Ben Gauger。

Install Server
A
license - permissive license
C
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • 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
    512
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to query Prometheus metrics, monitor alerts, and analyze system health through read-only access to your Prometheus server with built-in query safety and optional AI-powered metric analysis.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to execute PromQL queries and discover metrics across multiple Prometheus tenants using the Model Context Protocol. It supports single and multi-tenant configurations with secure authentication for instant and range query analysis.
    MIT

View all related MCP servers

Related MCP Connectors

  • Query Churn Solution cancellation-flow metrics, revenue, and feedback analytics (read-only).

  • Query metrics, targets, entities, and team data in your Steep workspace via MCP.

  • A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud

View all MCP Connectors

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/bgauger/prometheus-safe-mcp'

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