{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.dockndevai/mcp-grafana",
  "slug": "io.github.dockndevai.mcp-grafana",
  "title": "mcp-grafana",
  "summary": "Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts.",
  "version": "0.4.1",
  "serverKey": "mcp-grafana",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.dockndevai.mcp-grafana",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.dockndevai.mcp-grafana/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:53:30.383022152Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana@0.4.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-grafana -e 'GRAFANA_TOKEN=<GRAFANA_TOKEN>' -- npx -y @dockndevai/mcp-grafana@0.4.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-grafana\": {\n      \"args\": [\n        \"-y\",\n        \"@dockndevai/mcp-grafana@0.4.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GRAFANA_TOKEN\": \"<GRAFANA_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-grafana\": {\n      \"args\": [\n        \"-y\",\n        \"@dockndevai/mcp-grafana@0.4.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GRAFANA_TOKEN\": \"<GRAFANA_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"GRAFANA_TOKEN\",\n      \"id\": \"grafana-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-grafana\": {\n      \"args\": [\n        \"-y\",\n        \"@dockndevai/mcp-grafana@0.4.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GRAFANA_TOKEN\": \"${input:grafana-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-grafana]\ncommand = \"npx\"\nargs = [\"-y\", \"@dockndevai/mcp-grafana@0.4.1\"]\nenv = { \"GRAFANA_TOKEN\" = \"<GRAFANA_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GRAFANA_URL",
      "required": false,
      "secret": false,
      "description": "Base URL of the Grafana instance (e.g. http://localhost:3000).",
      "help": "Base URL of the Grafana instance (e.g. http://localhost:3000).",
      "placeholder": "<GRAFANA_URL>"
    },
    {
      "name": "GRAFANA_TOKEN",
      "required": true,
      "secret": true,
      "description": "Grafana service-account token (Bearer). Use a Viewer-role account for read-only use.",
      "help": "Grafana service-account token (Bearer). Use a Viewer-role account for read-only use.",
      "placeholder": "<GRAFANA_TOKEN>"
    },
    {
      "name": "GRAFANA_MODE",
      "required": false,
      "secret": false,
      "description": "Access mode: read-only | read-write | admin. Starts read-only; writes need read-write.",
      "help": "Access mode: read-only | read-write | admin. Starts read-only; writes need read-write.",
      "placeholder": "<GRAFANA_MODE>"
    }
  ],
  "expectedTools": [
    "get_health",
    "search",
    "list_dashboards",
    "get_dashboard",
    "list_folders",
    "get_folder",
    "list_datasources",
    "get_datasource",
    "query_datasource",
    "list_alert_rules",
    "list_annotations"
  ],
  "agentSteps": [
    "Ask the user for: GRAFANA_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_health, search, list_dashboards, get_dashboard, list_folders, get_folder, list_datasources, get_datasource, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:53:30.383022152Z"
}
