At-grafana
AT Grafana
AT Grafana ist eine VS Code / Cursor-Erweiterung der AT Series (zusammen mit at-terminal-series und at-jumpserver-series). Sie bringt Grafana-Dashboards und Unified Alerting in die IDE und stellt Agenten schreibgeschützte Grafana-Metadaten sowie Datasource-Abfragen (Prometheus, Loki, …) über das gemeinsame @at-series/mcp-hub Protokoll v1 bereit.
Aktuelle Version: 0.1.0 — V1 funktionsvollständig. Automatisierte Suite: Typprüfung + 292 Tests. Live-Grafana-/echte MCP-Client-Smoke-Tests sind weiterhin als ausstehend in docs/releases/0.1.0.md aufgeführt.
Funktionen
Multi-Instanz-Konfiguration — Bezeichnung, URL, Grafana Service Account Token (9.1+); Tokens liegen in VS Code
SecretStorage, niemals in Klartext-EinstellungenTLS Trust-On-First-Use — Die erste Verbindung fragt nach Bestätigung des Zertifikat-Fingerprints; Änderungen des Fingerprints führen zu einem Fail-Closed.
Dashboards-Seitenleiste — Grafana-Ordnerbaum, Titelfilter, Aktualisierung; Dashboard in einem eingebetteten Webview öffnen
Alerts-Seitenleiste — Unified-Alerting-Regeln mit Live-Status, Ordner gruppiert, Firing-Regeln zuerst sortiert
Native eingebettete Seiten — vollständig interaktive Grafana-Dashboard-/Alert-Detail-UI über einen lokalen
127.0.0.1-Reverse-Proxy, derAuthorizationauf der Erweiterungsseite injiziert (Token ist für das Webview nie sichtbar)Pro-Instanz-Agenten-Gate — „Allow background Agent access“ (Standard: aus); nur aktivierte Instanzen erscheinen in den MCP-Tools
9 MCP-Tools (
risk: read, nach AT-Series-MCP-Installation automatisch genehmigt):Discovery:
grafana_list_instancesManagement:
grafana_list_dashboards,grafana_get_dashboard,grafana_list_folders,grafana_list_alert_rules,grafana_get_alert_rule,grafana_get_alert_historyMonitoring:
grafana_list_datasources,grafana_query_datasource(nurGET/POST;pathauf/api/datasources/proxy/uid/<uid>/beschränkt, sodass es Grafanas eigene APIs nicht erreichen kann; konfigurierbare Zeitbereichs-/Antwortgrößen-Obergrenzen)
Gemeinsamer AT-Series-Hub — ein
AT Series-MCP-Eintrag für Cursor / Kiro / Continue; kein plugin-spezifischer MCP-Server
Related MCP server: Grafana MCP Server
Nicht in diesem Release
Einzelpanel-Drilldown (nur vollständige Dashboards)
Legacy-Alerting (nur Unified Alerting)
Jegliche Schreib-/Stummschalt-/Pause-Aktionen gegen Grafana oder Datasources
Multi-Organisations-Unterstützung
Grafana-Live-/WebSocket-Push über den Embed-Proxy
Installation
Erstellen Sie eine VSIX (oder verwenden Sie ein Release-Asset, sobald veröffentlicht):
npm install npm run package # produces at-grafana-0.1.0.vsixIn VS Code / Cursor: Erweiterungen → ⋯ → Aus VSIX installieren… und wählen Sie die Datei aus.
Öffnen Sie die AT Grafana-Aktivitätsleisten-Ansichten und führen Sie dann AT Grafana: Instanz hinzufügen aus.
Schnellstart
Erstellen Sie einen Grafana-Service Account mit Viewer und kopieren Sie ein Token.
AT Grafana: Instanz hinzufügen → Bezeichnung, Basis-URL, Token → Verbindung testen → TLS-Fingerprint bestätigen → speichern.
Durchsuchen Sie Dashboards / Alerts; klicken Sie auf einen Knoten, um die native Seite in einem Webview zu öffnen.
(Optional, für Agenten) Bearbeiten Sie die Instanz und aktivieren Sie Allow background Agent access.
(Optional) AT Grafana: AT-Series-MCP-Konfiguration installieren/reparieren und dann Ihren MCP-Client neu verbinden.
Vollständige Anleitung: docs/usage.md · 中文
Agenten-Fähigkeit
Skill | Zweck |
Dashboards / Alert-Regeln inspizieren und Prometheus/Loki-artige Daten über AT Grafana MCP abfragen |
Installieren Sie mit der Skills-CLI:
npx skills add xwamt/At-grafana --skill at-grafana-mcpEntwicklung
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>.vsixDrücken Sie F5 bei geöffnetem Ordner, um einen Extension Development Host zu starten.
Erfordert Node.js 20+ und einen VS Code / Cursor-Host, der engines.vscode (^1.85.0) entspricht.
Dokumentation
Doc | Beschreibung |
Funktionsübersicht | |
Einrichtung, Agentenzugriff, MCP-Client | |
Versionshinweise & Definition-of-Done-Aufzeichnung | |
Vollständige Anforderungen (中文) | |
Agentenorientierter MCP-Katalogführer | |
ADR-001 … ADR-005 | |
Phasenweise Implementierungshistorie |
Aus at-terminal-series erstellt (unabhängige Git-Historie; SSH/SFTP/Terminal-Domäne entfernt) — siehe ADR-001.
Lizenz
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