mcp-grafana
The Grafana MCP server is a Model Context Protocol server designed to integrate with Grafana, allowing users to access and manage their Grafana instances and related functionalities. It supports features such as searching dashboards, querying datasources, handling incidents, and managing OnCall schedules.
search_dashboards
Search dashboard
get_dashboard_by_uid
Get dashboard via UID
list_datasources
List data sources
get_datasource_by_uid
Get data source through UID
get_datasource_by_name
Get data source by name
query_prometheus
Perform a query on the Prometheus data source
list_prometheus_metric_metadata
List metric metadata
list_prometheus_metric_names
List available metric names
list_prometheus_label_names
List the tag names that match selectors
list_prometheus_label_values
List the values for a specific tag
list_incidents
List Grafana events
create_incident
Create Grafana Events
add_activity_to_incident
Add activity items to events
resolve_incident
Resolve events
query_loki_logs
Query and retrieve logs using LogQL
list_loki_label_names
List all available tag names in the log
list_loki_label_values
List the values for a specific log label
query_loki_stats
Get statistics on log streams
list_alert_rules
List alarm rules
get_alert_rule_by_uid
Get alert rules through UID
list_oncall_schedules
List the queuing for Grafana OnCall
get_oncall_shift
Get detailed information about a specific OnCall scheduling
get_current_oncall_users
Get the current duty staff for a specific schedule
list_oncall_teams
List the teams at Grafana OnCall
list_oncall_users
List users of Grafana OnCall