MCP Prometheus
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROM_URL | No | The default Prometheus server URL used as a fallback. | |
| PROM_ENV_URLS | No | A JSON string mapping environment names (e.g., prod, dev_test, dr) to their respective Prometheus URLs. Example: {"prod":"http://...:9090"} | |
| ALERT_CRIT_PCT | No | The threshold percentage for critical alerts. | 95 |
| ALERT_WARN_PCT | No | The threshold percentage for warning alerts. | 85 |
| PROM_TIMEOUT_SEC | No | Query timeout in seconds for Prometheus requests. | 15 |
| PROM_BEARER_TOKEN | No | Bearer token for Prometheus authentication if required. | |
| ALERT_SUSTAIN_MINUTES | No | The duration in minutes an alert condition must be sustained. | 5 |
| PROM_MAX_PARALLEL_CHECKS | No | The maximum number of checks to run in parallel. | 6 |
| PROM_MAX_SAMPLES_PER_SERIES | No | Maximum number of samples allowed per series for Prometheus queries. | 5000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_checksB | Return all allowlisted monitoring checks available to the MCP server. Response:
|
| list_environmentsB | Return configured Prometheus environments and their base URLs. Response:
|
| list_serversA | List monitored servers detected from recent Inputs:
Behavior:
|
| list_process_groupsC | Return process group names from process monitoring metrics. Source metric:
|
| get_alertsC | Fetch active alerts from Prometheus Filters (exact-match):
|
| run_checkA | Run one allowlisted check via Prometheus Inputs:
Filter behavior:
|
| run_all_checksA | Run all allowlisted checks in parallel for the same time range and filters. Inputs are equivalent to
Note:
|
| list_loki_environmentsD | – |
| list_loki_hostsD | – |
| list_loki_appsD | – |
| find_logsD | – |
| run_promqlA | Run custom PromQL. Guardrail:
Modes:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yeonkyu-git/MCP-Prometheus-Loki'
If you have feedback or need assistance with the MCP directory API, please join our Discord server