Skip to content
Cursor

mcp grafana for Cursor

io.github.dockndevai/mcp-grafana

Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts.

client:Cursor transport:stdio runtime:npm

Install mcp grafana in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-grafana": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "<GRAFANA_URL>",
        "GRAFANA_TOKEN": "<GRAFANA_TOKEN>",
        "GRAFANA_MODE": "<GRAFANA_MODE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp grafana in other clients