Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOKI_URL | No | Base URL of the Loki instance | |
| LOKI_PASSWORD | No | Basic auth password | |
| LOKI_USERNAME | No | Basic auth username | |
| LOKI_TENANT_ID | No | X-Scope-OrgID header for multi-tenant deployments | |
| LOKI_BEARER_TOKEN | No | Bearer token authentication | |
| LOKI_HTTP_TIMEOUT | No | HTTP request timeout (Go duration, e.g. 10s, 1m) | 30s |
| LOKI_TLS_SKIP_VERIFY | No | Skip TLS certificate verification | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| label_values | List values for a specific label name in Loki |
| labels | List all available label names in Loki for building LogQL queries |
| query | Execute a LogQL instant query against Loki for point-in-time evaluation |
| query_range | Execute a LogQL range query against Loki to fetch logs over a time window |
| series | Find active log stream series matching a selector in Loki |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |