MCP Read Only Grafana logo

MCP Read Only Grafana

未认领

作者:lukleh

MCP server for read-only access to Grafana instances

grafanamcpmcp-servermodel-context-protocolmonitoringobservabilityread-only

01 / 选择客户端

02 / 连接前的准备

认证方式尚未指定。连接前请查看项目说明。

安装项目所需的运行环境,并确保客户端能够使用它。

项目说明

输入项目说明中的变量名,用逗号分隔。只输入名称,不要输入密钥值。

03 / 添加配置

来源:根据公开安装说明生成

claude mcp add --transport stdio 'mcp-read-only-grafana' -- 'uvx' 'mcp-read-only-grafana@latest' '--write-sample-config'

替换占位符后在终端中运行。

04 / 在客户端中确认

打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。

更多AI & ML服务器

浏览完整目录

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

安全概况

已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理

40 个工具中显示 40 个

文档中列出的工具 (40)

内容来自项目文档。服务器握手不会验证每个工具的说明或行为。

create_alert_rule

Create a new alert rule via the provisioning API.

create_contact_point

Create a new contact point for alert notifications.

create_folder

Create a new folder in Grafana.

create_mute_timing

Create a new mute timing for silencing alerts.

delete_alert_rule

Delete an alert rule.

delete_contact_point

Delete a contact point.

delete_mute_timing

Delete a mute timing.

delete_notification_policies

Reset notification policies to default.

explore_query

Execute Grafana Explore queries via the /api/ds/query endpoint.

get_alert_rule_by_uid

Get a specific alert rule by its UID.

get_alert_rules_with_state

Get all alert rules with their current evaluation state. This is the same endpoint used by Grafana's Alert List panel - useful for checking if an alert is working after creation.

get_alert_state_history

Get alert state transition history. Useful for debugging alert behavior and understanding evaluation patterns.

get_current_org

Get current organization information.

get_current_user

Return the profile for the currently authenticated Grafana user (name, login, email, role, theme, etc.).

get_dashboard

Get complete dashboard definition. Use with caution for large dashboards - may exceed token limits. Prefer getdashboardinfo() + getdashboardpanel() for large dashboards.

get_dashboard_info

Get lightweight dashboard metadata and panel list (without full panel definitions). Recommended first step for exploring dashboards, especially large ones.

get_dashboard_panel

Get full configuration for a single panel from a dashboard. Use this after getdashboardinfo() to explore specific panels in detail.

get_dashboard_panels

Get simplified panel information from a dashboard. Returns basic panel metadata without full configuration.

get_dashboard_versions

Get version history for a dashboard.

get_datasource_health

Run the datasource-specific Grafana health check when the datasource plugin supports it.

get_firing_alerts

Get currently firing alert instances from Alertmanager. Returns alerts that have transitioned from Pending to Firing state.

get_health

Check Grafana instance health and version.

list_alerts

List alert rules.

list_annotations

List annotations (events marked on dashboards).

list_connections

List all configured Grafana instances.

list_datasources

List configured data sources.

list_folder_dashboards

List all dashboards within a specific folder.

list_folders

List all folders in Grafana.

list_provisioned_alert_rules

Fetch all alert rules through Grafana's provisioning API (GET /api/v1/provisioning/alert-rules) to audit provisioned definitions exactly as stored on the server.

list_teams

List all teams in the organization.

list_users

List all users in the organization.

query_loki

Execute a LogQL query against a Loki datasource.

query_prometheus

Execute a PromQL query against a Prometheus datasource.

save_dashboard

Create or update a dashboard using raw Grafana dashboard JSON.

search_dashboards

Search for dashboards by name or tag.

set_notification_policies

Set the entire notification policy tree.

update_alert_rule

Update an existing alert rule.

update_contact_point

Update an existing contact point.

update_mute_timing

Update an existing mute timing.

update_rule_group

Update a rule group's interval configuration.

工具变更历史

比较相同配置的完整检查。只列出工具,未调用工具。此处不测量输入结构的变化。

尚无完整工具检查。