Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROMETHEUS_URL | Yes | URL of the Prometheus server | http://localhost:9090 |
| PROMETHEUS_TOKEN | No | Bearer token for authentication | |
| PROMETHEUS_TIMEOUT | No | Connection timeout in milliseconds | 10000 |
| PROMETHEUS_INSECURE | No | Allow insecure connections (for self-signed certificates) | false |
| PROMETHEUS_PASSWORD | No | Password for basic authentication | |
| PROMETHEUS_USERNAME | No | Username for basic authentication |
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 |
|---|---|
| prom_query | Execute a PromQL instant query |
| prom_range | Execute a PromQL range query |
| prom_discover | Discover all available metrics |
| prom_metadata | Get metric metadata |
| prom_targets | Get scrape target information |