如何将 Grafana Cloud 远程 MCP 连接到 Claude

约 1 分钟即可把 Grafana Labs 的远程 MCP 服务端接入 Claude。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~1515 tok47 tools
Streamable HTTPhttps://mcp.grafana.com/mcp
  1. Open Settings → Connectors (Integrations) → Add Custom Connector.
  2. Paste the endpoint URL: https://mcp.grafana.com/mcp
  3. Complete the browser OAuth 2.1 login flow when prompted.

接入步骤

  1. 打开连接器设置 — 在 claude.ai → Settings → Connectors 中选择「添加自定义连接器」。
  2. 填入远程端点 — 将 https://mcp.grafana.com/mcp 粘贴为 Remote MCP Server URL 并保存。
  3. 完成认证 — 首次调用时客户端会打开 Grafana Labs 的 OAuth 授权页面——点击允许后工具即可用。
  4. 验证 — 在 在线 Inspector 中粘贴 https://mcp.grafana.com/mcp 并运行 initialize + tools/list 验证连通性。

🧰 工具预览(47)

ToolSafetyDescriptionParameters
search_dashboards
~34 tok
🟢 ReadSearch Grafana dashboards by title or tag.—
get_dashboard_by_uid
~33 tok
🟢 ReadGet a dashboard's full JSON model.—
get_dashboard_summary
~34 tok
🟢 ReadGet a compact summary of a dashboard.—
get_dashboard_property
~38 tok
🟢 ReadExtract a specific JSONPath value from a dashboard.—
update_dashboard
~33 tok
🟠 WriteCreate or update a Grafana dashboard.—
get_dashboard_panel_queries
~35 tok
🟢 ReadGet queries used by dashboard panels.—
list_datasources
~30 tok
🟢 ReadList configured datasources.—
get_datasource_by_uid
~31 tok
🟢 ReadGet a datasource by UID.—
get_datasource_by_name
~31 tok
🟢 ReadGet a datasource by name.—
query_prometheus
~31 tok
🟢 ReadQuery a Prometheus datasource.—
list_prometheus_metric_names
~34 tok
🟢 ReadList Prometheus metric names.—
list_prometheus_metric_metadata
~35 tok
🟢 ReadList Prometheus metric metadata.—
list_prometheus_label_names
~33 tok
🟢 ReadList Prometheus label names.—
list_prometheus_label_values
~35 tok
🟢 ReadList values of a Prometheus label.—
query_loki_logs
~32 tok
🟢 ReadQuery logs from a Loki datasource.—
list_loki_label_names
~30 tok
🟢 ReadList Loki label names.—
list_loki_label_values
~32 tok
🟢 ReadList values of a Loki label.—
query_loki_stats
~30 tok
🟢 ReadQuery Loki index statistics.—
list_incidents
~29 tok
🟢 ReadList Grafana incidents.—
create_incident
~30 tok
🟠 WriteCreate a Grafana incident.—
add_activity_to_incident
~34 tok
🟠 WriteAdd an activity note to an incident.—
resolve_incident
~30 tok
🟠 WriteResolve a Grafana incident.—
list_alert_rules
~30 tok
🟢 ReadList Grafana alert rules.—
get_alert_rule_by_uid
~31 tok
🟢 ReadGet an alert rule by UID.—
create_alert_rule
~31 tok
🟠 WriteCreate a Grafana alert rule.—
update_alert_rule
~31 tok
🟠 WriteUpdate a Grafana alert rule.—
delete_alert_rule
~31 tok
🔴 DestructiveDelete a Grafana alert rule.—
list_contact_points
~31 tok
🟢 ReadList alert contact points.—
create_contact_point
~32 tok
🟠 WriteCreate an alert contact point.—
list_oncall_schedules
~32 tok
🟢 ReadList Grafana OnCall schedules.—
get_oncall_shift
~28 tok
🟢 ReadGet an OnCall shift.—
get_current_oncall_users
~33 tok
🟢 ReadList users currently on call.—
list_teams
~27 tok
🟢 ReadList Grafana teams.—
list_users_by_org
~31 tok
🟢 ReadList users in the organization.—
query_tempo_search
~29 tok
🟢 ReadSearch Tempo traces.—
query_tempo_trace
~30 tok
🟢 ReadFetch a Tempo trace by ID.—
list_pyroscope_profile_types
~34 tok
🟢 ReadList Pyroscope profile types.—
list_pyroscope_label_names
~33 tok
🟢 ReadList Pyroscope label names.—
list_pyroscope_label_values
~33 tok
🟢 ReadList Pyroscope label values.—
fetch_pyroscope_profile
~34 tok
🟢 ReadFetch a Pyroscope flamegraph profile.—
get_current_time
~32 tok
🟢 ReadGet the current Grafana server time.—
search_folders
~29 tok
🟢 ReadSearch Grafana folders.—
create_folder
~29 tok
🟠 WriteCreate a Grafana folder.—
list_sift_investigations
~32 tok
🟢 ReadList Sift investigations.—
get_sift_investigation
~33 tok
🟢 ReadGet a Sift investigation result.—
get_sift_analysis
~31 tok
🟢 ReadGet a Sift analysis finding.—
get_assertions_summary
~34 tok
🟢 ReadGet service health assertions summary.—

更多连接指南