
AI Agent for Grafana MCP
Seamlessly integrate with your Grafana instance and surrounding ecosystem using the Grafana MCP server. Unlock advanced automation for dashboards, datasources, monitoring, incidents, alerting, and more—empowering your teams with real-time insights, streamlined operations, and secure role-based access.

Unified Dashboard and Data Source Management
Effortlessly search, update, and manage Grafana dashboards and datasources in one place. Retrieve dashboards by UID, get detailed panel queries, and control Prometheus or Loki datasources with precision. Accelerate monitoring workflows with instant access to real-time data and centralized configuration.
- Dashboard Search & Retrieval.
- Quickly find and access dashboards by title or UID, streamlining visualization management for all teams.
- Datasource Overview.
- List, fetch, and manage Prometheus and Loki datasources, ensuring all metrics and logs are at your fingertips.
- Panel Query Insights.
- Extract panel queries and datasource details for deep analysis and troubleshooting.
- Dashboard Creation & Updates.
- Edit or create dashboards directly to keep your observability platform current.

Incident Management & Intelligent Alerting
Automate incident response with powerful tools for searching, creating, and updating incidents directly in Grafana. Leverage advanced alerting, contact points, and on-call scheduling features to ensure critical issues are detected and routed to the right teams in real-time.
- Incident Lifecycle Automation.
- Search, create, and update incidents in Grafana Incident to keep teams informed and responsive.
- Advanced Alert Rules.
- List and manage alert rules, statuses, and contact points for proactive monitoring.
- OnCall Scheduling.
- Automate on-call management, view shift details, and identify current on-call users instantly.

Secure Access & Deep Linking
Enforce robust RBAC permissions and scopes across all tools for secure, role-based access to Grafana resources. Generate precise deeplinks to dashboards, panels, and explore views—making navigation and collaboration seamless for every user.
- Granular RBAC Permissions.
- Define precise access with permission and scope controls for teams, users, dashboards, and datasources.
- Smart Resource Deeplinks.
- Generate direct links to dashboards, panels, and explore views for instant navigation and sharing.
MCP INTEGRATION
Available Grafana MCP Integration Tools
The following tools are available as part of the Grafana MCP integration:
- list_teams
List all teams configured in Grafana for administrative purposes.
- list_users_by_org
List all users in a Grafana organization for user management and auditing.
- search_dashboards
Search for dashboards in Grafana by title or metadata to quickly locate resources.
- get_dashboard_by_uid
Retrieve full dashboard details using its unique identifier (UID).
- update_dashboard
Update existing dashboards or create new dashboards in Grafana.
- get_dashboard_panel_queries
Get panel titles, queries, and datasource information from a dashboard.
- list_datasources
List all configured datasources in Grafana for discovery and integration.
- get_datasource_by_uid
Retrieve detailed information about a datasource using its UID.
- get_datasource_by_name
Retrieve datasource details by specifying its name.
- query_prometheus
Execute PromQL queries against Prometheus datasources for metrics retrieval.
- list_prometheus_metric_metadata
List Prometheus metric metadata including help text and type.
- list_prometheus_metric_names
List metric names available in a Prometheus datasource.
- list_prometheus_label_names
List label names that match a selector in Prometheus datasources.
- list_prometheus_label_values
List possible values for a given label in Prometheus datasources.
- list_incidents
List incidents in Grafana Incident for incident management.
- create_incident
Create a new incident in Grafana Incident to track issues.
- add_activity_to_incident
Add an activity item or note to an existing incident.
- get_incident
Retrieve a single incident by its ID for detailed information.
- query_loki_logs
Query and retrieve logs or metrics from Loki datasources using LogQL.
- list_loki_label_names
List all available label names in Loki log data.
- list_loki_label_values
List possible values for a specific log label in Loki.
- query_loki_stats
Retrieve statistics about log streams from Loki datasources.
- list_alert_rules
List alert rules and their statuses in Grafana.
- get_alert_rule_by_uid
Retrieve an alert rule by its UID for alerting details.
- list_contact_points
List configured notification contact points in Grafana.
- list_oncall_schedules
List on-call schedules managed in Grafana OnCall.
- get_oncall_shift
Retrieve details of a specific on-call shift.
- get_current_oncall_users
Get the list of users currently on-call for a specific schedule.
- list_oncall_teams
List teams configured in Grafana OnCall.
- list_oncall_users
List users managed in Grafana OnCall.
- get_sift_investigation
Retrieve details of a Sift investigation by its UUID.
- get_sift_analysis
Retrieve a specific analysis from a Sift investigation.
- list_sift_investigations
List Sift investigations, with support for limiting the result set.
- find_error_pattern_logs
Detect elevated error patterns in Loki logs using Sift.
- find_slow_requests
Detect slow requests in relevant Tempo datasources using Sift.
Connect Your Grafana with FlowHunt AI
Connect your Grafana to a FlowHunt AI Agent. Book a personalized demo or try FlowHunt free today!
What is Grafana MCP Server
Grafana is a leading open-source platform for monitoring and observability, enabling users to visualize, analyze, and alert on metrics and logs from a wide variety of sources. The MCP (Model Context Protocol) server for Grafana extends these capabilities by providing an interface for AI assistants and agents to access, query, and interact with Grafana dashboards, panels, and data sources programmatically. This integration allows organizations to leverage advanced analytics, automation, and AI-driven insights on top of their existing Grafana infrastructure, making data-driven decisions more efficient and accessible.
Capabilities
What we can do with Grafana MCP Server
Grafana MCP Server enables seamless AI-driven interaction with your Grafana environment. Users and developers can automate monitoring tasks, create custom analytics, and integrate dashboards with intelligent agents to drive operational efficiency and innovation.
- Automate Dashboard Interactions
- Programmatically access and update Grafana dashboards and panels using AI agents or scripts.
- Data-Driven Alerting
- Enable AI assistants to set up and respond to alerts based on real-time data changes.
- Integrate with LLMs
- Use Large Language Models to generate, summarize, and interpret dashboard data and metrics.
- Custom Analytics Workflows
- Build bespoke analytics pipelines using AI, directly connected to Grafana data sources.
- Extend Monitoring Capabilities
- Enhance traditional monitoring with AI-powered insights and proactive recommendations.
How AI Agents Can Benefit from Grafana MCP Server
AI agents can unlock new levels of automation and insight within Grafana by leveraging the MCP server. They can autonomously monitor system health, generate intelligent alerts, perform root cause analysis, and provide contextual recommendations. This integration empowers organizations to respond faster to incidents, optimize resource utilization, and extract deeper value from their operational data.