prometheus-mcp-server-py

prometheus-mcp-server-py

0

Prometheus MCP Server is a tool designed to provide access to Prometheus data through a Model Context Protocol server interface. It can be installed directly or run without installation for testing purposes.

Prometheus MCP Server

A tool that allows access to Prometheus data through a Model Context Protocol server.

Installation

pipx install git+https://github.com/moohoorama/prometheus-mcp-server-py.git

Run Without Installation

You can also run the package directly without installing it using pipx run:

pipx run --spec git+https://github.com/moohoorama/prometheus-mcp-server-py.git prometheus-mcp --url http://your-prometheus-server:9090

This is useful for testing or one-time usage scenarios.

Usage

# Command line arguments
prometheus-mcp --url http://your-prometheus-server:9090 \
  --username username \
  --password password
# Or
prometheus-mcp --url http://your-prometheus-server:9090 \
  --token your-token

Command Line Arguments

  • --url: Prometheus server URL (required)
  • --username: Username for basic authentication (optional)
  • --password: Password for basic authentication (optional)
  • --token: Token for authentication (optional)
  • --org-id: Organization ID for multi-tenant setups (optional)