Grafana MCP Server
About
An MCP server for the comprehensive discovery, editing, and testing of dashboards and folders in one or more Grafana clusters.
Details
- Author
- christian-schlichtherle
- Downloads
- 247
- Categories
- Developer Tools
Jump to
- Dashboard protection with automatic labeling on creation
- Selective update/deletion only for protected dashboards
- Unrestricted reading of any dashboard
- Configurable access control to specific folders
- Multi-cluster management across Grafana instances
- Comprehensive search API with filtering options
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Grafana MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies with uv sync or pip install -e ., then set environment variables (GRAFANA_CLUSTERS, GRAFANA_TOKENS, GRAFANA_LABELS, GRAFANA_FOLDER) as needed. Run python main.py to start the server, which exposes MCP tools for discovery, editing, and testing.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"grafana mcp server": {
"grafana": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/grafana-mcp",
"run",
"main.py"
],
"env": {
"GRAFANA_CLUSTERS": "local=http://localhost:3000 dev=https://dev.example.com/grafana",
"GRAFANA_TOKENS": "dev=glsa_abc123xyz"
}
}
}
}
}
McpServers
{
"grafana": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/grafana-mcp",
"run",
"main.py"
],
"env": {
"GRAFANA_CLUSTERS": "local=http://localhost:3000 dev=https://dev.example.com/grafana",
"GRAFANA_TOKENS": "dev=glsa_abc123xyz"
}
}
}
Grafana MCP
This repository provides an MCP (Model Context Protocol) 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.
Quick Start
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





