Grafana Loki Mcp

devops-infra MCP Server

Grafana Loki MCP Repository

Install Ready
devops-infradevops-infra
3 views27 stars6 forksMIT

Why This Matters

Discovered via unknown and last synced 3mo ago.

Install Ready
Source
unknown
Stars
27
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

pip install grafana-loki-mcp
6
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (6)

query

Loki query string

max_per_line

Maximum characters per log line (0 for unlimited, default: 100)

start

Start time (ISO format, Unix timestamp, or Grafana-style relative time like 'now-1h', default: 1 hour ago)

limit

Maximum number of log lines to return (default: 100)

end

End time (ISO format, Unix timestamp, or Grafana-style relative time like 'now', default: now)

direction

Query direction ('forward' or 'backward', default: 'backward')