What are the prerequisites to run Loki MCP Server?
Go 1.18 or later and access to a running Grafana Loki instance are required.
@scottlepp
基本信息
暂无概览
Execute LogQL queries and retrieve matching log entries
Retrieve all label names available in the logs
Get all values for a specific label
Analyze log volume over time
A Model Context Protocol (MCP) server for Grafana Loki that provides AI agents with access to log data. It implements the MCP protocol to expose tools and resources for querying and analyzing logs stored in a Loki instance, giving Large Language Models (LLMs) additional context.
Clone the repository, build with Go 1.18+, and start the server with a --loki-url flag or LOKI_URL environment variable. Then configure an MCP-compatible AI agent (e.g., Claude Desktop) to connect to the server using the provided JSON configuration examples.
Go 1.18 or later and access to a running Grafana Loki instance are required.
Authentication can be set via command-line flags or environment variables: `--username`/`LOKI_USERNAME`, `--password`/`LOKI_PASSWORD`, `--api-key`/`LOKI_API_KEY`, and `--tenant-id`/`LOKI_TENANT_ID` for multi-tenant setups.
The default query timeout is 30 seconds, configurable with the `--query-timeout` flag or `QUERY_TIMEOUT` environment variable.
Add a “loki” entry to `claude_desktop_config.json` with the server’s command and any needed environment variables, as shown in the examples directory.
All log data is stored in the externally provided Grafana Loki instance; the server itself does not store logs.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Open-source MCP to use Blender with any LLM
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
评论