Grafana MCP Server - Barndoor Documentation
Grafana
SecureBarndoor ManagedDevOps & Infrastructure
Summary: Monitor and visualize metrics, logs, and application data. Manage dashboards, datasources, alerts, and teams.
How Teams Use It: The Barndoor-managed Grafana MCP server enables agents to create and manage monitoring dashboards, query metrics from multiple data sources, and set up alerts and annotations, making it efficient for infrastructure monitoring and observability workflows.
Tools34
| Tool Name | Tool Description | Tool Type |
|---|---|---|
| addDataSource | Create a new data source with authentication and configuration options. Supports secure JSON fields for encrypted credentials. | Create |
| checkDatasourceHealthWithUID | Send a health check request to a datasource to verify it's accessible and functioning. | Read |
| createFolder | Create a new folder for organizing dashboards. Supports nested folders with parent folder specification. | Create |
| createTeam | Create a new team with optional email and name properties. | Create |
| deleteAnnotationByID | Delete an annotation by its ID. | Delete |
| deleteDashboardByUID | Delete a dashboard by its UID. This action cannot be reverted. | Delete |
| deleteDataSourceByUID | Delete a data source by its UID. | Delete |
| deleteFolder | Delete a folder and all its contents including dashboards and alerts. This action cannot be reverted. | Delete |
| deleteTeamByID | Delete a team by its ID. | Delete |
| getAnnotations | Query annotations in Grafana by various filters like time range, dashboard, panel, and tags. | Read |
| getCurrentOrg | Get information about the current organization context. | Read |
| getCurrentOrgQuota | Get quota information and limits for the current organization. | Read |
| getDashboardByUID | Retrieve a dashboard using its unique identifier (UID). | Read |
| getDashboardTags | Get all dashboard tags of an organization for filtering and organization. | Read |
| getDashboardVersionsByUID | Get all existing versions of a dashboard using its UID with pagination support. | Read |
| getDataSourceByName | Retrieve a data source configuration by its name. | Read |
| getDataSourceByUID | Retrieve a data source configuration by its unique identifier (UID). | Read |
| getDataSources | List all data sources available in Grafana. | Read |
| getFolderByUID | Retrieve a folder configuration by its UID. | Read |
| getFolders | List all folders in Grafana that the user has permission to view, with optional pagination and parent filtering. | Read |