At-grafana
Provides tools for browsing Grafana dashboards, alert rules, folders, datasources, and querying datasources (Prometheus, Loki, etc.) through MCP tools.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@At-grafanalist all dashboards in the "Monitoring" folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AT Grafana
AT Grafana is a VS Code / Cursor extension in the AT Series (alongside at-terminal-series and at-jumpserver-series). It brings Grafana dashboards and Unified Alerting into the IDE, and exposes read-only Grafana metadata plus datasource queries (Prometheus, Loki, …) to Agents through the shared @at-series/mcp-hub Protocol v1.
Current version: 0.1.4 — MCP catalog aligned to 17 read-only tools (typed Prom/Loki, discovery, annotations, deeplink). Automated suite: typecheck + 709 tests. See docs/releases/0.1.4.md. Live Grafana / real MCP-client smoke checks remain listed in docs/releases/0.1.0.md.
Features
Multi-instance config — label, URL, Grafana Service Account Token (9.1+); tokens live in VS Code
SecretStorage, never in plaintext settingsTLS Trust-On-First-Use — first connection prompts for certificate fingerprint confirmation; fingerprint changes fail closed
Dashboards sidebar — Grafana folder tree, title filter, refresh; open a dashboard in an embedded Webview
Alerts sidebar — Unified Alerting rules with live state, folder grouping, Firing rules sorted first
Native embedded pages — fully interactive Grafana dashboard / alert detail UI via a local
127.0.0.1reverse proxy that injectsAuthorizationon the extension side (token never visible to the Webview)Per-instance Agent gate — “Allow background Agent access” (default off); only enabled instances appear to MCP tools
17 MCP tools (
risk: read, auto-approved after AT Series MCP install):Discovery:
grafana_list_instancesManagement:
grafana_list_dashboards(optionalquery/tag/folderUid),grafana_get_dashboard(defaults tofields: "targets"; complete model requiresfields: "full"),grafana_list_folders,grafana_list_alert_rules(optionalstates),grafana_get_alert_rule,grafana_get_alert_history,grafana_list_annotations,grafana_generate_deeplink(openInIdedefault false)Monitoring:
grafana_list_datasources,grafana_query_prometheus,grafana_query_loki,grafana_list_prometheus_metric_names,grafana_list_prometheus_label_values,grafana_list_loki_label_names,grafana_list_loki_label_values, andgrafana_query_datasourceas an escape hatch. Prefer the typed Prom/Loki tools; the generic proxy isGET/POSTonly, withpathconfined to/api/datasources/proxy/uid/<uid>/so it cannot reach Grafana's own APIs; over-cap results includetruncated: true
Shared AT Series Hub — one
AT SeriesMCP entry for Cursor / Kiro / Continue; no plugin-specific MCP server
Related MCP server: Grafana MCP Server
Not in this release
Single-panel drill-down (full dashboards only)
Legacy Alerting (Unified Alerting only)
Any write / mute / pause against Grafana or datasources
Multi-organization support
Grafana Live / WebSocket push through the embed proxy
Install
Build a VSIX (or use a release asset once published):
npm install npm run package # produces at-grafana-0.1.4.vsixIn VS Code / Cursor: Extensions → ⋯ → Install from VSIX… and select the file.
Open the AT Grafana activity-bar views, then run AT Grafana: Add Instance.
Quick start
Create a Grafana Service Account with Viewer and copy a token.
AT Grafana: Add Instance → label, base URL, token → Test connection → confirm TLS fingerprint → save.
Browse Dashboards / Alerts; click a node to open the native page in a Webview.
(Optional, for Agents) Edit the instance and enable Allow background Agent access.
(Optional) AT Grafana: Install/Repair AT Series MCP Config, then reconnect your MCP client.
Full walkthrough: docs/usage.md · 中文
Agent skill
Skill | Purpose |
Inspect dashboards / alert rules and query Prometheus/Loki-style data through AT Grafana MCP |
Install with the skills CLI:
npx skills add xwamt/At-grafana --skill at-grafana-mcpDevelopment
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>.vsixPress F5 with this folder open to launch an Extension Development Host.
Requires Node.js 20+ and a VS Code / Cursor host matching engines.vscode (^1.85.0).
Documentation
Doc | Description |
Feature overview | |
Setup, Agent access, MCP client | |
Current release notes (HTTPS keep-alive fix, WAF User-Agent, embed caching) | |
0.1.3 release notes (17-tool MCP catalog) | |
V1 Definition-of-Done / acceptance record | |
Full requirements (中文) | |
Agent-facing MCP catalog guide | |
ADR-001 … ADR-007 | |
Phased implementation history | |
Performance / completeness / UX optimization proposals (中文) | |
Subsequent completeness roadmap for 0.1.4 → 0.2 → V2 (中文) | |
Agent-executable follow-up plan (Tasks 1–26; parts A–D) |
Scaffolded from at-terminal-series (independent git history; SSH/SFTP/terminal domain removed) — see ADR-001.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
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.431,485 npm3MIT
- 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.6 npm4Apache 2.0