Discovered via unknown and last synced 3mo ago.
1. Install the package
pip install grafana-loki-mcp
Loki query string
Maximum characters per log line (0 for unlimited, default: 100)
Start time (ISO format, Unix timestamp, or Grafana-style relative time like 'now-1h', default: 1 hour ago)
Maximum number of log lines to return (default: 100)
End time (ISO format, Unix timestamp, or Grafana-style relative time like 'now', default: now)
Query direction ('forward' or 'backward', default: 'backward')