Grafana MCP Server

Created at 5 months ago

by Christian Schlichtherle

starstarstarstarstar

An MCP server for the comprehensive discovery, editing, and testing of dashboards and folders in one or more Grafana clusters. Its security model is based on labels and folders.

Categories

developer-tools

Tags

Grafana

MCP

MCP server

What is Grafana MCP Server?

Grafana MCP Server is a Model Context Protocol server designed for the comprehensive discovery, editing, and testing of dashboards and folders across one or more Grafana clusters, utilizing a security model based on labels and folders.

How to use Grafana MCP Server?

To use the Grafana MCP Server, install the necessary dependencies, set the required environment variables, and run the server using the command python main.py. It connects to your local Grafana instance by default.

Key features of Grafana MCP Server?

  • Dashboard Protection: Automatically labels dashboards to mark the MCP server as the origin.
  • Selective Modification: Allows updates or deletions only for dashboards with required protection labels.
  • Unrestricted Reading: No restrictions on reading dashboards, enabling enhancements by copying them.
  • Folder Restrictions: Configurable access control for specific folders and subfolders.
  • Multi-Cluster Support: Manage dashboards across multiple Grafana instances.
  • Comprehensive Search: Full support for Grafana's search API with filtering options.

Use cases of Grafana MCP Server?

  1. Managing and protecting Grafana dashboards across multiple environments.
  2. Facilitating collaborative dashboard development with controlled access.
  3. Validating and testing dashboard configurations for quality assurance.

FAQ from Grafana MCP Server?

  • Can I use Grafana MCP Server with any Grafana version?

Yes, as long as the Grafana instance supports the Model Context Protocol.

  • Is there a limit to the number of clusters I can manage?

No, you can manage multiple Grafana clusters as needed.

  • How does the security model work?

The security model is based on labels and folders, allowing selective operations and access control.

View More