Grafana
Summary
Grafana MCP server provides access to Grafana instances and their surrounding ecosystem through the Model Context Protocol. Developed by Grafana Labs' Machine Learning team, it enables searching dashboards, fetching datasource information, querying Prometheus metrics, and managing incidents in Grafana Incident. The server supports both stdio and Server-Sent Events (SSE) transport modes, can be run locally or deployed as a Docker container, and authenticates using Grafana service account tokens. This implementation is particularly valuable for workflows requiring monitoring data analysis, metric exploration, or incident management directly within AI assistant conversations.
Available Actions(33)
list_teams
List all teams
search_dashboards
Search for dashboards
get_dashboard_by_uid
Get a dashboard by uid
update_dashboard
Update or create a new dashboard
get_dashboard_panel_queries
Get panel title, queries, datasource UID and type from a dashboard
list_datasources
List datasources
get_datasource_by_uid
Get a datasource by uid
get_datasource_by_name
Get a datasource by name
query_prometheus
Execute a query against a Prometheus datasource
list_prometheus_metric_metadata
List metric metadata
list_prometheus_metric_names
List available metric names
list_prometheus_label_names
List label names matching a selector
list_prometheus_label_values
List values for a specific label
list_incidents
List incidents in Grafana Incident
create_incident
Create an incident in Grafana Incident
add_activity_to_incident
Add an activity item to an incident in Grafana Incident
resolve_incident
Resolve an incident in Grafana Incident
query_loki_logs
Query and retrieve logs using LogQL (either log or metric queries)
list_loki_label_names
List all available label names in logs
list_loki_label_values
List values for a specific log label
query_loki_stats
Get statistics about log streams
list_alert_rules
List alert rules
get_alert_rule_by_uid
Get alert rule by UID
list_oncall_schedules
List schedules from Grafana OnCall
get_oncall_shift
Get details for a specific OnCall shift
get_current_oncall_users
Get users currently on-call for a specific schedule
list_oncall_teams
List teams from Grafana OnCall
list_oncall_users
List users from Grafana OnCall
get_investigation
Retrieve an existing Sift investigation by its UUID
get_analysis
Retrieve a specific analysis from a Sift investigation
list_investigations
Retrieve a list of Sift investigations with an optional limit
find_error_pattern_logs
Finds elevated error patterns in Loki logs.
find_slow_requests
Finds slow requests from the relevant tempo datasources.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论