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

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Model Context Protocol Servers

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
评论