Dashboard context control
Search dashboards, retrieve summaries, versions, properties, panel queries, or targeted patches without always loading full JSON.
Documentation ↗MCP server / observability / source-linked
Grafana MCP is an open-source server that can run over stdio, SSE, or Streamable HTTP. It exposes dashboards, datasources, queries, alerts, incidents, annotations, Kubernetes resources, and documentation. The current server includes context-window-aware summary/property tools and explicit network security controls for HTTP deployment.
Identify the implementation and the job it supports.
Grafana MCP is an open-source server that can run over stdio, SSE, or Streamable HTTP. It exposes dashboards, datasources, queries, alerts, incidents, annotations, Kubernetes resources, and documentation. The current server includes context-window-aware summary/property tools and explicit network security controls for HTTP deployment.
The documented interface, authentication and installation path.
Install with uvx, Docker, a binary, or Go; set GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN. For network mode select -t streamable-http and set MCP_GRAFANA_SERVER_TOKEN.
Setup reference ↗Documented setup example. Review the source and credentials before running; this command was not executed for this article.
{"mcpServers":{"grafana":{"command":"uvx","args":["mcp-grafana"],"env":{"GRAFANA_URL":"http://localhost:3000","GRAFANA_SERVICE_ACCOUNT_TOKEN":"TOKEN"}}}}Concrete capabilities with maintainer sources.
Search dashboards, retrieve summaries, versions, properties, panel queries, or targeted patches without always loading full JSON.
Documentation ↗List/fetch datasources and optionally run panel queries; query examples can be enabled separately.
Documentation ↗Validate Host/Origin headers, require caller bearer auth, expose health/metrics, and configure TLS for Streamable HTTP.
Documentation ↗What was checked and what was not tested.
Public maintainer documentation and repositories. This is not a hands-on product review.
Setup examples are documented examples. Suggested trials and comparison advice are editorial guidance.
Sources support the adjacent factual statements. A source review does not establish uptime, performance, security or current account eligibility. Read the editorial policy.
A bounded evaluation you can reproduce in your own environment.
Suggested evaluation, not an observed test result.
What to inspect: A focused incident context packet that avoids flooding the model with full dashboard JSON. Keep the source links beside each claim when publishing the record. Proposed workflow; not tested by clawbot.ai.
Workflow reference ↗Read these constraints before granting access.
Networked modes require explicit caller authentication and host/origin controls; without them the server is unsafe to expose beyond a trusted boundary.
Boundary reference ↗Some tools such as panel queries and examples are disabled by default, and Grafana 9+ is required for full functionality.
Boundary reference ↗Make the expected output explicit before you connect.
A focused incident context packet that avoids flooding the model with full dashboard JSON. Keep the source links beside each claim when publishing the record. Proposed workflow; not tested by clawbot.ai.
Keep the task inputs, tool calls, output and any errors together when you evaluate. The trial above is a proposal, not a recorded result.
Specific reasons to choose another route, with the tradeoff shown.
| Alternative | Choose it when | Tradeoff |
|---|---|---|
| Sentry MCP | Choose for issue, trace, and release-centric debugging with hosted OAuth. | Grafana offers broader dashboards and datasource control but needs instance credentials. Documentation ↗ |
| Vercel MCP | Choose for Vercel deployment logs and runtime errors. | Vercel is narrower; Grafana spans multiple observability backends. Documentation ↗ |
Answers specific to this implementation.
Yes, use SSE or Streamable HTTP, but set caller auth and allowed hosts/origins before exposing the listener.
Documentation ↗
Large dashboard JSON can consume context; summary/property tools retrieve bounded slices.
Documentation ↗
Maintainer documentation used in this record.