技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
dockndevai/mcp-grafana

dockndevai/mcp-grafana

Safe-by-default MCP server for G
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-grafana -- npx -y mcp-grafana
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
0 ★ · dockndevai/mcp-grafana · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 dockndevai/mcp-grafana;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

mcp-grafana

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A **safe-by-default** Model Context Protocol server for **Grafana**. It lets an agent explore and operate Grafana — search dashboards, read the dashboard JSON model, list and **query datasources** (Prometheus / Loki / SQL), inspect alert rules and annotations, and (in higher modes) create/update dashboards and folders, write annotations, and delete.
Part of the dockndevai MCP server suite — one governance model across all of them.
What it gives an agent
The server starts **read-only** (see Safe by default); higher-capability tools are only registered when you raise the mode.
| Tool | For | Needs mode |
|---|---|---|
| get_health | check the instance is up, version | read-only |
| search | find dashboards & folders by name/tag (get UIDs) | read-only |
| list_dashboards / list_folders | enumerate dashboards / folders | read-only |
| get_dashboard | the full dashboard JSON model + meta | read-only |
| list_datasources / get_datasource | datasources (secrets redacted) | read-only |
| query_datasource | run PromQL / LogQL / SQL via the unified query API | read-only |
| list_alert_rules | Grafana-managed alert rules | read-only |
| list_annotations | events overlaid on graphs | read-only |
| create_or_update_dashboard | upsert a dashboard (versioned, reversible) | read-write |
| create_folder | create a folder | read-write |
| create_annotation | mark a deploy/incident on graphs | read-write |
| delete_dashboard / delete_folder / delete_annotation | delete (irreversible) | admin + GRAFANA_ALLOW_DELETE |
Install
You need a Grafana **service account token** (Administration → Service accounts → *Add service account* → *Add token*). Give it the **least role** that works — **Viewer** for read-only use, **Editor** to create/update, **Admin** only if you must delete.
Configure
See docs/CLIENTS.md for Claude Code / Cursor / Codex / VS Code / Windsurf snippets, and .env.example for every supported variable.
Safe by default
The access model is enforced by src/security.ts — defence in depth on top of the service-account token's own role:
- **GRAFANA_MODE** — read-only (default) → read-write → admin. A tool is registered only if the mode allows its capability. Read-only exposes the 11 read tools; edits need read-write; deletes need admin.
- **GRAFANA_ALLOW_DELETE** — deletes are irreversible, so on top of admin mode they also require this flag.
- **GRAFANA_FOLDER_ALLOWLIST / GRAFANA_PROTECTED_FOLDERS** — confine which folders can be written to; mark folders (e.g. production) that may be read but never modified or deleted.
- **GRAFANA_DATASOURCE_ALLOWLIST** — restrict which datasources query_datasource may hit.
来源
awesome · https://github.com/dockndevai/mcp-grafana
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引