Connect Grafana to AI agents

Connect Grafana to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

update_alert_rule

Update Alert Rule

Update an existing Grafana-managed alert rule. Provide the full updated rule configuration.

create_annotation

Create Annotation

Create a new annotation to mark an event on a dashboard or across the organization. Use for marking deployments, incidents, releases, or any noteworthy event on time-series graphs.

update_folder

Update Folder

Update a folder's title by its UID.

create_contact_point

Create Contact Point

Create a new contact point for alert notifications. Supports integrations like Slack, email, PagerDuty, webhook, Microsoft Teams, and more.

get_dashboard

Get Dashboard

Retrieve a dashboard by its UID, including the full dashboard model, metadata, folder information, and version history details.

find_annotations

Find Annotations

Search and filter annotations in Grafana. Annotations mark events on graphs such as deployments, incidents, or releases. Filter by time range, tags, dashboard, panel, or type.

delete_alert_rule

Delete Alert Rule

Delete a Grafana-managed alert rule by its UID. This stops all evaluations and notifications for this rule.

create_folder

Create Folder

Create a new folder for organizing dashboards. Optionally specify a parent folder UID for nested folders.

create_snapshot

Create Snapshot

Create a dashboard snapshot for sharing. Captures the current state of a dashboard including all panel data, enabling external sharing without Grafana access.

delete_annotation

Delete Annotation

Delete an annotation by its ID. This permanently removes the annotation from all dashboards.

create_data_source

Create Data Source

Create a new data source connection. Supports all Grafana data source types including Prometheus, Loki, Tempo, InfluxDB, PostgreSQL, MySQL, and more.

delete_folder

Delete Folder

Delete a folder and optionally all alert rules within it. Dashboards in the folder will also be deleted.

create_alert_rule

Create Alert Rule

Create a new Grafana-managed alert rule. Define conditions, evaluation queries, notification labels, and more.

remove_team_member

Remove Team Member

Remove a user from a team.

delete_data_source

Delete Data Source

Permanently delete a data source by its UID. Dashboards referencing this data source may break.

get_alert_rule

Get Alert Rule

Retrieve a specific alert rule by its UID, including full condition configuration, labels, and annotations.

update_org_user_role

Update Organization User Role

Change a user's role within the current organization.

get_team_members

Get Team Members

List all members of a team by team ID.

get_notification_policies

Get Notification Policies

Retrieve the notification policy tree that controls how alerts are routed to contact points. Shows the hierarchy of routing rules including matchers, grouping, and timing settings.

save_dashboard

Save Dashboard

Create a new dashboard or update an existing one. Provide the full dashboard model JSON. To update, include the existing dashboard UID and set overwrite to true. To create, omit the UID or set a new one.

update_notification_policies

Update Notification Policies

Update the notification policy tree. This replaces the entire routing configuration. Controls how alerts are routed to contact points based on label matchers.

add_org_user

Add Organization User

Add a user to the current organization with a specified role.

get_data_source

Get Data Source

Retrieve detailed information about a specific data source by its UID, including connection settings and configuration.

list_contact_points

List Contact Points

List all contact points configured for alert notifications. Contact points define where alert notifications are sent (e.g. Slack, email, PagerDuty, webhooks).

delete_contact_point

Delete Contact Point

Delete a contact point by its UID. Any notification policies referencing this contact point should be updated first.

list_folders

List Folders

List all folders in the Grafana instance. Folders are used to organize dashboards.

create_team

Create Team

Create a new team in the current organization. Team names must be unique within the organization.

list_alert_rules

List Alert Rules

List all Grafana-managed alert rules configured in the instance, including their conditions, evaluation intervals, and notification settings.

search_teams

Search Teams

Search and list teams in the current organization. Returns team names, member counts, and metadata.

add_team_member

Add Team Member

Add a user to a team by their user ID.

update_data_source

Update Data Source

Update an existing data source's configuration by its UID. You can update the name, URL, access mode, and other settings.

remove_org_user

Remove Organization User

