Skip to main content
Glama
mcp-loki

mcp-loki

by mgcrea

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOKI_URLYesLoki base URL (gateway, query-frontend or single binary), with any path prefix.
LOKI_TOKENNoBearer token instead of basic auth (Grafana Cloud, an OAuth proxy).
LOKI_HEADERSNoExtra headers as a JSON object.
LOKI_TIMEOUTNoHTTP timeout per request, in seconds.60
LOKI_PASSWORDNoBasic auth password.
LOKI_USERNAMENoBasic auth username. Behind the Loki Helm chart's nginx gateway the username is the tenant.
LOKI_TENANT_IDNoSent as X-Scope-OrgID, for a multi-tenant Loki reached directly. A gateway that maps the basic-auth username overrides it.
LOKI_MAX_RETRIESNoRetries for 429 and proxy 502/503. A 504 is never retried.2

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources