Skip to main content
Glama
myers-gh1328

tiny-loki-mcp

by myers-gh1328

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOKI_URLNoLoki base URLhttp://127.0.0.1:3100
LOKI_MAX_LIMITNoMaximum entries per query500
LOKI_TIMEOUT_MSNoHTTP request timeout10000
LOKI_MAX_LOOKBACK_SECONDSNoMaximum lookback window86400

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
loki_labelsA

List Loki label names. Use this before querying when you need to discover available dimensions such as host, service, or level. This is read-only and returns only label names.

loki_label_valuesA

List values for one Loki label, such as host or service. Use this to discover valid filter values before running a log query. This is read-only.

loki_queryA

Run a bounded LogQL range query and return compact log records. Use this when you already know the LogQL selector or need text filters. Do not use this for unbounded or long-history searches; since and limit are capped by server configuration.

loki_recentA

Fetch recent logs by optional host and service labels. Use this for common troubleshooting when you do not need raw LogQL. At least one of host or service should normally be supplied to avoid broad queries.

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/myers-gh1328/tiny-loki-mcp'

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