Grafana
About
Metrics, logs, dashboards, incidents, and alerting context from Grafana.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
AuthService account token
Env vars
GRAFANA_URL GRAFANA_SERVICE_ACCOUNT_TOKENClaude Code
claude mcp add --env GRAFANA_URL= --env GRAFANA_SERVICE_ACCOUNT_TOKEN= grafana-mcp -- uvx mcp-grafana
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"grafana-mcp","command":"uvx","args":["mcp-grafana"],"env":{"GRAFANA_URL":"","GRAFANA_SERVICE_ACCOUNT_TOKEN":""}}'
JSON
{
"mcpServers": {
"grafana-mcp": {
"command": "uvx",
"args": [
"mcp-grafana"
],
"env": {
"GRAFANA_URL": "",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.
Setup notes
Requires uvx, GRAFANA_URL, and GRAFANA_SERVICE_ACCOUNT_TOKEN in the agent environment. Prefer a read-only service account unless write tools are needed.