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

stdioofficialservice

Package Details

docker.io/grafana/mcp-grafana:0.11.6

Transportstdio

Environment Variables

GRAFANA_URL(str)
Required

URL to your Grafana instance

GRAFANA_SERVICE_ACCOUNT_TOKEN(str)
Secret

Service account token used to authenticate with your Grafana instance

GRAFANA_USERNAME(str)

Username to authenticate with your Grafana instance

GRAFANA_PASSWORD(str)
Secret

Password to authenticate with your Grafana instance

GRAFANA_ORG_ID(str)

Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.

GRAFANA_EXTRA_HEADERS(str)

JSON object of additional HTTP headers to send with all Grafana API requests

GRAFANA_FORWARD_HEADERS(str)

Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id