Aerostack
Aerostack
electrical_services

Grafana Cloud Observability

MCP Server Key Required

Dashboards, alerting, Loki logs, Tempo traces, Prometheus metrics via Grafana's official MCP

v1.0.0MITUpdated Mar 29, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

claude_desktop_config.json
{
  "mcpServers": {
    "grafana-cloud-observability": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-grafana",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

Natural Language Prompt

“Use the list_dashboards tool to list all grafana dashboards with title, folder, tags, and url for quick navigation

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

Grafana Cloud Observability MCP

Official proxy MCP — Dashboards, alerting, Loki logs, Tempo traces, Prometheus metrics via Grafana's official MCP

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-grafana


Overview

Grafana Cloud Observability is a proxy MCP server that forwards requests directly to the official Grafana MCP endpoint at https://mcp.grafana.com/mcp. All tools are maintained by Grafana Labs — new tools are available immediately without any Aerostack update.

Type: Proxy (hosted by Grafana Cloud)
Auth: Bearer token via GRAFANA_API_TOKEN

Self-hosted Grafana? Use your instance-specific endpoint: https://<stack-id>.grafana.net/api/mcp

Available Tools

  • list_dashboards — List all dashboards with title, folder, tags, and URL for quick navigation
  • get_dashboard — Retrieve a specific dashboard by UID with all panels, variables, and data sources
  • query_loki_logs — Query logs from Loki using LogQL with label and line filters
  • list_alerts — List all alerting rules with status, labels, and notification channels
  • query_prometheus — Execute PromQL queries for metric analysis with time range support

Configuration

VariableRequiredDescriptionHow to Get
GRAFANA_API_TOKENYesGrafana Cloud API Token or Service Account Tokengrafana.com → My Account → Access Policies → Create token

Setup

Add to Aerostack Workspace

  1. Go to app.aerostack.dev/workspacesCreate Workspace
  2. Inside your workspace → Add Server → search "Grafana Cloud Observability"
  3. Enter your GRAFANA_API_TOKEN when prompted — stored encrypted, injected automatically

Once added, every AI agent in your workspace can query Grafana tools automatically.

Usage

Example Prompts

"Show me all dashboards tagged with 'kubernetes'"
"Query Loki for error logs from the payment service in the last hour"
"List all firing alerts and summarize what's broken"

Direct API Call

curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-grafana \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-GRAFANA-API-TOKEN: your-token' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_loki_logs","arguments":{"query":"{app=\"nginx\"} |= \"error\""}}}'

License

MIT

Details

upgradeVersion1.0.0
gavelLicenseMIT
wifiTransporthttp-sse
lockAccessKey Required
categoryCategorydevops
terminalTools

Tags

Browse more servers

Similar MCP Servers

View all →