MCP server for Grafana
MCP server for Grafana
Is it safe?
No known CVEs for mcp-grafana.
No authentication — any process on your machine can connect to this server.
Apache-2.0. View license →
Last scanned 0 days ago.
Is it maintained?
Last commit 0 days ago. 2,698 GitHub stars.
Will it work with my client?
Transport: stdio, sse, http. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
How much context will it use?
43 tools. Estimated ~2,100 tokens of your context window (1.0% of 200K). Consider loading selectively — this is a heavy server.
What if it doesn't work?
Common issues: JSON syntax errors in config, Python version mismatch, network or firewall blocking. Setup guide covers troubleshooting. Or check GitHub issues for known problems.
{
"mcpServers": {
"grafana": {
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
},
"args": [
"mcp-grafana"
],
"command": "uvx"
}
}
}Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx mcp-grafana 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
search_dashboardsFind dashboards by title or other metadata
get_dashboard_by_uidRetrieve full dashboard details using its unique identifier
get_dashboard_summaryGet a compact overview of a dashboard including title, panel count, panel types, variables, and metadata
get_dashboard_propertyExtract specific parts of a dashboard using JSONPath expressions
update_create_dashboardModify existing dashboards or create new ones
patch_dashboardApply specific changes to a dashboard without requiring the full JSON
get_panel_queries_datasource_infoGet the title, query string, and datasource information from every panel in a dashboard
run_panel_queryExecute a dashboard panel's query with custom time ranges and variable overrides
list_datasourcesView all configured datasources
get_datasource_infoRetrieve detailed information about a datasource
Last scanned just now
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.