prometheus-mcp-server
Verified Safeby yshngg
Overview
Enables natural language interaction with Prometheus metrics and queries by acting as a Model Context Protocol (MCP) server.
Installation
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
mcp-server-elasticsearch
Connects Model Context Protocol (MCP) clients to Elasticsearch instances, enabling natural language queries and interactions with Elasticsearch indices and data.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
loki-mcp
A Go-based server that implements the Model Context Protocol (MCP) to integrate Grafana Loki log querying capabilities with AI agents like Claude Desktop or n8n.
mkp
MKP is a Model Context Protocol (MCP) server for Kubernetes, enabling LLM-powered applications to interact with Kubernetes clusters by providing tools for resource listing, getting, applying, deleting, and executing commands.