Back to Home
fabriciodf icon

otel_prom_mcp_server

Verified Safe

by fabriciodf

Overview

Provides AI assistants with access to Prometheus metrics and PromQL query execution through standardized Model Context Protocol (MCP) interfaces.

Installation

Run Command
docker run -i --rm -e PROMETHEUS_URL="http://your-prometheus:9090" ghcr.io/pab1it0/prometheus-mcp-server:latest

Environment Variables

  • PROMETHEUS_URL

Security Notes

The server uses environment variables for sensitive data (Prometheus credentials) and runs as a non-root user ('app') within its Docker container, which are good security practices. It performs external HTTP requests to a Prometheus server, with an explicit configurable option (`PROMETHEUS_URL_SSL_VERIFY=False`) to disable SSL verification, which is logged as insecure. The `PROMETHEUS_CUSTOM_HEADERS` variable uses `json.loads` to parse custom headers, which is generally safe for its intended purpose of adding HTTP headers. No `eval` or similar dangerous patterns were identified.

Similar Servers

Stats

Interest Score36
Security Score8
Cost ClassLow
Avg Tokens500
Stars1
Forks0
Last Update2025-11-27

Tags

PrometheusMetricsMCPAI AssistantsObservability