Skip to main content
Glama
xwamt

At-grafana

by xwamt

AT Grafana

中文

AT Grafana は AT シリーズat-terminal-series および at-jumpserver-series と並ぶ)の VS Code / Cursor 拡張機能です。Grafana のダッシュボードと Unified Alerting を IDE にもたらし、共有の @at-series/mcp-hub Protocol v1 を通じて、読み取り専用の Grafana メタデータとデータソースクエリ(Prometheus、Loki など)をエージェントに公開します。

現在のバージョン: 0.1.0 — V1 の機能はすべて実装済みです。自動テストスイート: 型チェック + 292 件のテスト。実 Grafana / 実 MCP クライアントによるスモークチェックは、docs/releases/0.1.0.md に保留項目として記載されています。

機能

  • マルチインスタンス設定 — ラベル、URL、Grafana Service Account Token(9.1+)。トークンは VS Code の SecretStorage に保存され、平文の設定には一切保存されません

  • TLS Trust-On-First-Use — 初回接続時に証明書フィンガープリントの確認を求めます。フィンガープリントの変更時はフェイルクローズします

  • ダッシュボードサイドバー — Grafana のフォルダツリー、タイトルフィルタ、更新。ダッシュボードを埋め込み Webview で開きます

  • アラートサイドバー — ライブ状態付きの Unified Alerting ルール、フォルダ別グループ化、Firing ルールを先頭にソート

  • ネイティブ埋め込みページ — ローカル 127.0.0.1 リバースプロキシを介した、完全にインタラクティブな Grafana ダッシュボード / アラート詳細 UI。Authorization は拡張機能側で注入されます(トークンが Webview に表示されることはありません)

  • インスタンスごとのエージェントゲート — 「バックグラウンドのエージェントアクセスを許可」(デフォルトはオフ)。有効化されたインスタンスのみが MCP ツールに表示されます

  • 9 つの MCP ツールrisk: read、AT Series MCP インストール後に自動承認):

    • 検出: grafana_list_instances

    • 管理: grafana_list_dashboardsgrafana_get_dashboardgrafana_list_foldersgrafana_list_alert_rulesgrafana_get_alert_rulegrafana_get_alert_history

    • 監視: grafana_list_datasourcesgrafana_query_datasourceGET/POST のみ。path/api/datasources/proxy/uid/<uid>/ に制限されるため、Grafana 自身の API には到達できません。時間範囲 / 応答サイズの上限を設定可能)

  • 共有 AT Series Hub — Cursor / Kiro / Continue 用の単一の AT Series MCP エントリ。プラグイン固有の MCP サーバーは不要です

Related MCP server: Grafana MCP Server

このリリースに含まれないもの

  • 単一パネルのドリルダウン(フルダッシュボードのみ)

  • レガシーアラート(Unified Alerting のみ)

  • Grafana またはデータソースへの書き込み / ミュート / 一時停止

  • マルチオーガニゼーション対応

  • 埋め込みプロキシを介した Grafana Live / WebSocket プッシュ

インストール

  1. VSIX をビルドします(公開後はリリースアセットを使用できます):

    npm install
    npm run package   # produces at-grafana-0.1.0.vsix
  2. VS Code / Cursor で: 拡張機能 → ⋯ → VSIX からインストール… を選択し、ファイルを選択します。

  3. AT Grafana のアクティビティバービューを開き、AT Grafana: Add Instance を実行します。

クイックスタート

  1. Grafana の Service AccountViewer 権限で作成し、トークンをコピーします。

  2. AT Grafana: Add Instance → ラベル、ベース URL、トークン → 接続テスト → TLS フィンガープリントを確認 → 保存。

  3. ダッシュボード / アラート を閲覧し、ノードをクリックして Webview でネイティブページを開きます。

  4. (オプション、エージェント用)インスタンスを編集し、バックグラウンドのエージェントアクセスを許可 を有効にします。

  5. (オプション)AT Grafana: Install/Repair AT Series MCP Config を実行し、MCP クライアントを再接続します。

完全なチュートリアル: docs/usage.md · 中文

エージェントスキル

スキル

目的

at-grafana-mcp

AT Grafana MCP を通じてダッシュボード / アラートルールを調査し、Prometheus/Loki 形式のデータをクエリする

スキル CLI でインストール:

npx skills add xwamt/At-grafana --skill at-grafana-mcp

開発

npm install
npm run typecheck
npm test
npm run build      # bundles dist/extension.js (+ webview + hub copy via package scripts)
npm run package    # produces at-grafana-<version>.vsix

このフォルダを開いた状態で F5 を押すと、拡張機能開発ホストが起動します。

Node.js 20+ と、engines.vscode^1.85.0)に一致する VS Code / Cursor ホストが必要です。

ドキュメント

ドキュメント

説明

docs/features.md (中文)

機能概要

docs/usage.md (中文)

セットアップ、エージェントアクセス、MCP クライアント

docs/releases/0.1.0.md

リリースノート & 完了条件(Definition-of-Done)記録

docs/requirements.md

完全な要件(中文)

skills/at-grafana-mcp/SKILL.md

エージェント向け MCP カタログガイド

docs/decisions/

ADR-001 … ADR-005

docs/plans/2026-07-29-at-grafana-v1-implementation-plan.md

段階的な実装履歴

at-terminal-series からスキャフォールドされています(独立した git 履歴。SSH/SFTP/ターミナル領域は削除済み)— ADR-001 を参照してください。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
1wRelease cycle
4Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    Enables AI-powered integration with Grafana instances through 52 MCP tools for dashboard management, Prometheus/Loki queries, alerting, and administrative functions. Supports complete Grafana functionality including metrics exploration, log analysis, and incident response through natural language.
    80
    1
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to interact with Grafana dashboards, datasources, alerts, incidents, and monitoring data through 43 comprehensive tools. Supports querying Prometheus metrics, Loki logs, managing incidents, and dashboard operations with full authentication support.
    43
    762
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables MCP-compatible agents to interact with Grafana instances for searching, creating, and updating dashboards, exploring logs via Loki, querying datasources, managing alerts, incidents, and on-call shifts, and accessing observability data.
    8
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Query Grafana logs, metrics, and dashboards from Cursor. Enables the AI to call your Grafana instance via tools without leaving the editor.
    8
    4
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • An MCP server giving access to Grafana dashboards, data and more.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • Package intelligence MCP for AI agents — 22 tools, 19 ecosystems, AGPL SDK, free.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xwamt/At-grafana'

If you have feedback or need assistance with the MCP directory API, please join our Discord server