Prometheus MCP Server
by yanmxa
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 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| prom_queryC | Execute a PromQL instant query |
| prom_rangeC | Execute a PromQL range query |
| prom_discoverC | Discover all available metrics |
| prom_metadataC | Get metric metadata |
| prom_targetsD | Get scrape target information |
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/yanmxa/prometheus-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server