Grafana MCP Server

A [Model Context Protocol][mcp] (MCP) server for Grafana. This provides access to your Grafana instance and the surrounding ecosystem. Its 40 documented tools cover loki, prometheus, dashboard, label.

People who need DevOps & monitoring tools inside Claude, Cursor, VS Code, or another MCP client. The project is written in Go.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 3,384 · #10 OF 101 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-08-25

Apache-2.0 · Go servers · how we verify → /methodology

01 · Install Grafana

before you install - you'll need

Set GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN before connecting.

Claude Code

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

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://mcp.grafana.com/mcp

transport: streamable-http

endpoint alive - authentication required · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as container (OCI image) - can be sandboxed away from your filesystem · remote - your agent's requests go to mcp.grafana.com

endpoint auth requires authentication - rejected our unauthenticated MCP initialize

license Apache-2.0 - declared in the repository

registry namespace io.github.grafana is GitHub-verified and matches the repo owner

03 · What Grafana can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list all teams, list all users in an organization, list all Grafana roles, and get details for a Grafana role.

Capability map

Tools grouped from the project's README - what Grafana lets an agent do.

read & search

11 tools - e.g. List all teams; List all users in an organization; List all Grafana roles

list_teams · list_users_by_org · list_all_roles · list_user_roles · list_team_roles · search_dashboards…

Loki

7 tools - e.g. Query and retrieve logs using LogQL (either log or metric queries); List all available label names in logs; List values for a specific log label

query_loki_logs · list_loki_label_names · list_loki_label_values · query_loki_stats · query_loki_patterns · analyze_loki_labels…

Prometheus

6 tools - e.g. Execute a query against a Prometheus datasource; List metric metadata; List available metric names

query_prometheus · list_prometheus_metric_metadata · list_prometheus_metric_names · list_prometheus_label_names · list_prometheus_label_values · query_prometheus_histogram

Dashboard

5 tools - e.g. Get a dashboard by uid; Update or create a new dashboard; Get panel title, queries, datasource UID and type from a dashboard

get_dashboard_by_uid · update_dashboard · get_dashboard_panel_queries · get_dashboard_property · get_dashboard_summary

Incident

4 tools - e.g. Create an incident in Grafana Incident; Add an activity item to an incident in Grafana Incident; Update an incident in Grafana Incident (status, severity, or title)

create_incident · add_activity_to_incident · update_incident · get_incident

Role

2 tools - e.g. Get details for a Grafana role; List assignments for a role

get_role_details · get_role_assignments

Resource

2 tools - e.g. List permissions for a resource; Describe a Grafana resource type

get_resource_permissions · get_resource_description

Clickhouse

2 tools - e.g. List tables in a ClickHouse database; Get table schema with column types

list_clickhouse_tables · describe_clickhouse_table

Latest releases

v1.1.0 · 2026-08-10

Added · Optional bearer-token caller authentication for the SSE and streamable-http transports via --server-auth-token / MCP_GRAFANA_SERVER_TOKEN. When set, callers must present Authorization: Bearer <token> and…

v1.0.0 · 2026-07-28

Added · Agent Observability tools: agento11y_manage_conversations and agento11y_manage_generations in a new agento11y category, excluded from the default tool set (#944) · Inline panel viewer for get_panel_image on MCP…

v0.17.2 · 2026-07-13

Security · Bind environment-configured credentials to the configured Grafana URL. A URL supplied in the X-Grafana-URL request header no longer causes the environment service-account token, deprecated API key, basic…

04 · Who maintains Grafana

mcp-grafana is maintained by grafana. It's the only MCP server we track from this author; the repo dates to Dec 2024.

05 · Facts

category
DevOps & monitoring - ranked #10 of 101 actively-maintained DevOps & monitoring servers as of 2026-08-25.
release cadence
9 releases in the last 90 days (latest 2026-08-10)
registry
io.github.grafana/mcp-grafana (active, first published 2025-10-15 · 23 versions)
packages
oci:docker.io/grafana/mcp-grafana:1.1.0

06 · Grafana FAQ

Is Grafana still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 9 releases in the last 90 days. We re-verify nightly.

What can Grafana do?

With this server connected, an agent can list all teams, list all users in an organization, list all Grafana roles, and get details for a Grafana role.

How do I install Grafana?

Run `claude mcp add grafana-mcp-grafana --transport http https://mcp.grafana.com/mcp`. The README documents 2 environment variables (GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN) to set first. Set GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN before connecting. You can also paste the ready-made client config above.

Does Grafana require authentication?

Yes - when we probed the endpoint on 2026-08-25, it rejected an unauthenticated MCP initialize; you'll need credentials to connect.

07 · Alternatives to Grafana