mcp-grafana
Provides tools for checking Grafana health, listing datasources, and executing read-only queries through Grafana's datasource proxy.
Enables instant and range PromQL queries, and listing alerts via Grafana's Prometheus datasource proxy.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-grafanalist all active alerts in the cluster"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-grafana
In-cluster MCP server for read-only Grafana, Prometheus, Alertmanager, and Loki diagnostics.
Tools
get_grafana_health()- Grafana health/status.list_datasources()- compact datasource inventory.query_prometheus()- instant PromQL through Grafana's Prometheus datasource proxy.query_prometheus_range()- range PromQL through Grafana's Prometheus datasource proxy.list_prometheus_alerts()- Prometheus alert state from the datasource proxy.list_alertmanager_alerts()- Alertmanager alerts from the datasource proxy.query_loki()- Loki range query through the Grafana datasource proxy.
query_prometheus, list_prometheus_alerts, and list_alertmanager_alerts
default to the prometheus and alertmanager datasource UIDs provisioned by
kube-prometheus-stack. query_loki defaults to the loki UID pinned in
romaine-life/osms.
Related MCP server: poly-observability-mcp
Auth
Inbound transport is gated by kube-rbac-proxy using Kubernetes
TokenReview/SubjectAccessReview, matching the other romaine.life MCP servers.
Outbound calls to Grafana use the calling session pod's auth.romaine.life
service-principal JWT, forwarded by the pod's mcp-auth-proxy sidecar in the
X-Auth-Romaine-Token header. Grafana validates that JWT via its [auth.jwt]
configuration, so this server does not mint or store a separate Grafana service
account token.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceA comprehensive Model Context Protocol (MCP) server for Grafana, Prometheus, Kafka UI, and Datadog. Features a secure "Bring Your Own Key" (BYOK) architecture where credentials stay local. Provides tools for metrics querying, dashboard inspection, Kafka lag monitoring, and unified health checks.23324MIT
- Alicense-qualityDmaintenanceUnified MCP server for observability and monitoring, providing tools to query metrics, logs, and traces through Prometheus, Grafana, Loki, and Jaeger.2Mozilla Public 2.0
- Alicense-qualityBmaintenanceRead-only MCP server for safe Kubernetes inspection, diagnosis, and debugging. Supports Kubernetes core, Helm, Argo Workflows, and Argo CD.2845MIT
- FlicenseAqualityBmaintenanceRead-only MCP server that exposes Grafana dashboards, datasources, and metric/log queries as tools, for use by skills in the TICKETS workspace.6
Related MCP Connectors
An MCP server giving access to Grafana dashboards, data and more.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/romaine-life/mcp-grafana'
If you have feedback or need assistance with the MCP directory API, please join our Discord server