Pular para o conteúdo
Kitbay
Servidor MCP

grafana-loki-mcp

Roda localmenteMITAtualizado em 5 de jan. de 202629Estrelas no GitHubExige chave de API

A Python MCP server built with FastMCP that queries Loki logs through a Grafana instance's API rather than talking to Loki directly.

Resumo

A Python MCP server built with FastMCP that queries Loki logs through a Grafana instance's API rather than talking to Loki directly. It is installed from PyPI as grafana-loki-mcp or run with uvx, and takes the Grafana URL and a Grafana API key as arguments or environment variables. It can run log queries, list Loki labels and their values, and return results as text, JSON or Markdown, over stdio or SSE.

O que faz

  • Query Loki logs through the Grafana API
  • List Loki labels and label values
  • Format results as text, JSON or Markdown