mcp-grafana
CommunityMCP server by dockndevai · updated · ★ 0 · 42 downloads a week
Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts. mcp-grafana is a community project by dockndevai, not verified by a company domain.
Install mcp-grafana
Built from the published package, never by AIclaude mcp add mcp-grafana -e GRAFANA_TOKEN=YOUR_GRAFANA_TOKEN -- npx -y @dockndevai/mcp-grafanaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-grafana"
],
"env": {
"GRAFANA_TOKEN": "YOUR_GRAFANA_TOKEN"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-grafana"
],
"env": {
"GRAFANA_TOKEN": "YOUR_GRAFANA_TOKEN"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-grafana"
],
"env": {
"GRAFANA_TOKEN": "YOUR_GRAFANA_TOKEN"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-grafana --env GRAFANA_TOKEN=YOUR_GRAFANA_TOKEN -- npx -y @dockndevai/mcp-grafana{
"mcpServers": {
"mcp-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-grafana"
],
"env": {
"GRAFANA_TOKEN": "YOUR_GRAFANA_TOKEN"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-grafana npx -y @dockndevai/mcp-grafanaGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-grafana block.
Last commit 5 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
GRAFANA_Environment variable, secret | Required | Grafana service-account token (Bearer). Use a Viewer-role account for read-only use. |
GRAFANA_Environment variable | Optional | Base URL of the Grafana instance (e.g. http://localhost:3000). |
GRAFANA_Environment variable | Optional | Access mode: read-only | read-write | admin. Starts read-only; writes need read-write. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Weekly newsletter
Like mcp-grafana? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to mcp-grafana
All alternatives →MCP server for interacting with the Supabase platform
Built-in MCP server for ArcadeDB multi-model database (graph, document, vector, time-series)
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases enables your agent to connect to your database.
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.
Self-learning vector database for Node.js — hybrid search, Graph RAG, FlashAttention-3, HNSW, 50+ attention mechanisms
mcp-grafana: common questions
How do I install mcp-grafana?
In Claude Code run claude mcp add mcp-grafana -e GRAFANA_TOKEN=YOUR_GRAFANA_TOKEN -- npx -y @dockndevai/mcp-grafana. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-grafana the official server?
mcp-grafana is a community project by dockndevai, not verified by a company domain.
Is mcp-grafana free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-grafana safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to mcp-grafana?
Similar MCP servers: Supabase, ArcadeDB MCP Server, MCP Toolbox for Databases, MCP Toolbox for Databases.
Does mcp-grafana work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
