G

Grafana MCP

Query dashboards, Prometheus, Loki, and incidents from Grafana.

Grafana Labs·No reviews yet
Repo Docs
Share:

About

Official Grafana MCP server: list and search dashboards, run Prometheus/PromQL and Loki/LogQL queries, inspect alerts and incidents in Grafana OnCall, and pull annotations. Works with self-hosted Grafana and Grafana Cloud.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Install Grafana MCP

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "grafana": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "grafana": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "grafana": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.