Back to Home
yshngg icon

prometheus-mcp-server

Verified Safe

by yshngg

Overview

Enables natural language interaction with Prometheus metrics and queries by acting as a Model Context Protocol (MCP) server.

Installation

Run Command
docker run --rm -p 8080:8080 ghcr.io/yshngg/prometheus-mcp-server:latest --prom-addr="http://host.docker.internal:9090" --transport=http --mcp-addr="0.0.0.0:8080"

Security Notes

The server itself is implemented in Go, uses standard libraries, and does not exhibit obvious code injection vulnerabilities like 'eval' or hardcoded secrets. It acts as a direct proxy for the Prometheus HTTP API, including administrative endpoints (e.g., TSDB Snapshot, Delete Series, Reload, Quit). The primary security consideration is operational: without an additional authorization layer built into this MCP server, any MCP-compatible client granted access to this server gains full control over the Prometheus instance, including potentially destructive or disruptive actions. Deployment should include strict network access controls and careful management of MCP client capabilities.

Similar Servers

Stats

Interest Score27
Security Score7
Cost ClassLow
Stars3
Forks2
Last Update2026-01-06

Tags

GoPrometheusMonitoringNatural Language ProcessingMCP