At-grafana
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_dashboards、grafana_get_dashboard、grafana_list_folders、grafana_list_alert_rules、grafana_get_alert_rule、grafana_get_alert_history監視:
grafana_list_datasources、grafana_query_datasource(GET/POSTのみ。pathは/api/datasources/proxy/uid/<uid>/に制限されるため、Grafana 自身の API には到達できません。時間範囲 / 応答サイズの上限を設定可能)
共有 AT Series Hub — Cursor / Kiro / Continue 用の単一の
AT SeriesMCP エントリ。プラグイン固有の MCP サーバーは不要です
Related MCP server: Grafana MCP Server
このリリースに含まれないもの
単一パネルのドリルダウン(フルダッシュボードのみ)
レガシーアラート(Unified Alerting のみ)
Grafana またはデータソースへの書き込み / ミュート / 一時停止
マルチオーガニゼーション対応
埋め込みプロキシを介した Grafana Live / WebSocket プッシュ
インストール
VSIX をビルドします(公開後はリリースアセットを使用できます):
npm install npm run package # produces at-grafana-0.1.0.vsixVS Code / Cursor で: 拡張機能 → ⋯ → VSIX からインストール… を選択し、ファイルを選択します。
AT Grafana のアクティビティバービューを開き、AT Grafana: Add Instance を実行します。
クイックスタート
Grafana の Service Account を Viewer 権限で作成し、トークンをコピーします。
AT Grafana: Add Instance → ラベル、ベース URL、トークン → 接続テスト → TLS フィンガープリントを確認 → 保存。
ダッシュボード / アラート を閲覧し、ノードをクリックして Webview でネイティブページを開きます。
(オプション、エージェント用)インスタンスを編集し、バックグラウンドのエージェントアクセスを許可 を有効にします。
(オプション)AT Grafana: Install/Repair AT Series MCP Config を実行し、MCP クライアントを再接続します。
完全なチュートリアル: docs/usage.md · 中文
エージェントスキル
スキル | 目的 |
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 ホストが必要です。
ドキュメント
ドキュメント | 説明 |
機能概要 | |
セットアップ、エージェントアクセス、MCP クライアント | |
リリースノート & 完了条件(Definition-of-Done)記録 | |
完全な要件(中文) | |
エージェント向け MCP カタログガイド | |
ADR-001 … ADR-005 | |
段階的な実装履歴 |
at-terminal-series からスキャフォールドされています(独立した git 履歴。SSH/SFTP/ターミナル領域は削除済み)— ADR-001 を参照してください。
ライセンス
This server cannot be installed
Maintenance
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
- FlicenseCqualityDmaintenanceEnables 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.801
- AlicenseBqualityBmaintenanceEnables 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.437623MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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.8Apache 2.0
- AlicenseNot gradedqualityDmaintenanceQuery Grafana logs, metrics, and dashboards from Cursor. Enables the AI to call your Grafana instance via tools without leaving the editor.84Apache 2.0
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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