Skip to main content
Glama
Grafana MCP Server

Grafana MCP Server

by alludium

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAFANA_URLYesYour Grafana instance URL (e.g., https://grafana.example.com).
GRAFANA_API_KEYYesAPI key with read access to Loki. Can be set in the environment (e.g., export GRAFANA_API_KEY="your_grafana_api_key").

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_logsC

Search Grafana Loki logs using LogQL query language. Returns log entries matching the query within the specified time range.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool exposed, there is no possibility of tool confusion or misselection. The one tool has a clear, specific purpose (LogQL log search).

Naming Consistency4/5

The single name search_logs follows a clear verb_noun snake_case convention, which is a good choice for a Grafana tool. Consistency cannot be fully demonstrated with only one tool, so it falls short of a 5.

Tool Count2/5

A single tool is far too thin for a server branded as a general 'Grafana MCP Server', which implies dashboards, alerts, datasources, and metrics. One narrowly scoped log-search tool does not earn the server's stated scope.

Completeness2/5

The surface covers only log search; there is no way to list or query dashboards, Prometheus metrics, alerts, or datasources. Even within logs, there is no metadata/discovery tool, leaving agents with dead ends for most Grafana workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues