npm · grafana-mcp
$npx -y grafana-mcp@0.1.3 GRAFANA_TEST_URL — Grafana base URL of the test environment, e.g. https://grafana.example.com
GRAFANA_TEST_USER — Grafana username for the test environment (prefer a dedicated Viewer-role account)
GRAFANA_TEST_PASSWORD · secret — Grafana password for the test environment
GRAFANA_PROD_URL — Grafana base URL of the production environment
GRAFANA_PROD_USER — Grafana username for the production environment
GRAFANA_PROD_PASSWORD · secret — Grafana password for the production environment
GRAFANA_ENV — Default environment for this project (test by default)
GRAFANA_APP — App label value used to scope Loki queries for this project