Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ORG_ID | No | Optional: Organization ID for multi-tenant setups like Cortex, Mimir or Thanos | |
| PROMETHEUS_URL | Yes | Required: URL of your Prometheus server | |
| PROMETHEUS_TOKEN | No | Optional: Bearer token for authentication to Prometheus | |
| PROMETHEUS_PASSWORD | No | Optional: Password for basic auth authentication to Prometheus | |
| PROMETHEUS_USERNAME | No | Optional: Username for basic auth authentication to Prometheus |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_query | Execute a PromQL instant query against Prometheus |
| execute_range_query | Execute a PromQL range query with start time, end time, and step interval |
| list_metrics | List all available metrics in Prometheus |
| get_metric_metadata | Get metadata for a specific metric |
| get_targets | Get information about all scrape targets |