What do I need to run Prometheus MCP Server?
You need a Prometheus server accessible from your environment and an MCP-compatible client such as Claude Desktop, VS Code, Cursor, or Windsurf.
@pab1it0
基本信息
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"prometheus-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"\\"
]
}
}
}System
Query
Query
Discovery
Discovery
Discovery
Prometheus MCP Server is a Model Context Protocol server that gives AI assistants the power to query your Prometheus metrics and execute PromQL queries through standardized MCP interfaces. It is intended for users of MCP-compatible clients such as Claude Desktop, VS Code, Cursor, or Windsurf who need to analyze metrics data from a Prometheus server.
Install and run the server via Docker, or deploy to Kubernetes using the provided Helm chart. Configure it by setting the PROMETHEUS_URL environment variable to point to your Prometheus server, plus optional authentication and transport variables. Add the server to your MCP client’s configuration (for example, Claude Desktop or VS Code) using the Docker command shown in the README.
You need a Prometheus server accessible from your environment and an MCP-compatible client such as Claude Desktop, VS Code, Cursor, or Windsurf.
Set the `PROMETHEUS_URL` environment variable to the URL of your Prometheus server. Optional authentication can be configured via `PROMETHEUS_USERNAME` and `PROMETHEUS_PASSWORD`, `PROMETHEUS_TOKEN`, or client certificate variables.
The server supports stdio (default), HTTP, and SSE transport modes, controlled by the `PROMETHEUS_MCP_SERVER_TRANSPORT` environment variable.
Yes, the list of tools is configurable so you can choose which tools to expose to the MCP client, helping to save context window space.
Yes, the server supports basic authentication, bearer token authentication, and mutual TLS authentication, all configured via environment variables.

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.

Open-source Mac network diagnostics for AI agents and humans. Check connectivity, Wi-Fi, hotspots and traffic from the terminal or MCP.
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott
评论