Loki MCP Server

by ghrud92
Verified
MIT License
194
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging
LOKI_ADDRYesLoki server address (URL)
LOKI_ORG_IDNoOrganization ID for multi-org setups
LOKI_CA_FILENoCustom CA file for TLS
LOKI_KEY_FILENoClient key file for TLS
LOKI_PASSWORDNoPassword for basic auth
LOKI_USERNAMENoUsername for basic auth
LOKI_CERT_FILENoClient certificate file for TLS
LOKI_TENANT_IDNoTenant ID for multi-tenant Loki
LOKI_CONFIG_PATHNoCustom path to config file
LOKI_BEARER_TOKENNoBearer token for authentication
LOKI_TLS_SKIP_VERIFYNoSkip TLS verification ('true' or 'false')
LOKI_BEARER_TOKEN_FILENoFile containing bearer token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
query_loki-
get_label_values-
get_labels-
ID: e3vo22yclf