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
What prometheus-mcp-server gives an 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
An MCP listing is not a security review
An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.