MCPLow riskUnclaimed

Grafana MCP

Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching

itzhouqitzhouq/grafana-mcpUpdated Oct 7, 2026

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.itzhouq/grafana-mcp",
  "description": "Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching",
  "title": "Grafana MCP",
  "repository": {
    "url": "https://github.com/itzhouq/grafana-mcp",
    "source": "github"
  },
  "version": "0.1.3",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "grafana-mcp",
      "version": "0.1.3",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Grafana base URL of the test environment, e.g. https://grafana.example.com",
          "format": "string",
          "name": "GRAFANA_TEST_URL"
        },
        {
          "description": "Grafana username for the test environment (prefer a dedicated Viewer-role account)",
          "format": "string",
          "name": "GRAFANA_TEST_USER"
        },
        {
          "description": "Grafana password for the test environment",
          "format": "string",
          "isSecret": true,
          "name": "GRAFANA_TEST_PASSWORD"
        },
        {
          "description": "Grafana base URL of the production environment",
          "format": "string",
          "name": "GRAFANA_PROD_URL"
        },
        {
          "description": "Grafana username for the production environment",
          "format": "string",
          "name": "GRAFANA_PROD_USER"
        },
        {
          "description": "Grafana password for the production environment",
          "format": "string",
          "isSecret": true,
          "name": "GRAFANA_PROD_PASSWORD"
        },
        {
          "description": "Default environment for this project (test by default)",
          "format": "string",
          "name": "GRAFANA_ENV"
        },
        {
          "description": "App label value used to scope Loki queries for this project",
          "format": "string",
          "name": "GRAFANA_APP"
        }
      ]
    }
  ]
}

Permissions

DeclaredDetected
Runs code—node
Installs—npm:grafana-mcp@0.1.3
Runs install scripts—None
NetworkNoneNone
Needs credentialsGRAFANA_PROD_PASSWORDGRAFANA_TEST_PASSWORDGRAFANA_PROD_PASSWORDGRAFANA_TEST_PASSWORD
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Versions

  1. #20.1.3latestOct 7, 2026
  2. #10.1.2Oct 7, 2026