Grafana MCP server provides access to Grafana instances and their surrounding ecosystem through the Model Context Protocol. Developed by Grafana Labs' Machine Learning team, it enables searching dashboards, fetching datasource information, querying Prometheus metrics, and managing incidents in Grafana Incident. The server supports both stdio and Server-Sent Events (SSE) transport modes, can be run locally or deployed as a Docker container, and authenticates using Grafana service account tokens. This implementation is particularly valuable for workflows requiring monitoring data analysis, metric exploration, or incident management directly within AI assistant conversations.
暂无评论. 成为第一个评论的人!
登录以参与讨论
List all teams.
List all users in an organization.
List all Grafana roles.
Get details for a Grafana role.
List assignments for a role.
List roles for users.
List roles for teams.
List permissions for a resource.
Describe a Grafana resource type.
Search for dashboards.
Get a dashboard by uid.
Update or create a new dashboard.
Get panel title, queries, datasource UID and type from a dashboard.
Execute one or more dashboard panel queries.
Extract specific parts of a dashboard using JSONPath expressions.
Get a compact summary of a dashboard without full JSON.
List datasources.
Get a datasource by UID or name.
Get example queries for a datasource type.
Execute a query against a Prometheus datasource.
List metric metadata.
List available metric names.
List label names matching a selector.
List values for a specific label.
Calculate histogram percentile values.
List incidents in Grafana Incident.
Create an incident in Grafana Incident.
Add an activity item to an incident in Grafana Incident.
Get a single incident by ID.
Query and retrieve logs using LogQL.
List all available label names in logs.
List values for a specific log label.
Get statistics about log streams.
Query detected log patterns to identify common structures.
Audit a Loki label strategy and optionally diagnose query performance.
Query InfluxDB using InfluxQL or Flux.
List tables in a ClickHouse database.
Get table schema with column types.
Execute SQL queries with macro substitution.
List available AWS CloudWatch namespaces.
List metrics in a namespace.
List dimensions for a metric.
Execute CloudWatch metric queries.
List available Athena data catalogs.
List databases in an Athena catalog.
List tables in an Athena database.
Get column names for an Athena table.
Execute SQL queries with macro substitution.
List tables in a Snowflake database/schema.
Get table schema (column types, nullability, defaults, comments).
Execute SQL queries with macro/variable substitution.
Query Elasticsearch or OpenSearch using Lucene syntax or Query DSL.
Query Quickwit using Lucene syntax or Query DSL.
List label names matching a selector.
List label values matching a selector for a label name.
List available profile types.
Query profiles, metrics, or both from Pyroscope.
Get assertion summary for a given entity.
Generate accurate deeplink URLs for Grafana resources.
Fetch annotations with filters.
Create a new annotation (standard or Graphite format).
Update specific fields of an annotation (partial update).
List annotation tags with optional filtering.
Render a stored dashboard or panel as a PNG image.
List provisioning repositories with their source URL, branch, sync state, and health.
Dry-run-apply a file from a provisioning repository and report admission validation errors.