integrations/grafana-mcp
Grafana MCP mcp
Search dashboards, query Prometheus and Loki, and read alerts and incidents in Grafana, with every write tool switched off.
Third-party software. Forgeprint hosts none of this code: it is an installation recipe for a project somebody else publishes and maintains. Review the permissions below before installing.
Upstream
| Project | grafana/mcp-grafana |
|---|---|
| Pinned at | 1.5.1 |
| Verified on | 2026-09-24 |
What it can reach
Reads dashboards, datasources, alert rules, incidents and on-call data, and runs read queries against the datasources, in the Grafana instance the service account can reach; write tools are not registered.
It needs GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN. Create it at the upstream with the narrowest scope that works and put it in your environment — an agent never enters a secret for you.
Install
Claude Code
claude mcp add-json grafana '{"command":"uvx","args":["mcp-grafana==1.5.1","--disable-write","--usage-stats=disabled"],"env":{"GRAFANA_URL":"${GRAFANA_URL}","GRAFANA_SERVICE_ACCOUNT_TOKEN":"${GRAFANA_SERVICE_ACCOUNT_TOKEN}"}}'
Codex CLI
codex mcp add grafana --env "GRAFANA_URL=$GRAFANA_URL" --env "GRAFANA_SERVICE_ACCOUNT_TOKEN=$GRAFANA_SERVICE_ACCOUNT_TOKEN" -- uvx mcp-grafana==1.5.1 --disable-write --usage-stats=disabled
Gemini CLI
gemini mcp add grafana -e 'GRAFANA_URL=$GRAFANA_URL' -e 'GRAFANA_SERVICE_ACCOUNT_TOKEN=$GRAFANA_SERVICE_ACCOUNT_TOKEN' uvx mcp-grafana==1.5.1 --disable-write --usage-stats=disabled
Only agents whose command syntax has been verified are listed. A missing agent is one nobody has confirmed, not one that does not work.