Connect ChatGPT to Grafana

ChatGPT reaches Grafana through one Flowplane address. You add Grafana once in Flowplane, add that address to ChatGPT, and sign in. Search Grafana dashboards, run their queries, see which alerts fire, and add annotations or silences after you approve.

Tools
7 read · 3 change
Sign-in
One shared key
Approval, by default
Changes wait for you
MCP server
Flowplane’s tools
  1. 1

    Add Grafana in Flowplane

    In the Flowplane console, add Grafana, type the address you open Grafana at and paste the service account token. A Grafana behind a firewall connects through a tunnel.

    Grafana is reached with a service account token, made in Grafana under Administration, Users and access, Service accounts. The workspace pastes it once. The service account’s role caps everything: Viewer reads dashboards, alerts and annotations; Editor can also write annotations, silences and dashboards. Flowplane keeps it sealed; the assistant never sees it.

    Connect Grafana →

  2. 2

    Add Flowplane to ChatGPT

    Your address is shown in the Flowplane console; it looks like

    https://mcp.flowplane.eu/<your-label>

    1. In ChatGPT on the web, open Plugins, choose + and Add custom MCP server.
    2. Give it a name and, under Connection, paste https://mcp.flowplane.eu/<your-label>. Set authentication to OAuth.
    3. Tick I understand and want to continue and choose Create as a plugin.
    4. Install it, sign in to Flowplane and allow ChatGPT. In a chat, type @ and pick it.

    Steps checked against the vendor’s documentation (OpenAI)

  3. 3

    Ask ChatGPT

    • “Which alerts are firing right now?”
    • “Show the error rate panel of the API dashboard for the last 6 hours.”
    • “Find our dashboards tagged kubernetes.”
    • “Silence the disk space alerts on db-2 for two hours while we resize it.”
    • “Add an annotation to the checkout dashboard: deployed version 4.2 at 14:00.”
What it can do

What ChatGPT can do in Grafana

For teams that watch their systems in Grafana, on Grafana Cloud or their own server (Grafana 10 and later). Through Flowplane an AI assistant can search dashboards, read a dashboard’s panels and queries, run a query on a data source, and list alert rules with their state, silences and annotations. Adding an annotation, saving a dashboard and silencing alerts wait for your approval by default.

On ChatGPT Pro the connection only reads: save dashboard, silence alerts, create annotation are not offered there.

Reads7

  • Search dashboardsDashboards and folders by name or tagsearch_dashboards
  • Read a dashboardA dashboard's panels and their queriesget_dashboard
  • List datasourcesThe data sources dashboards read fromlist_datasources
  • Query a data sourceRun a query on a data sourcequery_datasource
  • List alert rulesAlert rules and which are firinglist_alert_rules
  • List silencesSilences set on alertslist_silences
  • List annotationsAnnotations on dashboards, and alert changeslist_annotations

Changesasks first3

  • Save dashboardCreate or update a dashboard, asked firstsave_dashboard
  • Silence alertsMute matching alerts, asked first by defaultcreate_silence
  • Create annotationMark a moment on a dashboard, asked firstcreate_annotation
FAQ

Questions

What can the assistant change in Grafana?
It can add an annotation, save a dashboard and create a silence, each of which waits for a person’s approval by default. A dashboard save never overwrites unless asked, and Grafana keeps the earlier version in its history. Deleting dashboards, folders, annotations and silences, changing alert rules and contact points, users, teams, service accounts and data source settings are left out on purpose.
Can it run any query on my data sources?
It runs queries the way a panel does, for example PromQL, LogQL or SQL, within what the service account may read. SQL runs as the data source’s own database user, so give that user only read rights.
Does ChatGPT see the password or key for Grafana?
No. The key for Grafana is pasted into Flowplane once and kept sealed there. ChatGPT only gets a Flowplane sign-in for you, which you can revoke in the console.
Can ChatGPT change things in Grafana without asking?
Not by default: every change in Grafana waits for your approval in the browser. Your workspace’s rules decide, per tool.
Your assistant

Other assistants with Grafana

Everything about Grafana and Flowplane →

Flowplane is not affiliated with or endorsed by Grafana’s maker; the name and logo only identify the app. Pricing

Let your AI work with your data. Safely, from today.

Free for yourself, set up in a minute. For your team or company, we’re happy to help you get started.