github grafana/mcp-grafana v2.5.0

one hour ago

Added

  • Database Observability tools in the opt-in dbo11y category: list_dbo11y_instances, get_dbo11y_instance, get_dbo11y_instance_detail, list_dbo11y_top_queries, get_dbo11y_query_detail and list_dbo11y_recommendations cover database instances, sessions, wait events, top queries with samples and explain plans, and recommendations. --disable-dbo11y or --disable-query removes them (#1707)
  • query_tempo_exceptions groups the exception messages on Tempo error spans by service, type and normalized message, like the Traces Drilldown Exceptions tab, with Drilldown links (#1753)
  • query_azure_monitor_metrics in the opt-in azuremonitor category queries Azure Monitor metrics for a resource (#1738)
  • get_dashboard_panel_queries returns the legendFormat of each query, so a query run again names its series like the panel does (#1703)
  • get_query_examples accepts datasourceType: "tempo" and returns TraceQL search, structural, select and metrics examples (#1716)
  • render_grafana_app draws the stat panel, which a one-row result such as a Prometheus instant query now gets by default, and shows the chart picker at the start of the Renderer toolbar (#1744, #1746)

Fixed

  • query_prometheus defaults an omitted endTime to now, and get_datasource finds a datasource when its UID is passed as the name (#1717)
  • get_dashboard_property accepts single-quoted JSONPath such as $.panels[*]['id','title'], and when a path misses, the error names the dashboard's schema (v1 or v2) and its top-level keys (#1715)
  • Dashboard variables in panel queries prepared by get_dashboard_panel_queries and run_panel_query now match what Grafana sends: the singlequote, doublequote, csv, pipe, join, raw and regex formats are applied, ClickHouse multi-value variables are quoted like the plugin quotes them, and ClickHouse $__conditionalAll is expanded (#1719, #1720, #1721)
  • get_dashboard_panel_queries reports the datasource of panels saved with a legacy string datasource reference, such as a name or $ds, and lists the variable as required (#1729)
  • get_tempo_trace includes span links in its structured content (#1748)
  • With --log-tool-calls, tool results are no longer held back for up to 5 seconds while the caller's Grafana user is looked up (#1750)
  • The datasource fallback-route cache expires entries after an hour, holds at most 1024, and is keyed per Grafana instance and credential, so it no longer grows without bound (#1743)
  • get_assertions rejects a missing startTime or endTime instead of querying from year 1, and create_incident rejects a missing title, severity or roomPrefix before it reaches the incident API (#1711, #1712)

Security

  • Escape user-supplied identifiers as a single path segment, and reject . and .., so they can't redirect requests to other Grafana API paths: the rule UID in get_alert_rule_versions, the dashboard UID in get_panel_image and generate_deeplink, and the namespace and name in Kubernetes API paths (#1713, #1714, #1735, #1749)
  • Update the Go base image digest (#1730)

Don't miss a new mcp-grafana release

NewReleases is sending notifications on new releases.