Grafana
io.github.grafana/mcp-grafana · version v2.2.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
An MCP server giving access to Grafana dashboards, data and more.
https://github.com/grafana/mcp-grafanaQuick facts
- Listing: Community
- Published Nov 2, 12:54 UTC
- Transport: stdio
- Package: oci
docker.io/grafana/mcp-grafana:2.2.0 - Listed by cosmic-mcp: Nov 9, 04:26 UTC
Details
- Repository: https://github.com/grafana/mcp-grafana
- Website: https://grafana.com/docs/grafana/latest/developer-resources/mcp/
- Remote endpoint:
https://mcp.grafana.com/mcp - Needs settings:
GRAFANA_URLGRAFANA_SERVICE_ACCOUNT_TOKENGRAFANA_USERNAMEGRAFANA_PASSWORDGRAFANA_ORG_IDGRAFANA_EXTRA_HEADERSGRAFANA_FORWARD_HEADERS
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Remote MCP URL (Claude and ChatGPT custom connectors)
https://mcp.grafana.com/mcpClaude Code
claude mcp add --transport http 'mcp-grafana' 'https://mcp.grafana.com/mcp'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"mcp-grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mcp-grafana": {
"type": "http",
"url": "https://mcp.grafana.com/mcp"
}
}
}Run it locally (oci)
docker run -i --rm -e 'GRAFANA_EXTRA_HEADERS' -e 'GRAFANA_FORWARD_HEADERS' -e 'GRAFANA_ORG_ID' -e 'GRAFANA_PASSWORD' -e 'GRAFANA_SERVICE_ACCOUNT_TOKEN' -e 'GRAFANA_URL' -e 'GRAFANA_USERNAME' 'docker.io/grafana/mcp-grafana:2.2.0'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mcp-grafana": {
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_EXTRA_HEADERS",
"-e",
"GRAFANA_FORWARD_HEADERS",
"-e",
"GRAFANA_ORG_ID",
"-e",
"GRAFANA_PASSWORD",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_USERNAME",
"docker.io/grafana/mcp-grafana:2.2.0"
],
"command": "docker",
"env": {
"GRAFANA_EXTRA_HEADERS": "<your grafana extra headers>",
"GRAFANA_FORWARD_HEADERS": "<your grafana forward headers>",
"GRAFANA_ORG_ID": "<your grafana org id>",
"GRAFANA_PASSWORD": "<your grafana password>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your grafana service account token>",
"GRAFANA_URL": "<your grafana url>",
"GRAFANA_USERNAME": "<your grafana username>"
}
}
}
}Claude Code
claude mcp add 'mcp-grafana' -- docker run -i --rm -e 'GRAFANA_EXTRA_HEADERS' -e 'GRAFANA_FORWARD_HEADERS' -e 'GRAFANA_ORG_ID' -e 'GRAFANA_PASSWORD' -e 'GRAFANA_SERVICE_ACCOUNT_TOKEN' -e 'GRAFANA_URL' -e 'GRAFANA_USERNAME' 'docker.io/grafana/mcp-grafana:2.2.0'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"mcp-grafana": {
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_EXTRA_HEADERS",
"-e",
"GRAFANA_FORWARD_HEADERS",
"-e",
"GRAFANA_ORG_ID",
"-e",
"GRAFANA_PASSWORD",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_USERNAME",
"docker.io/grafana/mcp-grafana:2.2.0"
],
"command": "docker",
"env": {
"GRAFANA_EXTRA_HEADERS": "<your grafana extra headers>",
"GRAFANA_FORWARD_HEADERS": "<your grafana forward headers>",
"GRAFANA_ORG_ID": "<your grafana org id>",
"GRAFANA_PASSWORD": "<your grafana password>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your grafana service account token>",
"GRAFANA_URL": "<your grafana url>",
"GRAFANA_USERNAME": "<your grafana username>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mcp-grafana": {
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_EXTRA_HEADERS",
"-e",
"GRAFANA_FORWARD_HEADERS",
"-e",
"GRAFANA_ORG_ID",
"-e",
"GRAFANA_PASSWORD",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_USERNAME",
"docker.io/grafana/mcp-grafana:2.2.0"
],
"command": "docker",
"env": {
"GRAFANA_EXTRA_HEADERS": "<your grafana extra headers>",
"GRAFANA_FORWARD_HEADERS": "<your grafana forward headers>",
"GRAFANA_ORG_ID": "<your grafana org id>",
"GRAFANA_PASSWORD": "<your grafana password>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your grafana service account token>",
"GRAFANA_URL": "<your grafana url>",
"GRAFANA_USERNAME": "<your grafana username>"
},
"type": "stdio"
}
}
}Related servers
- AnomalyArmor Verified domain
Data observability tools for engineering teams: alerts, freshness, schema drift, lineage, quality. - Auralogs Verified domain
Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses. - contextburn Verified domain
Run efficiency for coding agents: share of paid tokens that became output, not context re-reading. - 1ClickReport
75 tools for marketing analytics, campaign management and AI monitoring across 7 platforms. - 3DOptix Verified domain
Optical design, simulation and analysis with GPU-powered ray tracing. Import from Zemax and CAD. - A.U.G.U.R Foresight · Web & Research Verified domain
Read the web (page text, DNS, WHOIS, TLS, uptime) + research (Wikipedia, arXiv, GitHub, packages).