Database · MODEL CONTEXT PROTOCOL

prometheus-mcp-server

A Model Context Protocol (MCP) server that enables AI assistants to query and analyze Prometheus metrics through standardized interfaces.

WHAT IT CONNECTS

prometheus-mcp-server 为 AI Agent 提供什么

  • [x] Execute PromQL queries against Prometheus
  • [x] Discover and explore metrics
  • [x] List available metrics
  • [x] Get metadata for specific metrics
  • [x] View instant query results
  • [x] View range query results with different step intervals
  • [x] Authentication support
  • [x] Basic auth from environment variables
  • [x] Bearer token auth from environment variables
  • [x] Docker containerization support
  • [x] Provide interactive tools for AI assistants
  • Ensure your Prometheus server is accessible from the environment where you'll run this MCP server.
  • Configure the environment variables for your Prometheus server, either through a `.env` file or system environment variables:
  • Add the server configuration to your client configuration file. For example, for Claude Desktop:
  • Configuration validation tests
  • Server functionality tests
  • Error handling tests
  • Main application tests

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。