mcp-grafana

mcp-grafana

An MCP server for Grafana, providing access to Grafana instances and their ecosystem.

MCPDataOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 3.2k
Source
mcp-github

Overview

mcp-grafana is a Model Context Protocol (MCP) server for Grafana. It enables AI to access and manipulate dashboards, data sources, and queries within a Grafana instance. With this capability, AI can search for, retrieve, update dashboards, and execute data source queries. Suitable for AI application scenarios requiring integration with Grafana, such as automated monitoring and data analysis. Integration methods include using the uvx command-line tool and configuring corresponding environment variables.

Capabilities

  • Search dashboards
  • Retrieve dashboard details
  • Get dashboard summaries
  • Extract specific parts of dashboards
  • Update or create dashboards
  • Execute panel queries

Use cases

Automated monitoringData analysisDashboard managementData source queries

Setup

Requires: API KeyNode 环境
Add the following to your MCP client configuration:

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What Grafana versions are supported?

Grafana 9.0 or higher is required.

How to enable the panel query tool?

Add `runpanelquery` to the `--enabled-tools` flag.

Related skills