← Explore all mcp servers

OBSERVABILITY / Grafana

Grafana MCP Server

Connects dashboards, logs, metrics and related Grafana data sources to an assistant, with separate controls for writes and query execution.

“This provides access to your Grafana instance and the surrounding ecosystem.”

01 / THE REASONING

Why this made the selection.

  • Separates metadata access, datasource query execution and write tools through explicit flags.
  • Uses existing Grafana datasource connections, so an investigation can cross observability systems.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • README.md (installation, capability and permission sections)
  • go.mod
  • cmd/mcp-grafana/main.go
  • LICENSE

Our findings

  • --disable-write and --disable-query are different controls; --enable-query can re-enable raw query tools under write restriction.
  • Datasource plugins authenticate queries; their permissions must be reviewed in addition to the Grafana service account.

Not established by this review

  • Server startup, authentication and tool execution were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Connect a server deliberately.

Upstream setup instructions ↗

DOCUMENTED COMMAND

uvx mcp-grafana

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

  1. Set GRAFANA_URL and an appropriately scoped Grafana service-account token.
  2. Choose tool categories and write/query restrictions; configure a caller token before sharing a network listener.

Before you start

  • uv and access to a supported Grafana instance.

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Official documentation ↗Checked

    https://github.com/grafana/mcp-grafana/blob/20b20b3aec8ebc56162ffac233ac9de9e46f5684/README.md

    Supports: summary, whySelected, bestFor, limitations, install, access, compatibility, transports

  2. https://github.com/grafana/mcp-grafana/blob/20b20b3aec8ebc56162ffac233ac9de9e46f5684/LICENSE

    Supports: license

  3. Implementation: go.mod ↗Checked

    https://github.com/grafana/mcp-grafana/blob/20b20b3aec8ebc56162ffac233ac9de9e46f5684/go.mod

    Supports: language, review

  4. https://github.com/grafana/mcp-grafana/blob/20b20b3aec8ebc56162ffac233ac9de9e46f5684/cmd/mcp-grafana/main.go

    Supports: language, review