Grafana MCP Server
by Grafana MCP Server
Overview
A comprehensive Model Context Protocol (MCP) server for Grafana that provides: - Dashboards: Search, get, update, patch, and create dashboards with context window optimization - Datasources: List and query Prometheus, Loki, and ClickHouse datasources - Prometheus: Execute PromQL queries, histogram percentile analysis, and retrieve metric metadata - Loki: Query logs and metrics using LogQL, detect log patterns - ClickHouse: Execute SQL queries, discover tables and schemas - Alerting: List, create, update, and delete alert rules and contact points - Incidents: Manage incidents in Grafana Incident - Sift: Investigate errors and performance issues - OnCall: Manage on-call schedules, shifts, and alert groups - Pyroscope: Continuous profiling with profile types, labels, and flame graphs - Navigation: Generate accurate deeplinks to Grafana resources - Annotations: Query, create, update, and patch annotations - Admin: Manage teams, users, roles, and permissions - Rendering: Generate PNG snapshots of dashboard panels Requires Grafana version 9.0 or later for full functionality.



