Grafana's MCP server: search dashboards, run PromQL and LogQL queries, and manage alert rules, incidents and OnCall from the agent.
How it works
Foe: Storm Elemental, an outage, a failed deploy or a slow pipeline.
Foes
- Storm ElementalHaze Poison Ward Insight Flicker Pinned Enraged
Party · Context
- CastellanYour agent100/100Haze Poison Ward Insight Flicker Pinned Enraged
The Storm Elemental blocks the way.
What really happensIt stands for an outage, a failed deploy or a slow pipeline.
Castellan: Context 100/100.
Lightning splits the sky and the servers go dark.
What really happensAn outage or a broken pipeline stops everything until someone finds the cause.
Castellan takes 7. Castellan takes 7. Castellan: Context 86/100.
The Grafana lens is fitted with your keys.
What really happensTurning on the plugin asks for your Grafana URL and a service account token. Docker must be running.
Storm Elemental takes 18.
Dashboards and data sources are searched by name.
What really happensTools search dashboards, read panel queries and list Prometheus, Loki and other data sources.
Storm Elemental takes 15.
The Storm Elemental uses Lightning.
Castellan takes 7. Castellan takes 7. Castellan: Context 72/100.
PromQL and LogQL bolts find the failing service.
What really happensThe agent runs PromQL and LogQL queries and reads alert rules to find what broke and when.
Storm Elemental takes 36.
An incident is opened with the evidence attached.
What really happensWith an Editor token it can create alert rules, annotations and incidents. A Viewer token keeps it read-only.
Storm Elemental takes 31. Storm Elemental falls.
The Storm Elemental falls.
Learn this spell
Claude Code
/plugin install grafana-mcp@claude-plugins-officialNotes
The Claude Code plugin runs the server in Docker and asks for your Grafana URL and a service account token (Viewer role, Editor for writes), kept in the system keychain. Grafana Cloud users can install grafana-cloud-mcp instead, a hosted server that needs no Docker or token. The plugin adds 40+ tools to context, so turn it on only when you need a live Grafana. The server also has a read-only mode. Codex setup is not documented.
This spell has no recorded sessions in the curator's logs. Tried it? Send a spell report.

