CuratedMCP
⌨️
Cursor
Free

How to Install Grafana MCP in Cursor

Grafana's official MCP server for dashboards, datasources, alerts and incidents.

What Grafana MCP does

Grafana's official MCP server (mcp-grafana). Runs locally with Docker against your Grafana instance using a service account token, and lets an agent search dashboards, query datasources such as Prometheus and Loki, and look at alerts and incidents.

grafana
monitoring
metrics
dashboards
prometheus

Installation steps

  1. 1Copy the config below
  2. 2Open or create .cursor/mcp.json
  3. 3Paste inside "mcpServers": {}
  4. 4Restart Cursor or reload the window

Configuration

File location: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

.cursor/mcp.jsonjson
{
  "grafanaMcp": {
    "command": "docker",
    "args": [
      "run",
      "--rm",
      "-i",
      "-e",
      "GRAFANA_URL",
      "-e",
      "GRAFANA_SERVICE_ACCOUNT_TOKEN",
      "grafana/mcp-grafana",
      "-t",
      "stdio"
    ],
    "env": {
      "GRAFANA_URL": "https://your-instance.grafana.net",
      "GRAFANA_SERVICE_ACCOUNT_TOKEN": "<service-account-token>"
    }
  }
}
Full server details GitHub Open Config Editor

Install in other clients

For maintainers

If you maintain Grafana MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://www.curatedmcp.com/api/badge/grafana-mcp)](https://www.curatedmcp.com/marketplace/grafana-mcp)

Related servers