An MCP server for the comprehensive discovery, editing, and testing of dashboards and folders in one or more Grafana clusters.
Its security model is based on labels and folders.
Server Config
{
"mcpServers": {
"grafana": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/grafana-mcp",
"run",
"main.py"
],
"env": {
"GRAFANA_CLUSTERS": "local=http://localhost:3000 dev=https://dev.example.com/grafana",
"GRAFANA_TOKENS": "dev=glsa_abc123xyz"
}
}
}
}