Koskamo

prometheus-mcp

A read-only MCP server that allows agents to query Prometheus metrics using PromQL, inspect active alerts, and explore scrape targets. It supports Bearer token, HTTP Basic auth, or no auth, and returns dual-channel output with structured JSON and Markdown.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

prometheus-mcp logo, by mshegolevCommunity listingLocal stdioSource reviewed; not executedPublished by mshegolev
Vendor documentation

What you can do with it

  • Execute instant PromQL queries
  • List active and pending alerts
  • Explore scrape targets by health
  • Discover metric names with substring filters

Source and maintenance

Community listingRegistry 0.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

prometheus-mcp 0.1.0

pypi
prometheus-mcp package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "prometheus-mcp",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "PROMETHEUS_URL",
      "format": "string",
      "isRequired": true,
      "description": "Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash)"
    },
    {
      "name": "PROMETHEUS_TOKEN",
      "format": "string",
      "description": "Bearer token for authentication. Takes priority over Basic auth."
    },
    {
      "name": "PROMETHEUS_USERNAME",
      "format": "string",
      "description": "HTTP Basic auth username. Used only when PROMETHEUS_TOKEN is not set."
    },
    {
      "name": "PROMETHEUS_PASSWORD",
      "format": "string",
      "description": "HTTP Basic auth password."
    },
    {
      "name": "PROMETHEUS_SSL_VERIFY",
      "format": "string",
      "default": "true",
      "description": "Verify SSL certificates (true/false). Set to 'false' for self-signed certs."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "prometheus-mcp": {
      "command": "uvx",
      "args": [
        "prometheus-mcp==0.1.0"
      ],
      "env": {
        "PROMETHEUS_URL": "<YOUR_PROMETHEUS_URL>",
        "PROMETHEUS_TOKEN": "<YOUR_PROMETHEUS_TOKEN>",
        "PROMETHEUS_USERNAME": "<YOUR_PROMETHEUS_USERNAME>",
        "PROMETHEUS_PASSWORD": "<YOUR_PROMETHEUS_PASSWORD>",
        "PROMETHEUS_SSL_VERIFY": "<YOUR_PROMETHEUS_SSL_VERIFY>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "prometheus-mcp": {
      "command": "uvx",
      "args": [
        "prometheus-mcp==0.1.0"
      ],
      "env": {
        "PROMETHEUS_URL": "<YOUR_PROMETHEUS_URL>",
        "PROMETHEUS_TOKEN": "<YOUR_PROMETHEUS_TOKEN>",
        "PROMETHEUS_USERNAME": "<YOUR_PROMETHEUS_USERNAME>",
        "PROMETHEUS_PASSWORD": "<YOUR_PROMETHEUS_PASSWORD>",
        "PROMETHEUS_SSL_VERIFY": "<YOUR_PROMETHEUS_SSL_VERIFY>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "prometheus-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "prometheus-mcp==0.1.0"
      ],
      "env": {
        "PROMETHEUS_URL": "<YOUR_PROMETHEUS_URL>",
        "PROMETHEUS_TOKEN": "<YOUR_PROMETHEUS_TOKEN>",
        "PROMETHEUS_USERNAME": "<YOUR_PROMETHEUS_USERNAME>",
        "PROMETHEUS_PASSWORD": "<YOUR_PROMETHEUS_PASSWORD>",
        "PROMETHEUS_SSL_VERIFY": "<YOUR_PROMETHEUS_SSL_VERIFY>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "prometheus-mcp": {
      "command": "uvx",
      "args": [
        "prometheus-mcp==0.1.0"
      ],
      "env": {
        "PROMETHEUS_URL": "<YOUR_PROMETHEUS_URL>",
        "PROMETHEUS_TOKEN": "<YOUR_PROMETHEUS_TOKEN>",
        "PROMETHEUS_USERNAME": "<YOUR_PROMETHEUS_USERNAME>",
        "PROMETHEUS_PASSWORD": "<YOUR_PROMETHEUS_PASSWORD>",
        "PROMETHEUS_SSL_VERIFY": "<YOUR_PROMETHEUS_SSL_VERIFY>"
      }
    }
  }
}

Let your agent find its tools

Find servers like prometheus-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.