Catalog → Grafana

Grafana

by grafana

Ready2.2.0

Grafana's official MCP — dashboards, alerts, datasources, plus Loki + Prometheus + Pyroscope queries.

Capabilities
read
Categories
DevOps
Configuration
Grafana URL
Text Required

Grafana instance base URL (http://localhost:3000 or https://myinstance.grafana.net)

Default http://localhost:3000
Service Account Token
Secret Required

Service account token (starts with glsa_); create under Administration → Service accounts

Service Account Token File
Text

Path to file containing the service account token (alternative to inline token)

Username
Text

Username for basic auth (alternative to service account token)

Password
Secret

Password for basic auth

API Key (Deprecated)
Secret

Legacy API key - deprecated, use service account token instead

Organization ID
Text

Numeric organization ID to scope requests to

Allowed URLs
Text

Comma-separated list of allowed URLs for per-request overrides

Allow URL Override
Text

Whether to allow per-request URL overrides

Allow Cross-Origin Redirects
Text

Whether to allow cross-origin redirects

Extra HTTP Headers
Text

JSON object mapping header names to values for all Grafana API requests

Forward Headers
Text

Comma-separated list of headers to forward from incoming requests (streamable-http transport only)

SOCKS5 Proxy
Text

SOCKS5 proxy URL for Grafana traffic (e.g., socks5://user:[email protected]:1080)

Loki Max Query Bytes
Text

Maximum bytes for Loki queries

Loki Max Query Range
Text

Maximum time range for Loki queries

Loki Guardrail Mode
Text

Guardrail enforcement mode for Loki queries

Disable Usage Statistics
Choice

Set to 1 to opt out of usage statistics (W3C DNT standard)

Default 1
Usage Statistics
Text

Usage statistics collection preference

Extra environment variables
Env vars

Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.

Default template
# Optional extra environment variables, one KEY=VALUE per line.
# Lines starting with # are ignored: uncomment and edit what you need.
# Documented options: https://github.com/grafana/mcp-grafana

# Route the connector through an HTTP proxy, if your network needs one.
# HTTPS_PROXY=http://proxy.example:8080

# Turn up logging for troubleshooting (read by many servers; the name varies).
# LOG_LEVEL=debug

This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.

Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
Go
go install github.com/grafana/mcp-grafana/cmd/[email protected]
UVX Preferred
uvx mcp-grafana==2.2.0

Are you sure?

Configure connector

Fill in your settings, then Save.

Help test this connector

Record a short screen-capture that shows the connector working (or failing) end-to-end. Approved submissions earn you Pro-equivalent limits on this specific connector for as long as your account exists.

YouTube, Loom, Vimeo, or Google Drive links are accepted. Unlisted / private links are fine as long as our admin can open them.

Cookie preferences

Choose which categories of cookies we may use. You can change this any time via the footer link.

Essential

Session cookie that keeps you signed in. Required for the site to function.

Always on