MCP server for querying Loki logs via logcli
MCP server for querying Loki logs via logcli
Loki MCP Server is a Model Context Protocol (MCP) interface for querying Grafana Loki logs using logcli. The server enables AI assistants to access and analyze log data from Loki directly.
logcli is not available, the server will automatically use the Loki HTTP API instead - Access to a Loki server instanceCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
logcli is not available, the server will automatically use the Loki HTTP API instead - Access to a Loki server instance| Variable | Description | Required |
|---|---|---|
| LOKI_ADDR | Configuration value read at startup. | Optional |
| LOKI_TENANT_ID | Configuration value read at startup. | Optional |
| LOKI_BEARER_TOKEN | Credential the server authenticates with. | Yes |
| LOKI_ORG_ID | Configuration value read at startup. | Optional |
| LOKI_CONFIG_PATH | Filesystem location the server is allowed to use. | Optional |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
A Model Context Protocol (MCP) server that provides real-time system information and metrics. This server exposes CPU usage, memory statistics, disk information, network status, and running…
A comprehensive Model Context Protocol (MCP) server for monitoring and managing SD-WAN devices through REST API endpoints. This server exposes SD-WAN device monitoring and management functionality…
For an introduction to MCP servers see Introducing the Model Context Protocol.
Inspect recorded agent runs, span trees, slow tools and approval logs with abhishekash’s read-only MCP Trace server.