MCP Hub › Cloud & DevOps › Grafana

Grafana MCP server

by grafana · io.github.grafana/mcp-grafana

An MCP server giving access to Grafana dashboards, data and more.

☁ Cloud & DevOpsRemoteDockervv2.2.0
Open in MCP HubGitHub repository ↗Website ↗

How to install Grafana

Remote (http)

claude mcp add --transport http mcp-grafana https://mcp.grafana.com/mcp

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "mcp-grafana": {
      "type": "http",
      "url": "https://mcp.grafana.com/mcp"
    }
  }
}

Docker

claude mcp add -e GRAFANA_URL=<your-grafana-url> mcp-grafana -- docker run -i --rm docker.io/grafana/mcp-grafana:2.2.0

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "mcp-grafana": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/grafana/mcp-grafana:2.2.0"
      ],
      "env": {
        "GRAFANA_URL": "<your-grafana-url>"
      }
    }
  }
}

Environment variables:
GRAFANA_URL (required) – URL to your Grafana instance
GRAFANA_SERVICE_ACCOUNT_TOKEN – Service account token used to authenticate with your Grafana instance
GRAFANA_USERNAME – Username to authenticate with your Grafana instance
GRAFANA_PASSWORD – Password to authenticate with your Grafana instance
GRAFANA_ORG_ID – Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.
GRAFANA_EXTRA_HEADERS – JSON object of additional HTTP headers to send with all Grafana API requests
GRAFANA_FORWARD_HEADERS – Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id

Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.

Details

Version
v2.2.0
Published
2026-11-02
Updated
2026-11-02
Namespace
io.github.grafana
Source
grafana/mcp-grafana

Similar cloud & devops servers