Skip to main content
← MCP

Grafana MCP Server

Grafana Labs
MCP Observability Grafana Apache-2.0 Local stdio Self-hosted 8 axes checked Active Checked 2026-10-23

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

Grafana's official MCP server (Apache-2.0, Go): plugs agents into your Grafana…

How you use it

Local / self-hosted · MCP server

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Blocked · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The full tool inventory and the per-tool RBAC action mapping (the README has lists, kept at category level)
  • The current usage surface of the SSE/streamable-http server mode (the README explains the mode; the official side provides no hosted endpoint)
  • The functional boundaries of the Docker/Helm deployment lines (kept at the official category level)

Grafana's official MCP server (Apache-2.0, Go): plugs agents into your Grafana instance — dashboards, datasources, unified SQL, alerts and IRM. Three hard facts: a service-account token + RBAC scopes are the front gate; some tool groups are disabled by default; full dashboard JSON is a context-window black hole, and the official README ships summary/JSONPath/patch as the escape hatches.

When to use it, when not to

Fits: agents querying dashboards/metrics/alerts on self-hosted or Grafana Cloud instances, editing dashboards, unified SQL across datasources. Not a fit: zero-config no-token scenarios (a service-account token is required); Grafana below 9.0 (some features lack API endpoints).

China availability domestic / direct access / CAC filing · snapshot 2026-10-23

Origin
foreign-made Grafana Labs (US).
Direct access
direct blocked grafana.com measured 000 direct (network restricted, not dead); the GitHub repo and raw README returned 200 via proxy (2026-10-23).
CAC filing
not in filing list:not in the CAC public registry (searched 2026-10-23); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

11 questions, one table

11 questions, each comparable item by item with its peers.

Model & openness

It calls no model itself — an interface implementation called by MCP clients. It wraps your Grafana instance (dashboards, data sources, alerts, OnCall/IRM etc.) as tools for agents.

Where it runs

A local process (uvx mcp-grafana stdio; the official line also offers Docker, binary, Helm deployment paths); GitHub 3,593★, last push 2026-10-23, latest release v2.1.1 (2026-10-20, API verified). Full functionality requires Grafana 9.0 or newer (official README: older versions lack API endpoints, data-source operations may be unavailable).

Local files

Reads and writes no local files — the scope is the Grafana instance and its connected data sources; unified-SQL credentials are handled by data source configuration, the official README states the server never sees the credentials.

Tasks after shutdown

stdio lives and dies with the client; no background-task semantics.

Tools & extensions

Dashboard family (search/read/summary/JSONPath property extraction/update/create/patch), data source family, unified SQL (ClickHouse/Snowflake/Athena/MySQL/PostgreSQL/MSSQL), the Prometheus/Loki/CloudWatch/Elasticsearch query families, Cloud Logging, the RBAC and user-management families; some tool groups (running panel queries, query examples, Graphite) are disabled by default, enable with --enabled-tools. The complete inventory follows the repo README.

Context & memory

No server-side cross-session memory — state lives in the Grafana instance itself. The official README warns specifically: full dashboard JSON eats the context window, prefer the window-saving tools summary/JSONPath/patch.

Permissions & limits

The permission surface is the core of this entry: Grafana service account token + fine-grained RBAC scopes (the official README lists the minimum action per tool); the README also gives a convenience note — the built-in Editor role is coarser than hand-made scopes, use it only when "convenience matters more than least privilege". The SSE/streamable-http line can set separate caller authentication (--server-auth-token); stdio is unaffected.

Best for

Fits: agents querying dashboards/metrics/alerts, modifying dashboards, and running cross-data-source unified SQL on self-hosted or Grafana Cloud instances. Not a fit: zero-config tokenless scenarios (a service account token is required); Grafana below 9.0 (some features missing).

Transport

stdio (uvx mcp-grafana) is primary; the official line also provides an SSE/streamable-http server mode (with optional caller auth). Verified: repo README (fetched directly 2026-10-23).

Authentication

Server side connects to Grafana with GRAFANA_SERVICE_ACCOUNT_TOKEN; client side optional --server-auth-token Bearer (only effective for SSE/streamable-http). Official README: when caller auth is enabled, validated Authorization headers are stripped before reaching Grafana.

Permission scope

Both read and write: dashboard reads + update/create/patch, alert and IRM lines have write actions; the minimum RBAC action per tool is listed in the README. SQL credentials go through data source configuration, the server never handles them.

Licence and terms of use

Apache-2.0 (GitHub API verified 2026-10-23).

Top misconception

  • Treating "open source" as "zero config" — it needs GRAFANA_URL plus a service-account token, and RBAC scopes decide which tools actually work
  • Pulling full dashboard JSON by default — the official README warns it eats the context window; summary/JSONPath/patch are the intended tools
  • Assuming every tool is on — run-panel-query, query examples and Graphite are disabled by default and need --enabled-tools
  • Grabbing the built-in Editor role for convenience — the README notes it is coarser than hand-applied scopes; avoid it under strict least-privilege

Evidence sources

Checked 2026-10-23,Content updated 2026-10-23。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repografana/mcp-grafana · repository (Apache-2.0; 3,593★, last push 2026-10-23, GitHub API verified)https://github.com/grafana/mcp-grafana
changeloggrafana/mcp-grafana · Releases (v2.1.1 @ 2026-10-20)https://github.com/grafana/mcp-grafana/releases
docsGrafana Cloud · MCP docs page (official docs line; direct fetch 000 network-restricted, not page-verified)https://grafana.com/docs/grafana-cloud/machine-learning/mcp/

Test notes

This site has not completed measured runs. The test protocol is at protocols/mcp/_protocol.md.

Related entries

  • Sentry MCP / ToolkitBoth observability surfaces: Sentry focuses on error-issue triage, Grafana is the dashboard and data-source query surface.
  • Datadog MCP ServerSame-category contrast: Grafana is open source and self-hostable, Datadog is closed source with official hosting plus credential pass-through.
  • CursorOther layer · AI coding
  • Claude Code (IDE extension)Other layer · AI coding

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
Datadog MCP ServerCloud / APICommercial terms8 questions checked
Active
Datadog's self-run official MCP server (mcp.datadoghq.com/v1/mcp): agent
1Password Environments MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
1Password official Environments MCP server (local stdio, rides the deskt
Atlassian Remote MCP Server(Jira/Confluence)Cloud / APICommercial terms8 questions checked
Active
Atlassian's official Remote MCP server: one endpoint covers Jira + Confl

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.