Remove a user from the current organization.

search_dashboards

Search Dashboards

Search and list dashboards in Grafana. Supports filtering by query string, tags, folder, and starred status. Returns matching dashboards with their UIDs, titles, URLs, types, and tags.

delete_snapshot

Delete Snapshot

Delete a dashboard snapshot by its key.

list_snapshots

List Snapshots

List dashboard snapshots. Snapshots are point-in-time captures of dashboard data that can be shared externally without requiring Grafana access.

delete_dashboard

Delete Dashboard

Permanently delete a dashboard by its UID. This action cannot be undone.

list_data_sources

List Data Sources

List all configured data sources in the Grafana instance, including their types, URLs, and connection details.

delete_team

Delete Team

Delete a team by its ID. All team members will be removed from the team.

list_org_users

List Organization Users

List all users in the current organization with their roles. Shows login, email, and assigned organizational role (Admin, Editor, or Viewer).

update_annotation

Update Annotation

Update an existing annotation's text, tags, or time range.

get_team

Get Team

Retrieve a Grafana team by ID, including its name, email, and timestamps.

create_mute_timing

Create Mute Timing

Create a mute timing for Grafana alert notification policies. Use this to define reusable quiet hours or maintenance windows.

update_contact_point

Update Contact Point

Update an existing alert notification contact point by UID. Provide the full receiver configuration, including name, integration type, and settings.

list_mute_timings

List Mute Timings

List alert notification mute timings configured in Grafana. Mute timings define recurring time windows that notification policies can use to suppress alerts.

update_team

Update Team

Update a Grafana team's name and optional email address by ID.

create_playlist

Create Playlist

Create a Grafana playlist that cycles through dashboards selected by UID or tag.

delete_mute_timing

Delete Mute Timing

Delete a mute timing by name. Notification policies referencing it should be updated first.

list_playlists

List Playlists

List Grafana playlists. Playlists rotate through dashboards by UID or tag for wallboards, NOC displays, and recurring operational reviews.

update_playlist

Update Playlist

Replace an existing Grafana playlist definition. Provide the full desired title, interval, and item list.

delete_playlist

Delete Playlist

Delete a Grafana playlist by UID.

get_folder

Get Folder

Retrieve a folder by UID, including its title, URL, parent folder, and version metadata.

update_mute_timing

Update Mute Timing

Replace an existing mute timing by name. The provided intervals replace the current mute timing definition.

get_playlist

Get Playlist

Retrieve a Grafana playlist by UID, including its rotation interval and dashboard selectors.

get_mute_timing

Get Mute Timing

Retrieve a mute timing by name, including its configured recurring time intervals and provenance.

More integrations teams use with Grafana

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Heroku

Deploy, manage, and scale applications on Heroku's cloud platform. Create and configure apps, scale dynos, provision add-ons (databases, caching, etc.), manage configuration variables, build and release code, add custom domains and SSL certificates, manage collaborators and team permissions, configure pipelines for continuous delivery, set up log drains, and sync data with Salesforce via Heroku Connect. Subscribe to webhooks for real-time notifications on app changes, builds, releases, dyno lifecycle events, and more.

Technical notes for Grafana

Manage dashboards, data sources, alerts, and observability resources in Grafana. Create, update, search, and delete dashboards and folders. Configure data source connections (Prometheus, Loki, Tempo, etc.). Define alert rules, notification policies, contact points, silences, and muting rules. Create and manage annotations to mark events on graphs. Manage users, teams, organizations, and service accounts with role-based access control. Create and share dashboard snapshots. Manage playlists, library elements, and correlations between data sources. For Grafana Cloud, manage stacks, access policies, and cloud-level resources. Receive webhook notifications for alert state changes, OnCall escalation events, and incident lifecycle events.

Connect Grafana to production AI agents

See how Metorial gives Grafana access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Grafana to AI agents with Metorial.

  1. Can Metorial connect Grafana to AI agents?
    Yes. Metorial connects AI agents to Grafana through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.