MCP Servers / development / Loki MCP Server

Loki MCP Server

JSON →
ssenone146development

A Go-based server to query Grafana Loki logs using the Model Context Protocol (MCP).

Install
How to run this server

No install command recorded.

server path: loki-mcp-server-2
Tools
What this server exposes
loki_query
Query Grafana Loki log data with LogQL. Supports optional parameters for URL, time range, limit, and organization ID.
Configuration
Environment & auth
authnone
envLOKI_URL
envLOKI_ORG_ID
envLOKI_TOKEN
Resources
Loki MCP Server — MCP Server · libregistry