Tool connections (MCP)
Grafana MCP Server
Connect monitoring dashboards, logs and metrics to an AI assistant.
Install
Cursor MCP settingsConfiguration to paste
- Install uv, the Python package manager, before running this command.
- A service account is required; check its available plan and permissions.
- Obtain the required API key from the service; keep it in your local configuration.
- Replace the placeholder values below before running or saving.
- Merge into the existing configuration; keep other tools and settings.
- Save the configuration, then restart or reload your assistant or editor.
Cursor MCP settings
Configuration file ~/.cursor/mcp.json
Replace these values: YOUR_GRAFANA_URL · YOUR_GRAFANA_SERVICE_ACCOUNT_TOKEN
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana"
],
"env": {
"GRAFANA_URL": "YOUR_GRAFANA_URL",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "YOUR_GRAFANA_SERVICE_ACCOUNT_TOKEN"
}
}
}
}Requirements, costs and detailed steps
Grafana MCP Server setup documentation
Setup requirements have not been reviewed yet. Check the project’s setup guide.
Based on public documentation; not individually installed and tested here.
What is Grafana MCP Server?
Grafana's official MCP connects an assistant to dashboards and supported monitoring data sources for investigation and troubleshooting. It needs an accessible Grafana instance and appropriate credentials, commonly a service-account token. Full functionality requires Grafana 9.0 or later. It can run via uvx, Docker or a binary; Grafana Cloud and data-source charges remain separate.
Grafana MCP Server use cases
- Find and read monitoring dashboards
- Query supported data sources, logs and metrics
- Manage dashboards and alerts within granted permissions
Official project & documentation
Alternatives to Grafana MCP Server for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- REA — Reverse Engineer Anything — Let AI investigate how an application's features work and return code and runtime evidence you can check.
- Mobile Next MCP — Let an AI assistant inspect and operate iOS and Android app flows.
- Kubernetes MCP Server — Let an assistant inspect Kubernetes resources, pod logs and cluster state.