Grafana MCP Server

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

Local serverstdio

What is the Grafana MCP Server?

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

Packages and local setup

The published npm package is grafana-mcp, version 0.1.3. Its declared MCP transport is stdio.

The package declares 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: 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: 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.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.1.3 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related monitoring & observability MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GRAFANA_TEST_URLGrafana base URL of the test environment, e.g. https://grafana.example.comOptional
GRAFANA_TEST_USERGrafana username for the test environment (prefer a dedicated Viewer-role account)Optional
GRAFANA_TEST_PASSWORDGrafana password for the test environmentOptional
GRAFANA_PROD_URLGrafana base URL of the production environmentOptional
GRAFANA_PROD_USERGrafana username for the production environmentOptional
GRAFANA_PROD_PASSWORDGrafana password for the production environmentOptional
GRAFANA_ENVDefault environment for this project (test by default)Optional
GRAFANA_APPApp label value used to scope Loki queries for this projectOptional