Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts.
Connect Runs on your machine
claude mcp add mcp-grafana -e GRAFANA_URL=<GRAFANA_URL> -e GRAFANA_TOKEN=<GRAFANA_TOKEN> -e GRAFANA_MODE=<GRAFANA_MODE> -- npx -y @dockndevai/[email protected]
{
"mcpServers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/[email protected]"
],
"env": {
"GRAFANA_URL": "<GRAFANA_URL>",
"GRAFANA_TOKEN": "<GRAFANA_TOKEN>",
"GRAFANA_MODE": "<GRAFANA_MODE>"
}
}
}
}
{
"mcpServers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/[email protected]"
],
"env": {
"GRAFANA_URL": "<GRAFANA_URL>",
"GRAFANA_TOKEN": "<GRAFANA_TOKEN>",
"GRAFANA_MODE": "<GRAFANA_MODE>"
}
}
}
}
{
"servers": {
"mcp-grafana": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/[email protected]"
],
"env": {
"GRAFANA_URL": "<GRAFANA_URL>",
"GRAFANA_TOKEN": "<GRAFANA_TOKEN>",
"GRAFANA_MODE": "<GRAFANA_MODE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
GRAFANA_URLOptional | Base URL of the Grafana instance (e.g. http://localhost:3000). |
GRAFANA_TOKENRequired, secret | Grafana service-account token (Bearer). Use a Viewer-role account for read-only use. |
GRAFANA_MODEOptional | Access mode: read-only | read-write | admin. Starts read-only; writes need read-write. |
Details
| Package | @dockndevai/[email protected] (NPM, stdio) |
| First published | 26 Oct 2026 |
| Last updated | 26 Oct 2026 |
| Registry name | io.github.dockndevai/mcp-grafana |
More cloud and devops servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
