MCP directory

Grafana

by github.com/grafana · vv2.4.0 · updated Nov 24, 2026

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

RemoteDocker

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://mcp.grafana.com/mcp

Claude Code

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

Headers

  • X-Grafana-URL

    URL of your Grafana Cloud instance

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm docker.io/grafana/mcp-grafana:2.4.0

Environment variables

  • GRAFANA_URLrequired

    URL to your Grafana instance

  • GRAFANA_SERVICE_ACCOUNT_TOKENsecret

    Service account token used to authenticate with your Grafana instance

  • GRAFANA_USERNAME

    Username to authenticate with your Grafana instance

  • GRAFANA_PASSWORDsecret

    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

More MCP servers