prometheus-mcp-server
78
Prometheus MCP Server is an MCP-compatible server that enables AI assistants to interact with Prometheus for metric queries and analysis. It supports authentication and Docker deployment, providing configurable tools for enhanced functionality.
Prometheus MCP Server
A Model Context Protocol (MCP) server for Prometheus that provides access to Prometheus metrics and queries through standardized MCP interfaces for AI assistants.
Features
- Execute PromQL queries
- Discover and explore metrics
- Authentication support
- Docker containerization support
- Configurable interactive tools
Usage
- Ensure Prometheus server access
- Configure environment variables
Docker Usage
- Pre-built Docker image available
- Options for local image build and various Docker run methods
Development
- Contributions welcome via issues or pull requests
- Uses
uv
for dependency management
Project Structure
- Organized with a
src
directory and Docker files
Testing
- Comprehensive test suite using pytest
Tools
- Provides tools for query execution, metric discovery, and target information
License
MIT