loki-mcp-server
Level CLocalRead-only MCP server for Grafana Loki: lets AI agents (Claude Code, Cursor, Copilot) discover labels, read bounded LogQL pages, count lines by label or time, and export logs — across several Loki stands
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"loki-mcp-server": {
"command": "npx",
"args": [
"ghcr.io/igorolv/loki-mcp-server:0.1.0"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/igorolv/loki-mcp-server
Known working client config (can write into mcp.json):
{
"mcpServers": {
"loki-mcp-server": {
"command": "npx",
"args": [
"ghcr.io/igorolv/loki-mcp-server:0.1.0"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.
Related servers
jdbc-mcp-serverRead-only MCP server over JDBC: schema metadata, SELECT execution, execution plasonar-mcp-serverRead-only MCP server for self-hosted SonarQube Community Build 26.4+: lets AI agworldmonitorReal-time global intelligence dashboard. AI-powered news aggregation, geopoliticdeer-flowAn open-source long-horizon SuperAgent harness that researches, codes, and creatruflo🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinateheadroomCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20