• INVENTORY
  • VALIDATION
  • RECONCILIATION
  • HUMAN

How to audit configured data sources with your AI

Connect Grafana to your agent once. From then on, you can check your entire monitoring stack through a simple chat interface.

Ask AI about this page

Short answer

Can my AI list my Grafana data sources?

Yes. Your agent uses the Grafana MCP to pull a real-time list of every configured data source in your instance. This lets you quickly verify that Prometheus, SQL, or other sources are properly connected. You'll get a clear breakdown of your current setup.

Audit outcomes.

Where your setup details land.

What you get when your agent scans your configuration.

INVENTORY

Complete source list

The agent uses list_datasources to fetch every active connection. You get a clean list of names and types.

VALIDATION

Connection check

Compare the agent's list against your expected configuration. This catches missing or misconfigured sources immediately.

RECONCILIATION

Identify gaps

Spot discrepancies between your intended monitoring setup and what is actually live in Grafana.

HUMAN

Manual fixes

If the agent finds a missing source, you still need to log into Grafana to add or fix the connection manually.

The workflow

What your AI does when the request arrives.

The agent handles the heavy lifting of querying the Grafana API.

  1. Fetch connections

    Your agent reaches into your Grafana instance to pull the current configuration state.

    list_datasources
  2. Parse metadata

    The agent reads the returned data to identify the type and name of each source.

    list_datasources
  3. Compare and verify

    The agent checks the found sources against your specific instructions or requirements.

    list_datasources
  4. Report findings

    The agent presents a clear summary of what is connected and what is missing.

    list_datasources

Try it

Copy these to start.

Use these prompts to begin your audit.

Starting points

These are basic starting lines. Swap out the specific source names like Prometheus or InfluxDB to match your setup.

Grafana Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_GY4fnTT6ubjB2NS0Nlt9HtI8gm9rlHDIhOeLcpat/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Grafana capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "grafana-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_GY4fnTT6ubjB2NS0Nlt9HtI8gm9rlHDIhOeLcpat/mcp"
    }
  }
}
Copy into chat04
  • List all my Grafana data sources.

  • Check if my Prometheus data source is currently configured in Grafana.

  • Show me all SQL data sources connected to my Grafana instance.

  • Are there any data sources in Grafana that aren't Prometheus or MySQL?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Grafana once, then ask.

Just follow the link to connect your account. Your credentials stay encrypted, and you can immediately start asking your agent about your data.

Connect Grafana to your AI

FAQ

How this task behaves.

  • 01

    Can the AI add new data sources to Grafana?

    No. The agent can only list existing sources. You must add or modify data sources through the Grafana UI.

  • 02

    Does the AI see my actual metrics data?

    No. This specific task only looks at the configuration of the data sources, not the time-series data inside them.

  • 03

    Can the AI delete a data source if I ask?

    No. The agent does not have the capability to delete or change any settings in your Grafana instance.

  • 04

    How often does the agent see updates?

    Every time you ask, the agent performs a fresh call to Grafana, so you always see the most current state.

  • 05

    Will this work with my self-hosted Grafana?

    Yes, as long as your Grafana instance is accessible to the MCP.

  • More questions about Grafana? See everything the Grafana Connector can do

Connect Grafana to Claude, Cursor, ChatGPT & more