Back to Home
pab1it0 icon

prometheus-mcp-server

Verified Safe

by pab1it0

Overview

Enables AI assistants to query and analyze Prometheus metrics through a Model Context Protocol (MCP) server.

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
  • PROMETHEUS_URL_SSL_VERIFY
  • PROMETHEUS_DISABLE_LINKS
  • PROMETHEUS_USERNAME
  • PROMETHEUS_PASSWORD
  • PROMETHEUS_TOKEN
  • ORG_ID
  • PROMETHEUS_MCP_SERVER_TRANSPORT
  • PROMETHEUS_MCP_BIND_HOST
  • PROMETHEUS_MCP_BIND_PORT
  • PROMETHEUS_CUSTOM_HEADERS

Security Notes

Authentication credentials (username/password or bearer token) are handled via environment variables and marked as secrets in the MCP server configuration. The server supports disabling SSL verification for Prometheus connections (`PROMETHEUS_URL_SSL_VERIFY`), which is insecure and explicitly warned against for production. Docker images are designed to run as a non-root user (`app`) and expose port 8080. No 'eval' or malicious code patterns were identified. Structured logging is used for better observability.

Similar Servers

Stats

Interest Score75
Security Score9
Cost ClassHigh
Avg Tokens1500
Stars294
Forks66
Last Update2025-11-22

Tags

PrometheusMonitoringMetricsObservabilityAI IntegrationMCPData Analysis