Understand the Grafana MCP server capabilities
mainThe Grafana MCP server implements the Model Context Protocol (MCP), allowing AI assistants (like Claude Desktop, Cursor, or VS Code with Copilot) to interact with Grafana without custom integrations. The server exposes tools that map to Grafana actions, enabling an AI assistant to perform tasks on your behalf.
Key Tool Categories:
- Dashboards: Search, get summary, get panel queries, update, and patch.
- Folders: Search and create.
- Datasources: List and query (Prometheus, Loki, InfluxDB, ClickHouse, Snowflake, CloudWatch, Elasticsearch, Pyroscope).
- Alerting: Rules and routing.
- Incidents & OnCall: Grafana Incident (incidents) and OnCall (schedules, alert groups).
- Sift: Investigations, error patterns, and slow requests.
- Navigation: Generating deeplinks.
- Other: Annotations, snapshots (list, get, create, delete), and rendering (panel or dashboard images).
- Proxied Tools: Tools from external MCP servers reachable through Grafana (e.g., Grafana Tempo).
Note: Some tool categories are disabled by default to save context window space. Use the configuration guide to enable them. For dashboard interactions, use get_dashboard_summary and get_dashboard_property instead of get_dashboard_by_uid to minimize context window usage.