MCP ExplorerExplorer

Prometheus Mcp Server Py

@kakao-yanoo-kimon 22 days ago
1 MIT
FreeCommunity
AI Systems
A tool for accessing Prometheus data via a Model Context Protocol server.

Overview

What is Prometheus Mcp Server Py

Prometheus MCP Server is a tool that provides access to Prometheus data through a Model Context Protocol server, enabling users to interact with Prometheus metrics easily.

Use cases

Use cases include monitoring application performance, analyzing system metrics, and integrating Prometheus data with other tools or services for enhanced observability.

How to use

To use Prometheus MCP Server, you can install it via Smithery or manually using pipx. You can also run it directly without installation for testing purposes. Command line arguments allow you to specify the Prometheus server URL, authentication details, and other options.

Key features

Key features include support for basic authentication, token-based authentication, organization ID for multi-tenant setups, customizable evaluation timeout, and a limit on the number of returned series.

Where to use

Prometheus MCP Server can be used in various fields such as DevOps, cloud monitoring, and application performance management, where access to Prometheus metrics is required.

Content

Prometheus MCP Server

smithery badge

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

Installation

Installing via Smithery

To install Prometheus Data Access Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kakao-yanoo-kim/prometheus-mcp-server-py --client claude

Manual Installation

pipx install git+https://github.com/kakao-yanoo-kim/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/kakao-yanoo-kim/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)
  • --timeout: Evaluation timeout in seconds (default: 30)
  • --limit: Maximum number of returned series (default: 1000)

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers