> For the complete documentation index, see [llms.txt](https://docs.natoma.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.natoma.ai/apps/grafana.md).

# Grafana

**Type:** Official

**Source Type:** Repository

**Source:** [GitHub](https://github.com/grafana/mcp-grafana)

**Description:** Grafana MCP server provides AI assistants with access to your Grafana instance. It enables querying dashboards, panels, datasources, alerts, and folder structures.

**Configuration Parameters:**

* **Grafana URL** \* - Grafana base URL (e.g. `https://myinstance.grafana.net` or `http://localhost:3000`).
* **Grafana Service Account Token** (sensitive) (optional) - Recommended. Generated in **Administration → Service accounts**.
* **Grafana Username** (optional) - Use only if you can't create a service account; pair with **Grafana Password**.
* **Grafana Password** (sensitive) (optional) - Use with **Grafana Username** as a fallback to service-account auth.
* **Grafana Org ID** (optional) - Optional. Set for multi-org Grafana instances.

**Setup Steps:**

1. Log in to Grafana.
2. Navigate to **Administration → Service accounts → Add service account** and assign the lowest role you need (`Viewer` for read-only).
3. Open the new service account and click **Add service account token** — copy the token.
4. When creating the connection in Natoma, paste the URL and token and save. (Or fall back to username/password if you can't create a service account.)
