Grafana MCP Server
Rank #28io.github.grafana/mcp-grafana
An MCP server giving access to Grafana dashboards, data and more.
What you can do with Grafana MCP Server
Grafana's official MCP server gives an agent access to a Grafana instance and its ecosystem: dashboards, datasource queries (Prometheus, Loki, SQL and more), alerting, incidents, on-call, annotations and rendered panels.
- Search dashboards and read their panels or JSON
- Run PromQL, LogQL and SQL queries
- Read and manage alert rules and incidents
- Look up on-call schedules and shifts
- Generate deeplinks and render panel images
What Grafana MCP Server can and cannot do
Around 119 tools across 33 categories (Dashboard, Datasources, Prometheus, Loki, SQL, Tempo, CloudWatch, Alerting, OnCall, Annotations, Snapshot, Rendering, Admin and more); each tool documents the RBAC permissions it needs. Categories toggle with --disable-<category> and --enabled-tools, --disable-write gives read-only mode and --disable-query removes every datasource query tool.
- search_dashboards
- get_dashboard_summary
- get_dashboard_property
- update_dashboard
- query_prometheus
- query_loki_logs
- query_sql
- alerting_rules_read
- alerting_rules_write
- generate_deeplink
- get_panel_image
- ask_assistant
- grafana_api_request
- Grafana 9.0+ is needed; datasource tools fail on earlier versions
- Several categories (admin, assistant, cloudwatch, graphite, runpanelquery, agento11y) are off by default and must be enabled
- Panel rendering needs the Image Renderer plugin; assistant tools need the Grafana Assistant plugin; agent observability is Grafana Cloud only
- Over SSE per-request headers do not reach tool calls; use streamable-http for per-caller credentials
- Raw-SQL tools are removed in read-only mode, and URL overrides need an allowlist since Grafana auth is not an SSRF defense
What you need before using Grafana MCP Server
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Verified by MCP Toplist on Nov 10, 2026: the public endpoint answered an unauthenticated connection with 401 Unauthorized, so it requires sign-in or an API key.
Declared by mcp.so, last synced Nov 30, 2026. Not independently verified by MCP Toplist.
- Runtime
- uvx mcp-grafana, Docker image grafana/mcp-grafana, a release binary, go install, or a Helm chart
- Credentials
- Service account token in GRAFANA_SERVICE_ACCOUNT_TOKEN (or _FILE), with GRAFANA_URL pointing at the instance
- Permissions
- Per-tool RBAC scopes as listed in the README; the built-in Editor role is the broad shortcut
- Also needed
- Grafana 9.0 or later; MCP_GRAFANA_SERVER_TOKEN when exposing SSE or streamable-http
- GRAFANA_URL · required
- GRAFANA_SERVICE_ACCOUNT_TOKEN · optional
- GRAFANA_USERNAME · optional
- GRAFANA_PASSWORD · optional
- GRAFANA_ORG_ID · optional
- GRAFANA_EXTRA_HEADERS · optional
- GRAFANA_FORWARD_HEADERS · optional
Hosted endpoint requires authentication (it answered 401 to an unauthenticated connection).
Connect Grafana MCP Server and confirm it works
- Create a Grafana service account and token with the permissions the tools you need require
- Add the server to your client with command uvx, args ["mcp-grafana"], and GRAFANA_URL plus GRAFANA_SERVICE_ACCOUNT_TOKEN in env
- Or run docker run --rm -i -e GRAFANA_URL=... -e GRAFANA_SERVICE_ACCOUNT_TOKEN=... grafana/mcp-grafana -t stdio
- Trim exposure with --disable-write, --disable-query or --disable-<category>
claude mcp add --transport http mcp-grafana https://mcp.grafana.com/mcpclaude mcp add mcp-grafana -e "GRAFANA_URL=<your GRAFANA_URL>" -e "GRAFANA_SERVICE_ACCOUNT_TOKEN=<your GRAFANA_SERVICE_ACCOUNT_TOKEN>" -e "GRAFANA_USERNAME=<your GRAFANA_USERNAME>" -e "GRAFANA_PASSWORD=<your GRAFANA_PASSWORD>" -e "GRAFANA_ORG_ID=<your GRAFANA_ORG_ID>" -e "GRAFANA_EXTRA_HEADERS=<your GRAFANA_EXTRA_HEADERS>" -e "GRAFANA_FORWARD_HEADERS=<your GRAFANA_FORWARD_HEADERS>" -- docker run -i --rm docker.io/grafana/mcp-grafana:2.4.0Replace each placeholder with your own value before saving.
[mcp_servers.mcp-grafana]
url = "https://mcp.grafana.com/mcp"Add to ~/.codex/config.toml.
[mcp_servers.mcp-grafana]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/grafana/mcp-grafana:2.4.0"]
[mcp_servers.mcp-grafana.env]
GRAFANA_URL = "<your GRAFANA_URL>"
GRAFANA_SERVICE_ACCOUNT_TOKEN = "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>"
GRAFANA_USERNAME = "<your GRAFANA_USERNAME>"
GRAFANA_PASSWORD = "<your GRAFANA_PASSWORD>"
GRAFANA_ORG_ID = "<your GRAFANA_ORG_ID>"
GRAFANA_EXTRA_HEADERS = "<your GRAFANA_EXTRA_HEADERS>"
GRAFANA_FORWARD_HEADERS = "<your GRAFANA_FORWARD_HEADERS>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
https://mcp.grafana.com/mcpSettings → Connectors → “Add custom connector”, then paste this URL.
{
"mcpServers": {
"mcp-grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/grafana/mcp-grafana:2.4.0"
],
"env": {
"GRAFANA_URL": "<your GRAFANA_URL>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>",
"GRAFANA_USERNAME": "<your GRAFANA_USERNAME>",
"GRAFANA_PASSWORD": "<your GRAFANA_PASSWORD>",
"GRAFANA_ORG_ID": "<your GRAFANA_ORG_ID>",
"GRAFANA_EXTRA_HEADERS": "<your GRAFANA_EXTRA_HEADERS>",
"GRAFANA_FORWARD_HEADERS": "<your GRAFANA_FORWARD_HEADERS>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project).
{
"mcpServers": {
"mcp-grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/grafana/mcp-grafana:2.4.0"
],
"env": {
"GRAFANA_URL": "<your GRAFANA_URL>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>",
"GRAFANA_USERNAME": "<your GRAFANA_USERNAME>",
"GRAFANA_PASSWORD": "<your GRAFANA_PASSWORD>",
"GRAFANA_ORG_ID": "<your GRAFANA_ORG_ID>",
"GRAFANA_EXTRA_HEADERS": "<your GRAFANA_EXTRA_HEADERS>",
"GRAFANA_FORWARD_HEADERS": "<your GRAFANA_FORWARD_HEADERS>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-grafana": {
"type": "http",
"url": "https://mcp.grafana.com/mcp"
}
}
}Save as .vscode/mcp.json in your workspace.
{
"servers": {
"mcp-grafana": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/grafana/mcp-grafana:2.4.0"
],
"env": {
"GRAFANA_URL": "<your GRAFANA_URL>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>",
"GRAFANA_USERNAME": "<your GRAFANA_USERNAME>",
"GRAFANA_PASSWORD": "<your GRAFANA_PASSWORD>",
"GRAFANA_ORG_ID": "<your GRAFANA_ORG_ID>",
"GRAFANA_EXTRA_HEADERS": "<your GRAFANA_EXTRA_HEADERS>",
"GRAFANA_FORWARD_HEADERS": "<your GRAFANA_FORWARD_HEADERS>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-grafana": {
"serverUrl": "https://mcp.grafana.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"mcp-grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/grafana/mcp-grafana:2.4.0"
],
"env": {
"GRAFANA_URL": "<your GRAFANA_URL>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>",
"GRAFANA_USERNAME": "<your GRAFANA_USERNAME>",
"GRAFANA_PASSWORD": "<your GRAFANA_PASSWORD>",
"GRAFANA_ORG_ID": "<your GRAFANA_ORG_ID>",
"GRAFANA_EXTRA_HEADERS": "<your GRAFANA_EXTRA_HEADERS>",
"GRAFANA_FORWARD_HEADERS": "<your GRAFANA_FORWARD_HEADERS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}{
"mcpServers": {
"mcp-grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/grafana/mcp-grafana:2.4.0"
],
"env": {
"GRAFANA_URL": "<your GRAFANA_URL>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your GRAFANA_SERVICE_ACCOUNT_TOKEN>",
"GRAFANA_USERNAME": "<your GRAFANA_USERNAME>",
"GRAFANA_PASSWORD": "<your GRAFANA_PASSWORD>",
"GRAFANA_ORG_ID": "<your GRAFANA_ORG_ID>",
"GRAFANA_EXTRA_HEADERS": "<your GRAFANA_EXTRA_HEADERS>",
"GRAFANA_FORWARD_HEADERS": "<your GRAFANA_FORWARD_HEADERS>"
}
}
}
}Replace each placeholder with your own value before saving.
Ask the agent to list dashboards tagged with a tag you know exists.
Expected: The agent calls search_dashboards and returns matching dashboard titles and UIDs, and can build a URL for one with generate_deeplink.
When to choose another server
- Prometheus MCP Server#1,207
You only need PromQL against Prometheus and have no Grafana.
- SigNoz MCP Server#823
Your observability stack is SigNoz.
- hny-mcp#24,738
Your traces and queries live in Honeycomb.
What changed, and when this was checked
- First listed
- Jan 28, 2025
- Latest version published
- Nov 24, 2026
- Version history
- 43 versions tracked (below)
- Requirements evidence
- Verified by MCP Toplist on Nov 10, 2026: the public endpoint answered an unauthenticated connection with 401 Unauthorized, so it requires sign-in or an API key.
- Profile checked
- Oct 9, 2026 against README
- Ranking data as of
- Nov 30, 2026
- Official MCP ↗listed since Apr 25, 2026 · still listed
- PulseMCP ↗listed since Jun 4, 2026 · still listed
- mcp.so ↗listed since Jun 4, 2026 · still listed
- Glama ↗listed since Jun 4, 2026 · still listed
Do you maintain Grafana MCP Server? to show as its verified maintainer and add your own summary, sign-in details and links. The rest of this page is read from the registry listings and from MCP Toplist's own connection check.
Available versions (43)
| Version | Published |
|---|---|
| v2.4.0 | Nov 24, 2026 |
| v2.3.0 | Nov 10, 2026 |
| v2.2.0 | Nov 2, 2026 |
| v2.1.1 | Oct 20, 2026 |
| v2.1.0 | Oct 20, 2026 |
| v2.0.2 | Oct 10, 2026 |
| v2.0.1 | Oct 6, 2026 |
| v2.0.0 | Oct 1, 2026 |
| v1.6.3 | Sep 30, 2026 |
| v1.6.2 | Sep 29, 2026 |
| v1.6.1 | Sep 28, 2026 |
| v1.6.0 | Sep 25, 2026 |
| v1.5.1 | Sep 17, 2026 |
| v1.5.0 | Sep 17, 2026 |
| v1.4.2 | Sep 14, 2026 |
| v1.4.1 | Sep 11, 2026 |
| v1.4.0 | Sep 10, 2026 |
| v1.3.0 | Aug 28, 2026 |
| v1.2.0 | Aug 25, 2026 |
| v1.1.0 | Aug 10, 2026 |
| v1.0.0 | Jul 28, 2026 |
| v0.17.2 | Jul 13, 2026 |
| v0.17.1 | Jul 7, 2026 |
| v0.17.0 | Jun 23, 2026 |
| v0.16.0 | Jun 16, 2026 |
| v0.15.2 | Jun 4, 2026 |
| v0.14.0 | May 8, 2026 |
| v0.13.1 | Apr 30, 2026 |
| v0.13.0 | Apr 29, 2026 |
| v0.12.1 | Apr 28, 2026 |
| v0.12.0 | Apr 23, 2026 |
| v0.11.6 | Apr 9, 2026 |
| v0.11.5 | Apr 9, 2026 |
| v0.11.4 | Apr 2, 2026 |
| v0.11.3 | Mar 12, 2026 |
| v0.11.2 | Feb 25, 2026 |
| v0.11.1 | Feb 24, 2026 |
| v0.11.0 | Feb 19, 2026 |
| v0.10.0 | Feb 12, 2026 |
| v0.9.0 | Jan 28, 2026 |
| v0.7.7 | Oct 15, 2025 |
| v0.7.7-rc.3 | Oct 15, 2025 |
| 0.1.0 | Nov 25, 2024 |
Ranks ahead of 199,609 of 199,637 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.grafana%2Fmcp-grafana)<a href="https://mcptoplist.com/server/io.github.grafana%2Fmcp-grafana"><img src="https://mcptoplist.com/badge/io.github.grafana%2Fmcp-grafana.svg" alt="MCP Toplist: Top 1% of 199,637" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains Grafana MCP Server?
- Grafana MCP Server is maintained by grafana, which publishes 3 MCP servers (43 total versions) tracked on MCP Toplist.
- Is Grafana MCP Server listed on the Official MCP Registry?
- Yes — Grafana MCP Server is listed on the Official MCP Registry, alongside PulseMCP, mcp.so and Glama.
- How many versions does Grafana MCP Server have?
- MCP Toplist tracks 43 versions of Grafana MCP Server, most recently published on Nov 24, 2026.
- Where can I find the source code for Grafana MCP Server?
- The source code for Grafana MCP Server is hosted at github.com/grafana/mcp-grafana.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.