grafana-mcp MCP Server

MCP server for Grafana — manage dashboards, datasources, alert rules, folders, and annotations over stdio.

Local serverstdio

What is the grafana-mcp Server?

grafana-mcp is an MCP project maintained in the daanrongen/grafana-mcp repository. The maintainer describes its purpose as “MCP server for Grafana — manage dashboards, datasources, alert rules, folders, and annotations over stdio”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using bunx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares GRAFANA_URL, GRAFANA_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
DomainTools
Dashboardslist_dashboards, get_dashboard, create_dashboard, update_dashboard, delete_dashboard
Datasourceslist_datasources, get_datasource, create_datasource, delete_datasource
Alertslist_alert_rules, get_alert_rule, list_alert_instances
Folderslist_folders, create_folder, delete_folder
Annotationslist_annotations, create_annotation
Healthhealth_check

How to install the grafana-mcp Server

{
  "mcpServers": {
    "grafana": {
      "type": "stdio",
      "command": "bunx",
      "args": [
        "@daanrongen/grafana-mcp"
      ],
      "env": {
        "GRAFANA_URL": "http://localhost:3000",
        "GRAFANA_API_KEY": "YOUR_GRAFANA_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GRAFANA_URLDeclared in the maintainer’s client configuration.Yes
GRAFANA_API_KEYDeclared in the maintainer’s client configuration.Yes