prometheus-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROMETHEUS_HOST | Yes | The URL of your Prometheus instance (e.g., http://localhost:9090) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| context-prometheusC | Consultes as regras e diretrizes para fazer queries e interagir com o Prometheus |
| instant-queryC | Execute an instant Prometheus query |
| range-queryC | Execute a range Prometheus query |
| get-seriesC | Find series by label matchers |
| get-label-valuesC | Get label values for a label name |
| get-metadataC | Get metadata for metrics |
| get-targetsC | Get information about targets |
| get-alertsC | Get information about alerts |
| get-rulesB | Get information about alerting and recording rules |
| get-statusB | Get status information about the Prometheus server |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| review-code | Revise o código para melhores práticas e possíveis problemas |
| query-metrica | Executa uma query Prometheus com base em uma métrica conhecida |
| saudacao | Gera uma saudação para membros do time |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Every tool has a clearly distinct purpose targeting specific Prometheus resources or query types, with no overlapping functionality. For example, get-alerts retrieves alerts, get-series finds series by labels, and instant-query versus range-query handle different query modes, making misselection unlikely.
The naming follows a consistent verb_noun pattern with 'get-' or query-type prefixes for most tools, making them predictable. However, 'context-prometheus' deviates slightly by using a noun_verb structure and being in Portuguese, which breaks the pattern but is still understandable.
With 10 tools, this is well-scoped for a Prometheus server, covering key operations like queries, metadata, alerts, rules, and status without being overwhelming. Each tool serves a distinct and necessary function in monitoring and data retrieval.
The toolset provides comprehensive coverage for querying, monitoring, and status checks in Prometheus, including instant and range queries, alerts, rules, and targets. A minor gap exists in management operations like configuration changes or data deletion, but core workflows are fully supported.