What are protection labels?
Protection labels are automatically added to dashboards created by Grafana MCP Server. Only dashboards with these labels can be updated or deleted, preventing accidental modifications.
@christian-schlichtherle
基本信息
An MCP server for the comprehensive discovery, editing, and testing of dashboards and folders in one or more Grafana clusters.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Grafana MCP Server is an MCP (Model Context Protocol) server for discovering, editing, and testing dashboards and folders in one or more Grafana clusters. It enforces a security model based on labels and folders, and is intended for developers and operators managing Grafana resources programmatically.
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.
Protection labels are automatically added to dashboards created by Grafana MCP Server. Only dashboards with these labels can be updated or deleted, preventing accidental modifications.
Set the `GRAFANA_CLUSTERS` environment variable as space-separated `key=value` pairs (e.g., `localhost=http://localhost:3000 prod=https://grafana.prod.com`). Optionally set `GRAFANA_TOKENS` for authenticated clusters.
No. For local development, you can run Grafana with anonymous authentication enabled (see README for Docker command) and omit the `GRAFANA_TOKENS` variable. The server defaults to `localhost=http://localhost:3000` without tokens.
Via the Grafana UI: go to Administration → Service Accounts, create an account with the desired role, generate a token (prefixed `glsa_`), and save it. Then set `GRAFANA_TOKENS` with the token value.
No. By design, dashboard creation uses automatic protection labels and prevents accidental overwrites. The `copy_dashboard` tool includes optional overwrite capabilities.

Agents make claims. Reelier writes receipts — record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.
MCP server for industrial namespace validation — Sparkplug B linter, UNS convention checker, and a free AI-readiness diagnostic. No API key required.

Agent-Native Terminal

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools

Collide is the multiplayer layer for AI coding agents, and it pays for itself. Expert orchestration across every agent on your repo saves teams tens to hundreds of dollars a day in token burn. Run Claude Code, Codex, Cu
评论