Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOKI_URLNoBase URL of the Loki instance
LOKI_PASSWORDNoBasic auth password
LOKI_USERNAMENoBasic auth username
LOKI_TENANT_IDNoX-Scope-OrgID header for multi-tenant deployments
LOKI_BEARER_TOKENNoBearer token authentication
LOKI_HTTP_TIMEOUTNoHTTP request timeout (Go duration, e.g. 10s, 1m)30s
LOKI_TLS_SKIP_VERIFYNoSkip TLS certificate verificationfalse

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/incu6us/loki-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server